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

Open
frosch123 opened this issue Apr 25, 2020 · 0 comments
Open

Handle multiple requests in parallel #24

frosch123 opened this issue Apr 25, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@frosch123
Copy link
Member

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.
@frosch123 frosch123 added the enhancement New feature or request label Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant