Matt - just wanted to address a couple of points you made:

1. With node.js clustering you get what is effectively a layer 4 load
balancer across the available cpu's on a single box. this is all being
handled by the OS and is insanely fast
2. Restarting a server gracefully is pretty easy with a little bit of
work
3. Recommending nginx as a reverse proxy in front on node.js for all
scenarios seems a bit OTT to me. reverse proxies add quite a lot of
latency to each request and introduce another point of failure into
the pipeline. if you want to use nginx for serving static files, then
you'd be better to serve your static from a separate host or port and
go directly to node.js for anything non-static. imho, a reverse proxy
should always be a last resort if no other solution is possible, and
this is partly why i'd like to node.js performance improve, so we can
put together simpler solutions that don't have multiple points of
failure
4. you mentioned issues with logging when clustering over multiple
cpu's? what exactly is the issue here and what does nginx do to solve
it?

here's a short list of what i'd like to see node.js become really good
at:

1) simple and fast static file serving out of the box
2) reverse proxying for TCP and HTTP
3) fastcgi for talking to PHP or AN/Other FastCGI backend (see:
https://github.com/billywhizz/node-fastcgi-parser)

anyway - i'll post some more benchmarks up here when i get the chance
and hopefully we can all make node.js better together.

On Feb 15, 10:14 pm, Matt <[email protected]> wrote:
> On Wed, Feb 15, 2012 at 5:12 PM, Matt <[email protected]> wrote:
> > 1) please don't benchmark Node against Nginx for static file serving
> > unless you're actively working to make it faster - that is a fools game as
> > Nginx will always be faster.
>
> I should have added in here, so more people don't get mad at me (sheesh,
> I'm taking a beating today!), that I don't mean making Node faster is a
> fools game. That's a wonderful thing to do and may you be rewarded with
> many beers (or your choice of non-alcoholic beverage).

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to