nodejitsu/node-http-proxy — Issue #132: Is reverse proxy in front of Apache for static content a bottleneck?
Author: clintharris
Created: 2011-10-17 17:41:52+00:00
State: open

Has Team Nodejitsu ever put node-http-proxy in front of static content servers--like Apache? If so, how do you set it up to proxy more than one request at a time for static files?

I've got it running as a reverse proxy on Windows in front of Apache (for static content) and Node, allowing my browser JS to avoid cross-domain requests. My concern is that http-proxy is a bottleneck when it comes to static content. For example, if a browser hits my site and opens multiple simultaneous connections for static files but http-proxy only proxies one conn at a time to Apache (because it's single-threaded).

How would you handle something like that? Multiple http-proxy instances, perhaps?

Thanks for any advice/tips.