From my understanding of the SCGI specification, an SCGI server can only handle one request at a time. Is it true that SCGI servers can only handle one request at a time?
How do I work around this limitation, so that a web application served using SCGI is able to handle more than one request at a time?
I thought about starting more than one SCGI server. For example, if I start two SCGI servers listening at 127.0.0.1:8000
and 127.0.0.1:8001
respectively, I could configure the NGINX web server like this:
upstream myservers {
server 127.0.0.1:8080;
server 127.0.0.1:8001;
}
location / {
include /etc/nginx/scgi_params;
scgi_pass myservers;
}
Does this method actually allow my web application to serve more than one request at a time?