摘要 |
Methods and systems for implementing multi-tiered processing in a distributed strict queue are disclosed. Original messages are dequeued from a first set of queues using a first layer of queue clients, each of which transforms a subset of the original messages into a transformed message and enqueues the transformed message into a second set of queues. The transformed messages are dequeued from the second set of queues using a second layer of queue clients, each of which summarizes a subset of the transformed messages into a summarized message and enqueues the summarized message into a third set of queues. The summarized messages are dequeued from the third set of queues using a third layer of queue clients, each of which aggregates a subset of the transformed messages into an aggregated message. A final result is generated based on the aggregated messages. |