3 ms·
There's a few benefits to using postgresql for these jobs: 1. Atomic backups. You can backup your jobs at the same time you backup your data. If you need to re
by joevandyk 14y ago
There's a few benefits to using postgresql for these jobs:
1. Atomic backups. You can backup your jobs at the same time you backup your data. If you need to restore the data and jobs, you get a consistent snapshot.
2. Less moving parts. If all you need is postgresql, that simplifies things tremendously.
3. Transactional job control. You can add jobs inside a transaction and roll them back if needed. You can't do that easily with redis. With activerecord, you have to use after_commit, which has some complications and potential for dataloss.