Re:Show HN: Easy-to-configure Web Server in Go
by justinsb on Saturday July 27, 2013 @12:05PM
(#6113375)
Did you benchmark your node.js version? I would love to know how node stacks up here.
I agree that static serving is not as interesting, but it is useful to be able to serve up a fail-whale page!
Re:Show HN: Easy-to-configure Web Server in Go
by stevekemp on Saturday July 27, 2013 @12:29PM
(#6113472)
Honestly I never have. Because in practise it is fast enough that it just didn't come up.
I'm sure that if I were to pimp the project properly then that would be a good thing to do, but half the fun of my proxy is to allow "interesting" rewrites, dynamically.
To benchmark I'd be too tempted try to game the results by doing a straight pass-through comparison to mod_proxy, nginx, etc. That would lose half of the appeal of the project in the first place.
Re:Show HN: Easy-to-configure Web Server in Go
by oakaz on Saturday July 27, 2013 @01:44PM
(#6113727)
In my experience, NodeJS was slow. I first write a boxcars-like server in NodeJS; http://github.com/azer/door
and here is the benchmarks of it; https://gist.github.com/azer/5946227
I wrote a flexible reverse proxy[0] using node.js, a year or so ago, and haven't missed the ability to serve static files directly - so I'm wondering what the use-case for that is? I guess proxying to rails, or similar?
0- http://steve.org.uk/Software/node-reverse-proxy/