Remix.run Logo
Let's Build PlanetScale from Scratch: Infrastructure(onatm.dev)
62 points by onatm 3 hours ago | 13 comments
xyzzy_plugh an hour ago | parent | next [-]

I think this is confusing Planetscale's primary objective: to make it incredibly easy and efficient to scale a database up and out.

There's no mention of sharding whatsoever. Without that this has very little to do with Planetscale and is much closer to your average managed DB (RDS etc.). There's also no mention of a bouncer/gateway/reverse proxy, which is necessary for zero downtime.

I get that Planetscale hosts "vanilla" Postgres instances but naturally those are limited by single instance size limits. I imagine this is predominantly a marketing strategy for them, acting as a funnel for their sharding products.

But perhaps that's the goal with this project, to not be Planetscale at all, and to focus on the single node. If that's the case, then great, best of luck, but the roadmap is missing some important pieces for me to take this seriously. In either case I find drawing comparison with Planetscale to not be very helpful or illustrative of the project and its goals.

whitelimetea an hour ago | parent [-]

Most cloud SaaS is trivial to build and run locally. Many of it is just hosted versions of what already exists.

It's like when people "build our own redis from scratch" - not a feat worth bragging about, if you hosted a high availability memory cache for apps that might be something worth sharing, but the tech is nothing.

Shalomboy an hour ago | parent | prev | next [-]

OP's interview with the F1 team sounds super cool, I'd actually love to hear more about their experience and the vibes they got from potentially working a dev job for a sports team. I had a close encounter with the analytics department of an MLB Team not too long ago and found that pocket of the tech world beyond fascinating. I just wish I had more exposure to the folks working in it.

KoleSeise1277 7 minutes ago | parent | prev | next [-]

Nice breakdown of the COW model. How do you plan to clean up snapshots once branches get a few generations deep?

nullbio 9 minutes ago | parent | prev | next [-]

You did the easy part. Now do the managed database part, and at scale, whereby I don't have to worry about any chance of data loss. Otherwise this isn't "building PlanetScale" - it's building 1/100th of it.

It annoys me when people claim they've "easily and quickly" built something that took many developers many months or years worth of work and optimization to build a solid product.

It's like someone who generates a pretty looking HTML page with an LLM and claims they've built a customer-facing product. So much slop these days...

onatm 6 minutes ago | parent [-]

I am not sure where you think I claimed it'll be "easy and quick". Do you really think building a system on top of k8s internals and Ceph is something that everybody can pull off?.

lewi an hour ago | parent | prev | next [-]

Awesome. I've been playing exploring PITR stuff recently in my homelab. Will give it a go and try to contribute if I spot any issues

onatm an hour ago | parent [-]

It's far from complete. This is just the infrastructure bit that I need to build the actual service. I am going to build an operator, a coordinator, an API and a CLI. I am going to continue writing posts while building them.

13 minutes ago | parent | prev | next [-]
[deleted]
androiddrew an hour ago | parent | prev | next [-]

Lolz, just forward to my friend who works at Planetscale. Looking forward to his reaction

onatm an hour ago | parent [-]

I hope they'll enjoy reading it.

2 hours ago | parent | prev | next [-]
[deleted]
whitelimetea 2 hours ago | parent | prev [-]

MoonScale