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

Handle multiple requests in parallel #24

frosch123 opened this issue Apr 25, 2020 · 0 comments

Handle multiple requests in parallel #24

frosch123 opened this issue Apr 25, 2020 · 0 comments


Copy link

@frosch123 frosch123 commented Apr 25, 2020

Currently the frontend can only handle one request at a time, while waiting for the API.

Two solutions:

  • Make the front-end really state-less, so multiple instances can run in parallel. That is, store all session information in cookies. However, don't use Flask's default sessions. While they sign the data to prevent modification, they still expose somewhat-secrets like the API tokens. Encrypt the data instead.
  • Reimplement the frontend with aiohttp.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant