Live data from Hacker News

A database for 2022

tailscale.com

31–40 of 336 posts

Re: A database for 2022

#31
post #20

This is an April fool's joke, right? Edit: no it's not.. > Footnote: coworkers point out it’s April Fool’s today and request that I clarify this isn’t a joke. Joke’s on them: every day’s April Fool’s in the Tailscale Database Engineering department.

[deleted]

Re: A database for 2022

#32

I'm so desperate for a SQL database where I can just put it on a bunch of commodity hardware via Docker, connect them up and never worry about this again. Ideally it'd monitor my queries and create indexes for me. pleeeeeeaaaaaaaaaaaassssseeeeeeeeee /dream FoundationDB is similar but you have to do so much yourself. It's more or less what I'm describing for a key value store though. Not sure why it's not more popular…

I lamented this exact situation in a post I made last week. I'm with you on this completely.

Re: A database for 2022

#33

I'm so desperate for a SQL database where I can just put it on a bunch of commodity hardware via Docker, connect them up and never worry about this again. Ideally it'd monitor my queries and create indexes for me. pleeeeeeaaaaaaaaaaaassssseeeeeeeeee /dream FoundationDB is similar but you have to do so much yourself. It's more or less what I'm describing for a key value store though. Not sure why it's not more popular…

FoundationDB is an Apple thing, isn’t it? Might explain why. It feels kinda like they’ve put it out there and it just hasn’t had anyone with a marketing budget to push it along.

It started as a proprietary database. Apple acquired it and then open sourced it eventually.

Re: A database for 2022

#34

I think I'm missing some context. Using a text file and using etcd as a DB for a production system seems like a terrible engineering decision. It seems like something you'd do as a proof of concept or side project. It's interesting that they're blogging about this, as if they're proud of it. I guess I'm just missing the point. This is their 3rd DB Migration, something that I prefer to avoid at all costs. I guess they…

Tailscale engineer here.

> Using a text file and ... > It seems like something you'd do as a proof of concept

I mean, using a text file for the proof of concept is exactly what happened. And then it grew too quickly and had to get off of it eventually, but we always knew that. We were just amazed how long that worked. It survived much longer than we'd thought.

Re: A database for 2022

#35
post #20

This is an April fool's joke, right? Edit: no it's not.. > Footnote: coworkers point out it’s April Fool’s today and request that I clarify this isn’t a joke. Joke’s on them: every day’s April Fool’s in the Tailscale Database Engineering department.

I suggested that footnote text just for these comments. :)

Re: A database for 2022

#36

So to recap their timeline: * Instead of an actual database use a JSON file. * Write a blog post about how that didn't scale. * Instead of an actual database hand-roll something else. * Write a blog post about how that didn't scale. * Instead of a database with built-in replication which is tailor built for key-value storage use SQLite with a single table containing key-value pairs and some fresh glue to make it repl…

It seems like they're _really_ struggling with is. It's kind of entertaining to watch though

edit: also don't forget these blog posts are content marketing for their product. that's really the point anyway

Re: A database for 2022

#37

I see a dozen comments here, all critiquing their proposal. Surely this is April Fools? > I'm sorry, but what the fuck? Just writing the blog posts alone might have consumed more work-hours than what it would have taken to set a database up in the first place. > Using a text file and using etcd as a DB for a production system seems like a terrible engineering decision. It seems like something you'd do as a proof of c…

They put an update at the bottom of the article clarifying that it is not, in fact, a joke.

Re: A database for 2022

#38
Honest question: what do the sqlite authors think of litestream?

I seem to recall Richard Hipp on the "changelog" podcast mentioning it, but I don't remember what he said.

2 episodes here: https://changelog.com/person/drh/podcasts#feed

I think it was very neutral, something to the effect of "there are multiple solutions".

But I know essentially nothing about sqlite internals so I can't judge, or maybe that's why I didn't understand what he said.

I guess I'm wondering if it's a recommended/supported mode of operation in sqlite. What are the failure cases? How much data can you lose?

Re: A database for 2022

#39
post #23

I for one am enjoying this. Sure they could probably just use a regular ol' database, but where is the excitement in that!

I really hope they aren't taking the same tack when dealing with the encryption portion of their service.

Re: A database for 2022

#40

So to recap their timeline: * Instead of an actual database use a JSON file. * Write a blog post about how that didn't scale. * Instead of an actual database hand-roll something else. * Write a blog post about how that didn't scale. * Instead of a database with built-in replication which is tailor built for key-value storage use SQLite with a single table containing key-value pairs and some fresh glue to make it repl…

> In the first place

Yes, but ongoing maintenance isn’t free.

If anything, this whole DB funkiness indicates to me just how nice a product you can build despite it.

Post reply on HN