zhuo wrote:


I am not sure if I've understood your question.

If you have a queue and presumably that queue is built up chronologically, why would record 1 ever get processed after record 4?


I think he wants to separate the records by user ID so a single thread can handle a single user ID, and he wants to preserve the ordering.