Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

save session id in redis #66

Closed
njustus opened this issue May 17, 2019 · 1 comment
Closed

save session id in redis #66

njustus opened this issue May 17, 2019 · 1 comment
Labels
backend backend related

Comments

@njustus
Copy link
Member

njustus commented May 17, 2019

.. and not in memory. The SessionService is already stateless so no need to save the reference.

Not only save the session id, save the mope endpoint address too.. So there is no need for a name service (#67) because the address is already known:

save at webmodelica::sessions::1234-5678-78901

id: 1234-5678-78901
project-id: 98
project-path: http://mope-service-1:9020/mope/project/98
@njustus njustus added the backend backend related label May 17, 2019
@njustus
Copy link
Member Author

njustus commented May 17, 2019

When the session is saved into redis.. document it somewhere ..

njustus pushed a commit that referenced this issue May 20, 2019
njustus pushed a commit that referenced this issue May 20, 2019
@njustus njustus closed this as completed May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend backend related
Projects
None yet
Development

No branches or pull requests

1 participant