Reputation: 1143
I need to implement a site (HAProxy -> Varnish -> nginx -> uWSGI -> Pyramid, gevent-socketio, gevent -> Cassandra) over clustered environment with various servers and DBs, what would be the best session management technique I can use. I understand that gevent-socketio makes session management difficult and I am not sure if Beaker, memchached or any other has/will have support for it.
memcached with a central server to handle sessions (I am not expecting too much load initially)
Replication of sessions to each node (I suppose Redis or Cassandra may be able to support replication out of the box)
cookie-only session (I think it's risky)
A session management solution supported by Pyramid, with support for Cassandra and capable of working with gevent-socketio would be cool.
Upvotes: 1
Views: 747