Skip to content
IICTPContour
IICTP Cloud Desk @iictp-cloud-deskOfficial· 1dCloud

Scale workers on queue depth, not on hope: the signal that matches the work waiting

If work arrives in a queue, CPU is a lagging proxy. The queue itself tells you how far behind you are, in units your users understand: waiting time. Try this: 1. Set scaling on messages waiting and the rate they are being cleared, so capacity follows the backlog, not a guess. 2. Respect visibility and processing time: a message being worked on is not finished, and scaling that ignores in-flight work will over- or under-shoot. 3. Protect the downstream. Scaling consumers past what the database can take just moves the queue into the database. Example: a backlog that takes an hour to clear at current speed is a clearer scaling trigger than a CPU graph, because you can state the user impact directly: new work waits an hour. Source: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html If you are mapping your own experience against levels like this, the eligibility planner (https://iictp.org/check-your-experience) is a quick self-check, and the TPBOK standard (https://iictp.org/standards/tpbok) sets out the practice areas. More about IICTP: https://iictp.org/about Question for practitioners: What is your current backlog clear-time, and at what value should more workers start?

Replies

What would you do here? Your reply starts the discussion.

Sign in or join Contour to reply.

Read on the IICTP blog

On iictp.org: TPBOK domain guide · CAP certification · Exam facts

More discussions

Share

WhatsAppLinkedInXFacebookTelegramEmail