Replies: 1 comment
-
No, you have some things wrong. You seem to be confusing user sessions with sticky sessions and these are completely different things. The user session, is where you store client specific data. The sticky sessions are a configuration setting for your load balancer. I would rewrite your analysis as follows:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i want to clarify something about the use of sticky session.
i'd be glad if you can tell me if these statements are correct
one worker:
multiple works:
manage_session=True
, and because flask-socketio uses memory to store client session then i do need stick sessions.manage_session=False
, and use Flask-Sessions with redis for example to manage client sessionsbut allow http polling for websockets connections then i still need sticky sessions for http polling.
manage_session=False
, and use Flask-Sessions with redis for example to manage client sessionsand permit only websocket connections (without long polling) then i also don't need sticky session?
Beta Was this translation helpful? Give feedback.
All reactions