3 ms·
> We maintain things like queue ordering by adding an ORDER BY clause in the query that consumers use to read from it (groundbreaking, we know). The dude's bei
by yarg 4y ago
> We maintain things like queue ordering by adding an ORDER BY clause in the query that consumers use to read from it (groundbreaking, we know).
The dude's being a bit too self-deprecating with that (sarcastic quip).
But there's valuable something buried there - if it is possible to efficiently solve a problem without introducing novel mechanisms and concepts, it is highly desirable to do so.
Don't reinvent the wheel unless you need to.
> You could set the prefetch count to 1, which meant every worker will prefetch at most 1 message. Or you could set it to 0, which meant they will each prefetch an infinite number of messages.
O what the actual fuck?
I'm really hoping he's right about holding it wrong, because otherwise ???