New example: round robin balancer with websockets #339

Closed
wants to merge 2 commits into
from

Projects

None yet

2 participants

@oost
Contributor
oost commented Nov 26, 2012

Added a new example with round robin balancing and websocket support

I did also change the underlying object used from RoutingProxy to HttpProxy by creating an object for each target address and then picking the next proxy for each request.

@indexzero
Member

@oost Nice. Will try to get this merged in soon. Thanks for the example!

@oost
Contributor
oost commented Nov 29, 2012

Here is how to test the example: https://gist.github.com/4179532

With this setup, the websocket handler in the cloned server needs to have a persistent backend for handshake to work...

@indexzero
Member

Cherry-picked. Thanks.

@indexzero indexzero closed this Mar 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment