makaku6232
makaku6232
CDCloudflare Developers
Created by makaku6232 on 3/4/2024 in #workers-help
Performance: Sequential queue processing instead of parallel (horizontal scaling)
I recently converted a piece of logic into multiple workers, hoping to improve performance drastically by separating the logic in simple repeatable workers. Im processing a list of data and passing this to the next worker using Queue [binding]. What i'm seeing as that the queue is being processed message per message instead of in parallel => concurrent => horizontal scaling. I'm having a hard time figuring this out. I've tried: - seperate messages - batches - batch sizes Can anyone help me find the problem?
9 replies