zlacker

[parent] [thread] 5 comments
1. daenz+(OP)[view] [source] 2021-12-18 07:03:55
Everything is a nail, why should I use anything but this hammer?
replies(3): >>pritam+35 >>tluybe+E5 >>Dowwie+2m
2. pritam+35[view] [source] 2021-12-18 08:05:23
>>daenz+(OP)
Postgres happens to be a very good hammer, thank you very much. You should try it sometime.

But seriously though, postgres's relational logic implementation makes for a very good queueing system for most cases. It's not a hack that's bolted on top. I know that's how quite a few "DBs" are designed and implemented, and maybe you've been burned by too many of them, but Postgres is solid. I've seen it inside and out.

3. tluybe+E5[view] [source] 2021-12-18 08:12:56
>>daenz+(OP)
Make every system as complex as you can with tech you are not really familiar with is a good plan for your small team? Under a 100 people, your company does not have 100 devops etc to make sure all these 'best of breed' tools actually managed properly in production. If a service on top of postgres dies, I will find out why very quickly; on Kafka, even though I have used it a bunch of times, I usually have no clue; just restart and pray. Why would I force myself to use another tool when postgres actually works well enough? Resume driven?

Sometimes I agree with best tool for the job; if the constraints make something a very clear winner; if the difference is marginal for the particular case at hand, I pick what I/we know (I would actually argue that IS the best tool for the job; but in absolute 'what could happen in the future' terms it probably is not).

4. Dowwie+2m[view] [source] 2021-12-18 11:45:38
>>daenz+(OP)
I think you're helping bring balance to the enthusiasm here for using Postgres as a multi-purpose tool. However, there is a lot of room for you and the advocates favoring Postgres to both be right about tooling. I adopted RabbitMQ because I decided I didn't want to grow into needing it by dealing with many of the problems that motivated engineers to bring RabbitMQ into existence. However, I probably would have been fine with Postgres-pubsub, or Redis-pubsub/streams, both databases that I already used for their general purpose and have established capabilities for messaging. I noticed your earlier agreement with the person who mentioned using Firebase, and Firebase is yet another multi-purpose tool good enough at many things but still not better than the customized domain systems. If you agree with the claim for Firebase, others can now agree about Supabase. It's all Postgres beneath, though.
replies(1): >>nicobu+Fv
◧◩
5. nicobu+Fv[view] [source] [discussion] 2021-12-18 13:34:54
>>Dowwie+2m
Agree with your point about multiple tools being good enough, but IMO firebase is not one of them. In my experience despite it claiming to be excellent at scaling, it performs worse than even a small Postgres instance. It’s good at the “real-time subscriptions”, but that’s about it.
replies(1): >>Dowwie+ZI
◧◩◪
6. Dowwie+ZI[view] [source] [discussion] 2021-12-18 15:36:07
>>nicobu+Fv
Noted. Thanks for sharing your experiences with that. We need to hear more about lackluster investments in tech.
[go to top]