zlacker

[parent] [thread] 3 comments
1. dlisbo+(OP)[view] [source] 2023-09-24 21:24:10
Do you have some idea of how many jobs per minute or hour do you have? Just want to compare with what we have on Redis at work.

Do you also have any idea on the concurrency? How many workers you have pulling from Postgres.

I’ve used this approach before (ages ago) when Redis wasn’t even a thing, though not at high throughout requirements.

replies(3): >>devout+k7 >>dilyev+dc >>cle+qB
2. devout+k7[view] [source] 2023-09-24 22:30:18
>>dlisbo+(OP)
I'm sure Redis is much faster than an RDBMS w/ all the ACID features turned on. The biggest concern I always have with Redis is simply overwhelming the in-memory storage limits when someone wants to do process a large number of good-sized messages at an inconvenient time. #tradeoffs
3. dilyev+dc[view] [source] 2023-09-24 23:21:00
>>dlisbo+(OP)
I’ve seen it used for up to 1000 jobs per second with concurrency of 3-12
4. cle+qB[view] [source] 2023-09-25 04:25:35
>>dlisbo+(OP)
I recently did the same thing but without LISTEN/NOTIFY and with a partial index. Pushed about 700 jobs/sec with 1000 workers (via pgbouncer).
[go to top]