Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to scale gevent-socketio server?

I'm planning to build a realtime service with gevent-socketio (released by Jeffrey Gelens). For some purposes, I need to scale my service with many gevent-socketio servers. I think it can be used as a reverse proxy (like nginx) for distributing requests across multiple Comet servers and use another server as a central session datastore, is it right?

I'm trying to modify gevent-socketio source code, but it's rather hard for me.

like image 643
Nguyen Trong Nhan Avatar asked Nov 14 '22 22:11

Nguyen Trong Nhan


1 Answers

I think haproxy is most appropriate for proxying in this manner. You're on the right track with your approach.

like image 169
tmc Avatar answered Dec 20 '22 22:12

tmc