Welcome! Log In Create A New Profile

Advanced

FastCGI - implementation

Posted by Anonymous User 
Anonymous User
FastCGI - implementation
May 13, 2013 07:20AM
PHP-FPM is an externally spawned FastCGI-aware process.

Over one fastCGI transport connection PHP-FPM can handle multiple
concurrent requests.
Web server does not have to spawn new processes with PHP FCGI, PHP-FPM will
spawn and control if necessary.


Going into details ....

Using FastCGI on *nix platform ones can handle concurrent requests that way:

socket() / bind() / listen()

// BEGIN thread 1
accept()
// END thread 1

// BEGIN thread 2
accept()
// END thread 2


I'm wondering is it possible, on windows platform, to handle multiple
concurrent fastcgi requests with only one process and multiple threads in
it (or with one management process and multiple spawned children) ?

Can FastCGI module for IIS handle fastCGI application that way ?
Let's focus on pipes and leave tcp kind of sockets for a moment...


Does anyone can point me in to the right direction.

Is it possible on Windows (without Cygwin, etc...) at all ?

I don't want to investigate if it's possible with PHP-FPM but if it's
possible at all.

Any help appreciated.

/Adam

--

---
You received this message because you are subscribed to the Google Groups "highload-php-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 235
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready