logoalt Hacker News

stavrostoday at 4:17 PM2 repliesview on HN

Oh no, redis is super simple to set up and use. It's just that setting it up is not as simple as not setting it up.


Replies

tracker1today at 4:28 PM

For smaller projects and locally, I'm running background services via a compose file... it's a few lines of configuration, and just works. Redis is crazy low hanging fruit.. even job queues that run over Redis make a bit more sense than with Postgres more often than not.

I'm far more hesitant to throw a more formal MQ in the mix though... mostly from experience in that a lot of mid level ("senior") developers don't really understand queues very well at all. Even if conceptually, using tables for queues is more complex.

That said, I will use PG for workflows similar to K/V, Document (JSONB) and other structures over reaching for say MongoDB, etc.

show 1 reply
wuliwongtoday at 4:22 PM

OK, but it is relatively easy to setup. Obviously, nobody thinks it is _literally_ effortless.

show 1 reply