#connection-pooling

[ follow ]
fromhttps://daniel.feldroy.com
1 day ago

Using Asyncpg with FastAPI and Air

Asyncpg is the connector for PostgreSQL and asyncio-flavored Python. Here's how to use it without other libraries on FastAPI and Air projects. Recently I've been on a few projects using PostgreSQL where SQLAlchemy and SQLModel felt like overkill. Instead of using those libraries I leaned on writing SQL queries and running those directly in [asyncpg](https://pypi.org/project/asyncpg/) instead of using an ORM powered by asyncpg. Here's how I got it to work
Python
fromMicrosoft for Python Developers Blog
3 months ago

Announcing Full Cross-Platform Support for the mssql-python Driver - Microsoft for Python Developers Blog

Full support for all three major operating systems—Windows, macOS, and Linux—marks a significant leap forward in providing seamless and performant connectivity to Microsoft SQL Server.
Software development
fromPeterbe
3 months ago

Native connection pooling in Django 5 with PostgreSQL - Peterbe.com

Adding 'OPTIONS': {'pool': True}, to the DATABASES['default'] config made this endpoint 5.4 times faster.
Django
fromRubyflow
5 months ago
Ruby on Rails

Understanding Active Record Connection Pooling

Rails connection pooling optimizes database operations by reusing active connections for improved performance during increased load.
[ Load more ]