News for hackers. Stuff that matters.
Re:So many bad takes. Learn from the Prime Video microservic... by foffoofof on Sunday May 07, 2023 @01:35PM (#35853688)
Is jvm pg and k8s boring enough?

K8s is overkill. Jvm is heavy. Pg is fine but relational dbs generally suck.

Re:So many bad takes. Learn from the Prime Video microservic... by sanderjd on Sunday May 07, 2023 @01:41PM (#35853751)
What is better than relational dbs (and for what purposes)?

I've been learning k8s fundamentals recently after using borg for a long time and then awhile kind of just poking at k8s trying to use it without learning it. Honestly I think it seems like about as simple as a solution to a broad set of real common problems could plausibly be.

Re:So many bad takes. Learn from the Prime Video microservic... by foffoofof on Monday May 08, 2023 @02:13AM (#35858639)
Relational dbs are based on relational model. It’s a giant black box of magic. And it’s magic is based on a bunch of constraints to make the relational algebra work. It’s really quite flawed for modern web apps.
Re:So many bad takes. Learn from the Prime Video microservic... by sanderjd on Monday May 08, 2023 @09:24AM (#35861281)
It ... really isn't a black box of magic? It's a transparent box of - as your comment points out - implementing a particular mathematical model.

You're gonna need to give me some more on why it's "quite flawed for modern web apps". I may even agree with you, but it's tough to know from what you've written so far.

Re:So many bad takes. Learn from the Prime Video microservic... by foffoofof on Tuesday May 09, 2023 @04:24AM (#35871553)
> isn't a black box of magic

Referring mostly to the query planner - you have no control over it, and you have to dive deep to figure out why it's making certain plans, and how it collects statistics to make these calls. Plus the planner essentially gives up at 6+ joins.

> quite flawed for modern web apps

Try listening to updates on a query.

Re:So many bad takes. Learn from the Prime Video microservic... by beckingz on Sunday May 07, 2023 @01:39PM (#35853729)
elaborate on how relational databases suck?
Re:So many bad takes. Learn from the Prime Video microservic... by vbezhenar on Sunday May 07, 2023 @03:14PM (#35854621)
They're not web scale.

https://youtu.be/b2F-DItXtZs

Re:So many bad takes. Learn from the Prime Video microservic... by foffoofof on Monday May 08, 2023 @02:08AM (#35858620)
Try streaming updates to a query without polling…which is essentially all web apps.

It’s fundamentally the wrong approach and people don’t realize. The relational model is good for analytics.

Think about how often you need to know the internals or you have to debug perf by trying to get a black box to do what you want.

Devs should be a layer deeper.