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

Maybe the thread pool should no longer be used for reading and writing files? #819

Closed
abersheeran opened this issue Feb 6, 2020 · 1 comment · Fixed by #933
Closed

Comments

@abersheeran
Copy link
Member

abersheeran commented Feb 6, 2020

I read performance check in mosquito/aiofile#18. Compared to synchronization overhead, it seems that the overhead of the thread pool is greater, maybe we need some performance tests.

And I noticed that aiofiles has not responded to any questions or requests from the community for ten months, which is dangerous. If you insist on reading and writing files asynchronously, maybe starlette should be switched to aiofile?

If there is any need to modify this, I will be happy to do it.

@abersheeran
Copy link
Member Author

Tinche/aiofiles#47
Someone has done a performance test here, maybe small file reading and writing should really give up using the thread pool?

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

Successfully merging a pull request may close this issue.

1 participant