|
Kelly,
You seem to be headed down the right path. Your rationale for using NGINX
or Apache as a reverse proxy sounds reasonable. You can configure the
Apache server to forward requests to say a pool of Node.JS servers, if
that's what you're thinking.
You never mentioned any interest in web socket support. Web sockets would
be a good use of Node.JS, and something that I'm interested in. But you may
have other interests.
For those of us who are interested in supporting web socket clients, I
would use the web sockets interface to connect directly to a Node.JS
server, rather than attempting to pass through a separate HTTP server
instance.
I have been reading more about NGINX, none of which has convinced me that
the architecture performs or scales any better than Apache. In fact, it
seems less scalable, especially with regards to static content.
The NGINX event-loop is just terminology for establishing a connection and
sending an HTTP request to a server. Apache uses a thread pool to manage
connections, while NGINX apparently uses something of a queue methodology,
to channel requests to separate processes (JOBS).
Nathan.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.