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

Software (Backend): Asynchronous writing of the data #98

Open
mlej8 opened this issue Feb 5, 2022 · 1 comment
Open

Software (Backend): Asynchronous writing of the data #98

mlej8 opened this issue Feb 5, 2022 · 1 comment
Assignees

Comments

@mlej8
Copy link
Collaborator

mlej8 commented Feb 5, 2022

Currently, the backend is doing a synchronous write for the collected data (e.g. the frontend is blocked until the backend is done writing BCI data). This slows down the collection process as the frontend needs to wait for the backend to be done writing before going on to the next collection. We can asynchronously write the data in the backend either using Celery Task Queue or asyncio. Need to investigate which solution would fit best in this scenario.

@mlej8
Copy link
Collaborator Author

mlej8 commented Feb 14, 2022

On pause for now (low priority as we've reduced the collection period)

@TheFloatingString TheFloatingString self-assigned this Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants