WebSocket with scalability
Benoit Perroud
benoit at noisette.ch
Tue Aug 9 01:49:07 EDT 2011
In the scenario of scaling websocket, using any software proxy won't
scale to more than 64'000 connections, which is the number of port
(ipv4) the proxy can open to forward incoming connection to processing
nodes.
If this limitation is ok for you, then in order HAProxy, nginx or
apache will do the job.
Another idea is described here
(http://serverfault.com/questions/268597/what-is-a-typical-method-to-scale-out-a-software-load-balancer/289322#289322)
and rely on a firewall configuration to balance incoming connections
directly to the processing nodes, without intermediate proxy.
2011/8/9 Bo Hu <fcinter at gmail.com>:
> I think HAProxy will fit the scenario of websocket.
>
> On Tue, Aug 9, 2011 at 6:27 AM, Dustin Norlander <dustinn at gmail.com> wrote:
>>
>> Unless things in apache have changed drastically recently it's not
>> going to help you with websockets at all. (nor will Nginx). You can
>> loadbalance using amazons elastic load balancers if your servers live
>> in the amazon cloud.
>>
>> I'm curious to hear any other websocket loadbalancing ideas.
>>
>> best,
>> Dustin
>>
>>
>>
>> On Mon, Aug 8, 2011 at 6:07 AM, Dennys Fredericci
>> <dennysfredericci at gmail.com> wrote:
>> > Hi Guys!
>> >
>> > I have plans to develop a WebSocket server for my platform, but i need
>> > help about scalability.
>> >
>> > How can i scale in other machines?
>> >
>> > I think Apache with mod_proxy_balancer can help-me, but i dont have
>> > any experience with mod_proxy_balancer...
>> >
>> > Is this the way? Has other good tool to help-me?
>> >
>> > Thanks! Have a nice day!
>> >
>> > Dennys Fredericci
>> > _______________________________________________
>> > netty-users mailing list
>> > netty-users at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/netty-users
>> >
>> _______________________________________________
>> netty-users mailing list
>> netty-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/netty-users
>
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
More information about the netty-users
mailing list