Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What were people using previously? Just plopping their node.js or whatever straight on the network?


I use python's Tornado webserver directly on the network. Don't know if it's the best idea, but seems to work fine for my purposes.


I've had good results so far with node-http-proxy:

https://github.com/nodejitsu/node-http-proxy/

Easy to set up, and has the benefit of reducing the number of processes I need to maintain (my node server and my proxy server are the same).


Hey... saw your comment here http://news.ycombinator.com/item?id=5172775 about the work you did on unrolling arrays in mongo_fdw. Any chance you can email me about it (that thread is closed). username @ gmail.com


We are using HAproxy to direct traffic and nginx only as a web server. The config looks something like this: http://stackoverflow.com/a/8640394/218413


HAProxy has had Websocket support for a while now. But other than that, you can run run on the same domain without a proxy by just using a different port.


Something like varnish or haproxy. In my setup I had varnish proxying "/websocket" directly to my app server, and everything else to nginx.


There was two main options

1. Run nginx with something like HAProxy/Varnish infront

2. Run nginx alone with the app server on port 80/443 and the websocket server running on a special port. The app was then proxyed using the built in http_proxy, while the websocket was handled by tcp_proxy.


I've been using HAProxy in the interim.


Varnish and HAproxy




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: