qroom
, the queue groomerqroom
helps manage unruly queues without altering your applications.
qroom
adds time-based queue grooming to AWS SQS queues, to complement the built-in receive-count queue grooming. The result is not a time-based priority queue, but it plays one on TV delivers some of the same benefits.
It's intended to be a useful tool instead of a comprehensive solution, so there are some assumptions and relaxed requirements which might affect suitability for your use:
qroom
uses an additional queue to hold older items.qroom
is most suitable when the existing system processing messages from the queue can't be easily scaled, maybe because of cost, algorithmic, or capacity issues.qroom
doesn't act as a pre-processing facade, but competes for all new messages. It is likely to catch old (stale) messages before your existing system can receive them, but this is not guaranteed.qroom
currently targets SQS only.qroom
is not suitable for FIFO queues, since it inherently breaks ordering.