zlacker

[return to "Do you really need Redis? How to get away with just PostgreSQL"]
1. Aeolun+z3[view] [source] 2021-06-12 07:40:42
>>hyzyla+(OP)
This seems a bit silly. We might be able to use only postgres, but this seems harder than using Postgres and Redis.

Any time someone says ‘this works for small workloads’ I hear, ‘we’ll eventually have to migrate this’.

That’s not a problem if you are talking about introducing a hugely complex piece of infrastructure, but Redis is hardly that.

◧◩
2. gizdan+Ua[view] [source] 2021-06-12 09:02:07
>>Aeolun+z3
> Any time someone says ‘this works for small workloads’ I hear, ‘we’ll eventually have to migrate this’.

Personally I aim to develop with future migrations in mind. Certain abstractions are worth it. Put an interface around a cacher, db store etc. Day to day dev overheads is low, but your future self will thank you should you need to migratw away.

Sure this isn't always possible, but do it as much as possible.

[go to top]