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

Question: aiosqlite vs thread using sqlite3 Python driver #298

Open
beyonlo opened this issue May 6, 2024 · 2 comments
Open

Question: aiosqlite vs thread using sqlite3 Python driver #298

beyonlo opened this issue May 6, 2024 · 2 comments

Comments

@beyonlo
Copy link

beyonlo commented May 6, 2024

Hi all

  1. What is advantage to use aiosqlite over a normal (blocking) sqlite3 Python driver in another thread?
  2. What is advantage to use to use a normal (blocking) sqlite3 Python driver in a another thread over aiosqlite?

Thank you

@ArtemIsmagilov
Copy link

@beyonlo
Thanks to this package, you can quickly pre-construct models and cruds with async sqlalchemy. After successful tests, switch from aiosqlite driver to production postgres asyncpg. However, I know about heated discussions related to asynchrony in sqlalchemy

@beyonlo
Copy link
Author

beyonlo commented May 13, 2024

@ArtemIsmagilov I think that you answered the wrong person. My question is not about sqlalchemy.

Thank you.

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