So, for small (but critical nonetheless) use cases, do any of you use your own custom built queues on top of a database?
So, for small (but critical nonetheless) use cases, do any of you use your own custom built queues on top of a database?
My usage is much lower than that but I want to target that number.
Works great and reliably so far. I think our current volume is on the order of 100-1000 req/sec. We'll likely switch to graphile-worker when we need more performance, but we're all about avoiding premature optimization. That library has been benchmarked to handle 10k req/sec: https://github.com/graphile/worker#performance
This is mainly because PgSQL based queue is durable by default and based on how you implement your inserts, every new message will need a disk based commit.
I couldn't find the original video describing their architecture. (It's private now, I guess).
Next time someone says it’s a bad idea, keep pressing for real answers, not emotion.