Connection management

From rnavarych/alpha-engineer · View interactive version

Connection management is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. Connection pooling and management across all engines. PgBouncer (transaction/session/statement mode), pgcat (Rust-based, load balancing, sharding), ProxySQL (MySQL query routing, caching), HikariCP (Java), application-level pooling (Prisma, SQLAlchemy, GORM, database/sql). Serverless connection stra

How to use this skill

Skill file

Connection Management

Why Connection Pooling

Reference Files

Load from references/ based on what's needed:

references/pgbouncer-proxysql.md

PgBouncer pool modes (transaction/session/statement), full pgbouncer.ini config, admin console monitoring commands.

pgcat Rust-based alternative with read/write routing config.

AWS RDS Proxy overview.

ProxySQL MySQL read/write splitting with hostgroups and query routing rules.

Serverless strategy comparison table (Prisma Accelerate, RDS Proxy, Neon, Supabase, Hyperdrive).

Load when: configuring PgBouncer, pgcat, ProxySQL, or serverless connection proxies.

references/app-pooling-sizing.md

Application pool configuration: node-postgres, Prisma, SQLAlchemy, HikariCP (Java), database/sql (Go).

Pool sizing formula: (core_count * 2) + spindle_count with worked examples.

Connection leak detection queries for PostgreSQL and MySQL.

Leak prevention checklist.

Load when: configuring pools inside application code or diagnosing connection leaks.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.