Menu

📰
0

Why queues don’t feel “instant” in real backend systems?

DEV Community: redis·Swan·about 1 month ago
#IISth8ED
#dev#worker#queue#timing#everything#actually
Reading 0:00
15s threshold

When I first learned about queues and background workers, I imagined something like this: request comes in job goes into queue worker picks it up immediately done In my head, everything was basically instant. But when you actually run a real system, it doesn’t behave like that. There is always a gap Between: pushing a job into the queue and a worker picking it up There’s always a small delay. Sometimes tiny. Sometimes noticeable. And that gap changes how the system feels . Why that matters That delay is what makes things like: async processing feel “slow” sometimes jobs appear “stuck” ordering behave differently than expected For example: you upload something nothing seems to happen for a moment then suddenly everything completes That’s not a bug. That’s how the system actually works. Seeing it vs imagining it This is hard to understand just by reading or coding.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More