Created
January 2, 2022 23:44
-
-
Save andrewhummus/7834725b4ddc1d804464a84d9e90b063 to your computer and use it in GitHub Desktop.
Simple db pooling explained in small graph
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+---------+ | |
| | | |
| Clients | | |
+---------+ | | |
| |-+ (1) +------+ (3) +----------+ | |
| Clients | ===#===> | Open | =======> | RealOpen | | |
| | | +------+ +----------+ | |
+---------+ | ^ | |
| | (2) | |
| /------\ | |
| | Pool | | |
| \------/ | |
(4) | ^ | |
| | (5) | |
| +-------+ (6) +-----------+ | |
#===> | Close | ======> | RealClose | | |
+-------+ +-----------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment