Creating Redis connections using Object Pool Design Pattern in Golang

Anushree Singh
2 min readAug 2, 2020

The Object Pool Design Pattern is a creational design pattern in which a pool of objects is initialized and created beforehand and kept in a pool. A client can request an object from the pool, use it, and return it to the pool as an when needed. The object in the pool is never destroyed. This design pattern offers a mechanism to reuse objects that are expensive to create…

--

--