1
vote
1answer
352 views

high traffic websocket/haproxy tuning

i have a pubsub application (mostly chat but some other goodies being pub-ed and sub-ed too) running on node & socket.io. i'm load testing this app by spinning up some other, real large, boxes ...
1
vote
1answer
622 views

socket.io session ends with HAproxy

i'm still with dealing with the configuration of HAproxy to make it work with socket.io. my last question was this: HAProxy is caching the forwarding? and i got it working, but for some reason, after ...
1
vote
1answer
222 views

HAProxy is caching the forwarding?

i'm trying to set up a server structure for an application i'm building in Node.js with socket.io. My setup is: HAProxy frontend forward to -> apache2 as default backend (or nginx, is ...
3
votes
1answer
122 views

Appears to be “randomly” switching between the acl matched backend and the default backend

I have HAProxy acting as a proxy in front of: An NGinx instance An in-house load balancer in front of multiple dynamic services exposed with socket.io (websockets) My problem is that from time to ...
1
vote
1answer
449 views

Nginx + SSL + Rails + Juggernaut (Node.js) + Engineyard

I have two different applications on the same server. One of them is running on the 80 port (mydomain.com), another on the port 443 (sub.mydomain.com) and has wildcard certificate. The first ...
1
vote
1answer
1k views

haproxy domain routing

I am trying to set up haproxy to route to backends depending on the the subdomain that was used in the http request. Eg I have a regular web server running on port 8000 and an application server ...
5
votes
1answer
2k views

Haproxy load balancing with HTTP Headers

We're using HAProxy to load balance our websocket and comet application. There is one HAProxy and 3 applications running in the back. We use HTTP Basic Auth (and we will use other types of auth in ...
3
votes
2answers
2k views

Nginx, HAproxy, Unicorn, Rails and Node settings

Our application is currently only a "regular" web app, with no fancy things like streaming HTTP or websockets. It's mostly a Rails app, served by a few (20 on 2 machines) Unicorn workers, proxied by a ...