Never write a database, even if you want to, even if you think you should
21–30 of 56 posts
Re: Never write a database, even if you want to, even if you think you should
#22Re: Never write a database, even if you want to, even if you think you should
#23Of course, in production, it is really hard to find a use case that isn’t served ‘well enough’ by existing database technology. But: almost ever should you say never. What better way to learn indexing tradeoffs than to write your own database? What existed before Redis? What existed before LevelDB? What existed before Git? Sure, write a database if you want. But be humble about the effort involved and reliability you…
It was as true then as it was today: very few people should write databases for production.
Re: Never write a database, even if you want to, even if you think you should
#24Projects like pgrx (postgres extensions in rust) are starting to make it much more approachable to do so.
A little lower level: build on FoundationDB. (Projects like mvsqlite are super interesting here).
In both cases, we don't yet have fully managed providers. RDS seems to be flirting with opening up the extension ecosystem with trusted languages. I haven't seen any managed foundationdb offerings though.
Re: Never write a database, even if you want to, even if you think you should
#25Earlier quoted context omitted.
I don't think most people would disagree with that. If you want to build a database, for curiosity, or to solve a particular problem, or just because it seems fun, go ahead. But know that making a real production database tends to be harder than it looks, and so tends to be all-consuming, and a team that depends on a custom database tends to become a database team rather than an anything else team. That could be the…
> But know that making a real production database tends to be harder than it looks, and so tends to be all-consuming, and a team that depends on a custom database tends to become a database team rather than an anything else team. The original statement does not include any caveat or constraint, and is an absolute statement that does not depend on specifics. The statement is not "Never write a custom database as a sub…
Re: Never write a database, even if you want to, even if you think you should
#26Don’t take Twitter advice… this post does nothing but discourage play and experimentation.
Re: Never write a database, even if you want to, even if you think you should
#27what does "writing a database" mean?
Re: Never write a database, even if you want to, even if you think you should
#28Don’t take Twitter advice… this post does nothing but discourage play and experimentation.
Re: Never write a database, even if you want to, even if you think you should
#29Re: Never write a database, even if you want to, even if you think you should
#30Having said that, I learned a lot from it. So I wouldn’t say don’t do it. You’ll probably learn from it. Just don’t expect to make the next MongoDB or MySQL :)