Welcome! Log In Create A New Profile

Advanced

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

July 19, 2013 10:05PM
Consider Comet application (aka long-polling Ajax requests). There is no CPU-load since most of the time application just waits for some event to happen and nothing is being transmitted. Something like chat or stock monitoring Web application used by thousands of users simultaneously.

Every request (one socket/one port) would generate one connection to backend (another socket/port). So each request would take two sockets or theoretical limit is approximately 32K simulteneous requests. Even using keep-alive feature on backend side does not help here since connection can be used by another request only after current one is fully served.

With FastCGI connection multiplexing we can effectively serve twice as many requests/clients.

Of course, there are applications that are limited by other resources rather that sockets/ports.

Is it really so difficult to implement?

P.S. I remember when some people were saying that keep-alive feature for FastCGI backends side would be pointless.

P.P.S. English is not my first language. Please accept my sincere apologies for making offencive statement. I did not mean to do so.
SubjectAuthorPosted

Why Nginx Doesn't Implement FastCGI Multiplexing?

zjerryjMarch 09, 2013 09:44AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

Maxim DouninMarch 11, 2013 08:14AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 19, 2013 09:02PM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

B.R.July 19, 2013 09:28PM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 19, 2013 10:05PM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 19, 2013 10:50PM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 19, 2013 10:59PM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 19, 2013 11:07PM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

B.R.July 19, 2013 11:42PM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 19, 2013 11:55PM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

B.R.July 20, 2013 12:12AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

Igor SysoevJuly 20, 2013 12:28AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 20, 2013 12:36AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 20, 2013 12:41AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 20, 2013 12:43AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 20, 2013 01:02AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 20, 2013 12:51AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

Igor SysoevJuly 20, 2013 12:42AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 20, 2013 12:50AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

GreenGeckoJuly 20, 2013 01:02AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

Igor SysoevJuly 20, 2013 01:02AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 20, 2013 01:05AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 20, 2013 01:11AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

Igor SysoevJuly 20, 2013 01:10AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 20, 2013 01:23AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 20, 2013 01:25AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

Igor SysoevJuly 20, 2013 01:44AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 20, 2013 03:52AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

momycJuly 20, 2013 04:17AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

Igor SysoevJuly 20, 2013 05:20AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

DevNginxOctober 04, 2013 09:43AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

Maxim DouninOctober 04, 2013 12:50PM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

DevNginxOctober 05, 2013 11:12AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

Wter S.September 14, 2014 03:24PM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

Maxim DouninSeptember 15, 2014 06:44AM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

Wter S.September 15, 2014 12:18PM

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

Maxim DouninSeptember 16, 2014 08:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 61
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready