Hello!

On Sun, Sep 14, 2014 at 09:22:48PM +0200, Wter S. wrote:

> Question about FastCGI: How it handle simultaneous connections with one 
> process when PHP itself is blocking language ? What if I have something 
> "sleep(100)" . Wont it block the process for the other users ?
> Thanks

FastCGI doesn't imply PHP (and, actually, PHP doesn't imply 
blocking as well - there are some event-driven PHP frameworks out 
there).

As of now, implementation of the FastCGI protocol in PHP doesn't 
support FastCGI multiplexing at all, and that's one of the reasons 
why nginx doesn't implement FastCGI multiplexing as well.  Quoting 
the message you've replied to:

> > ...  Another reason is that multiplexing isn't
> > supported (and probably will never be) by the major FastCGI
> > application - PHP.

-- 
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to