System Design Patterns: From Fundamentals to Real Systems
Vote

0% completed

​

Database Connection Pooling

09:40:31 LOG: connection authorized: user=storefront database=store 09:40:31 LOG: connection authorized: user=storefront database=store 09:41:07 FATAL: sorry, too many clients already 09:41:07 FATAL: sorry, too many clients already 09:41:08 FATAL: sorry, too many clients already

These lines come from the store's Postgres database on the morning of the flash sale. At 9:40 AM, the calendar started 40 storefront servers so that the fleet would be ready when the sale opened at 10:00. Each server opened 20 connections to the database as it started

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content