Jump to content

FastCGI One At A Time?


Guest

Recommended Posts

Im getting into fastcgi and im really loving the possibilities but from my point of view it looks pretty linear like it can only process one thing at a time? Is that true?

 

Im worried if I server up large files would it have to wait for one to finish before the next one starts? I would use fcgi to send files because I need to add a security layer.

Link to comment
https://forums.phpfreaks.com/topic/256544-fastcgi-one-at-a-time/
Share on other sites

I know im on phpfreaks but I posted in the other software section im not talking about php im talking about fastcgi and fastcgi uses the same process for multiple requests thats where my concern is does it have to wait for the first request to finish before it moves on to the second one?

 

I've never used FastCGI so I'm not well versed in it.  This is just my understanding of the process, not sure on it's accuracy.

 

uses the same process for multiple requests thats where my concern is does it have to wait for the first request to finish before it moves on to the second one?

 

FastCGI does re-use the same process for requests yes, but it does not use the same process for all requests.  It will spawn several processes which all process requests as they come in.  FastCGI will distribute the requests among all these processes as they come in so there shouldn't be any, or much anyway, waiting around for requests to complete.

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.