SwitchUp SwitchUp Ranked Best Coding Bootcamps 2025

Why does brpop in Redis have a long response time (1s to 1.5s)?

Altcademy Team wrote on 7 February 2018

You want that behavior. That's what Redis is doing while it's waiting for work. It's a long running blocking operation because Redis can then tell your app about work as soon as it arrives.

Sources:

Trusted by

Students and instructors from world-class organizations

Join the upcoming Cohort #112

Enroll for April 6th, 2026