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

Measure SQLAlchemy 1.4 using async code and asyncpg driver #12

Open
teemuy opened this issue May 5, 2021 · 3 comments
Open

Measure SQLAlchemy 1.4 using async code and asyncpg driver #12

teemuy opened this issue May 5, 2021 · 3 comments

Comments

@teemuy
Copy link

teemuy commented May 5, 2021

Would be interesting to see how SQLAlchemy 1.4.13+ compares when using the new asyncio support.

SQLAlchemy 1.4 was heavily revamped to support async/await, and the API was cleaned up too in preparation for release 2.0 which will drop Python 2.x support. Also perf optimizations, such as 30% speedup for small queries.

https://docs.sqlalchemy.org/en/14/orm/extensions/asyncio.html
https://docs.sqlalchemy.org/en/14/changelog/migration_14.html#change-3414

@ericsouza
Copy link

ericsouza commented Jun 9, 2021

Compare with piccolo orm would be nice too

@WP-LKL
Copy link

WP-LKL commented Mar 20, 2022

Bump. This is the key reason to utilize Tortoise over SQLAlchemy where it now is in beta.

@teemuy
Copy link
Author

teemuy commented Mar 21, 2022

Just noticed that this had already been added just before I opened this request, but the PR #11 is still unmerged for some reason.

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

3 participants