Skip to content

Improve performance and scalability with connection pooling

Stateless runtimes like PHP don't do connection pooling by default. This means that for every request a new connection has to be made to a database or message queue.

By keeping a pool of active connections, the connection time can be reduced which speeds up requests and improves scalability.

Source

  • Improve database performance with connection pooling
  • AMQProxy

#published

Links to this note

These notes are unpolished collections of thoughts, unfinished ideas, and things I want to remember later. In the spirit of learning in public, I'm sharing them here. Have fun exploring, if you want!
© 2022 by Adrian Philipp