Re:Postgres is a great pub/sub and job server (2019)
by fouadf on Saturday December 18, 2021 @01:33AM
(#29602261)
Good point. My assumption is that the first hit would be memory usage, way before core usage.
There are many options for scaling:
- vertically scale by adding more memory
- start redis instance on another port (takes 1mb) if decided to add more cores on the same vm
- separate data into another vm
- sharding comes out of the box, but that would be my last resort
At least with Postgres you can scale up trivially. Postgres will efficiently take advantage of as many cores as you give it. For scale out you will need to move to a purpose built queuing solution.