How to reduce latency with Connection Pools
ฝัง
- เผยแพร่เมื่อ 5 ส.ค. 2024
- In this lecture from the Cockroach University course “Getting Started with Node.js and node-postgres” (university.cockroachlabs.com/) you will learn how to reduce latency with connection pools.
In this lecture, we will be introducing connection pools. We'll explain what a connection pool is, and why it is important. We'll discuss how connection pools can be used to create a more "predictable" amount of load when compared to some alternative approaches.
00:00 Introduction
00:11 How to connect a database to a driver
00:58 What is the cost of connection pooling?
1:33 How to handle spikes in loading
2:17 How to reduce latency with Connection Pools
2:44 How to reuse connection pools
3:11 How to limit connection pools
#cockroachdb #distributedsql #ConnectionPools #developer
Related Connection Pool content:
[Blog] What is connection pooling and why should you care: www.cockroachlabs.com/blog/wh...
[Docs] Connection Pooling in CockroachDB: www.cockroachlabs.com/docs/st... - บันเทิง
Great explanation, thank you
Thanks for watching Giorgos!
Awesome explanation, thank you!
You're very welcome!