Skip to content
This repository has been archived by the owner on Jan 19, 2020. It is now read-only.

Allow using custom Session class #32

Open
meetwudi opened this issue Oct 14, 2016 · 1 comment
Open

Allow using custom Session class #32

meetwudi opened this issue Oct 14, 2016 · 1 comment

Comments

@meetwudi
Copy link
Contributor

Current Session class stores user context in memory. This is legit when we are only serving bot on single machine. Once we are going to serve it onto multiple servers behind load balancer, we should allow user to implement their own Session logic to utilize Redis, Memcache etc.

@jcampbell05
Copy link
Collaborator

@tjwudi Yeah we need to implement implementations for Redis.

The Session is a bit of a weird class right now and in theory some of its behaviour could be handled by the Bot or the Client.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants