wendy0402
wendy0402

Reputation: 495

Do We need connection pool for redis client

Redis is single threaded so do we need to setup connection pool for our redis client apps? I see several libraries use connection pool for redis such as sidekiq, but does it really needed?

Upvotes: 0

Views: 570

Answers (1)

pratyahara
pratyahara

Reputation: 183

Redis server is single threaded. It makes a lot of sense to keep it busy with clients sending multiple requests instead of blocking by making a single request at a time.

Upvotes: 0

Related Questions