I don't have any plans to write a book or make a course at the moment, my consulting business keeps me quite busy! But thank you for saying so, I appreciate your support, and I'll keep it in mind for the future.
I really love your videos! I started watching back when you mostly did short Python and C++ videos, and watched them even though I knew most of it already, mostly because of the clear way you presented things, and it allowed me to gain an even better understanding of it. Thank you! EDIT: Now, you increasingly cover topics that are a bit new to me, but you cover it so well that I immediately understand. You're a great teacher!
You mostly won't use ASGI directly, but I think you should use a connection pool (for example sqlalchemy comes with one already) and get a connection from it when you need it. Since requests would be performed concurrently you can't use single connection (most dbs, e.g. postgres don't support performing multiple operations concurrently on a single connection).
Are you by any chance writing a book about python or creating a course? I would 100% buy anything that was created by you.
I don't have any plans to write a book or make a course at the moment, my consulting business keeps me quite busy! But thank you for saying so, I appreciate your support, and I'll keep it in mind for the future.
I really love your videos!
I started watching back when you mostly did short Python and C++ videos, and watched them even though I knew most of it already, mostly because of the clear way you presented things, and it allowed me to gain an even better understanding of it.
Thank you!
EDIT: Now, you increasingly cover topics that are a bit new to me, but you cover it so well that I immediately understand. You're a great teacher!
Where is the better place to store a database connection: as a global variable or as a member variable of the application object ?
You mostly won't use ASGI directly, but I think you should use a connection pool (for example sqlalchemy comes with one already) and get a connection from it when you need it. Since requests would be performed concurrently you can't use single connection (most dbs, e.g. postgres don't support performing multiple operations concurrently on a single connection).
thank you!
nice video
Letsgoo
That was... Fast 😢 But stick to your plan if you think this is better! Though I really enjoy your godlike videos and wish it was a little bit longer😅
fIsrt!
Why so many ho-bots here only 12 minutes after the video went live? sigh.
Leave my GF alone!
I thought you were joking when you said "thanks for watching..." But no 🥲