Connection Pool

Domain: Gateway & Platforms

Motivation

The connection pool manages multiple platform connections efficiently, reusing connections instead of making new ones.

Concrete Example

Hermes keeps 5 Telegram connections in a pool. When a message arrives it uses a free connection instead of opening a new one.

Analogy

Like a carpool: instead of everyone driving separately, you share rides to save resources.