#connection-pooling

[ follow ]
Java
fromMedium
3 weeks ago

Spring Boot Defaults You Forgot to Change-And Now Regret (Practical, No Theory)

Spring Boot production defaults (Tomcat threads, HikariCP connections) can cause blocking, queued requests, and latency spikes; tune thread and DB pool sizes for production.
fromhttps://daniel.feldroy.com
4 months 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
7 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
7 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
9 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 ]