unix的进程pooling是如何实现的

unix的进程pooling是如何实现的,比方说我使用C操作Oracle,建立起几个进程连接,一旦探测到客户访问的到来就分配一个连接给它,一旦客户Byebye,就把这个连接保存在池里面
这样的过程使用怎样的系统调用呢?
---------------------------------------------------------------

预先将各进程启动,接下来的动作如下:
client request------>listener(get socket handler)
listener dispatch------->process 1( send socket handler through pipe)
process 1 send responses to client
process 1 idle

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus