Re: FastCGI multithread programming problems
David Birnbaum <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Can one of our thread programmers comment on this? In general terms, it seems like there can always a be a thread with the mutex for accept(), meaning that as long as another worker thread can take over when one worker receives a request, it should work fine. Does anyone else know differently? Cheers, David. ------------------------------------------------------------------------ Harvy Chen wrote: > Dears, > I'm developping a project which has a communication channel(based on > HTTP protocol) to recevie request from clients(Maybe million clients), > the platform is under linux, > now i'm trying use FastCGI to provide a high performance process > capacity, I wonder know if the fastcgi can support multi-threads, i > means in one cgi process, > i create a thread pool to handle the request, But i looked up in the > internet, found that just one rquest will transport to a cgi process > to handle at the same time, > means the thread pool will be useless. Maybe i'm wrong, will anybody > can give me correct answer? > > If the fastCGI can support aync processing, it's perfect to me. > ------------------------------------------------------------------------ > > ___________________________________ > fastcgi-developers mailing list > http://fastcgi.com/fastcgi-developers/ > ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/