This thread has (at least at the moment) serious Bob Martin Sudoku Solver energy to it. Tailscale has solved an infamously complicated problem using, for the most part, simple tools. They're not just successful; they're remarkably successful, spookily successful, upsettingly successful. Consider whether the secret sauce here might not be au courant database choices, but rather something much harder for random teams t…
Please could someone explain the "Bob Martin Sudoku Solver energy" reference?
A database for 2022
241–250 of 336 posts
Re: A database for 2022
#242> Unfortunately, if we want to move to running more than one CONTROL process simultaneously for high-availability and better release management, that means we no longer have exactly one process managing the data
Do you guys still only have 1 CONTROL process?
Re: A database for 2022
#243I loved filed based h2 as well. Is there any reason in 2022 to use h2 over sqlite?
Re: A database for 2022
#244Earlier quoted context omitted.
I love Tailscale and it's true that I am not suffering from stability problems with its database choices. But, I do have challenges working with their ACL structure -- which is backed by their database -- and specifically would love to be able to update users/groups separately from tag groups and both of those separately from ACL rules and I can't help but wonder if the fact that this feature doesn't exist relates to…
Tailscale engineer here. Unrelated. We just haven't worked on it much. A bunch of other stuff has been a higher priority. But better ACL management will happen.
Re: A database for 2022
#245Earlier quoted context omitted.
> I watched with dread how the MongoDB fiasco played out a decade ago. Could you elaborate on this? MongoDB as a company is worth $30B, so it looks like they did at least some things right.
There was many new node projects using MongoDB and I remember several failed, but details elude me. There was a Slack competitor using MongoDB that was snappy and js hipster trendy that ultimately failed because of unreliable database IIRC.
Re: A database for 2022
#246Earlier quoted context omitted.
> When TFA points out that zero vendor lock-in and hassle-free, local end-to-end tests are non-negotiable, I think it is for this reason. if zero vendor lock-in and hassle-free, local end-to-end tests are non-negotiable, why are they using s3? migrating to another s3 compatible backend would be similar in effort to migrating from aurora mysql or postgres to another managed mysql or postgres service or to self-hosted…
> migrating to another s3 compatible backend would be similar in effort to migrating from aurora mysql or postgres to another managed mysql or postgres service or to self-hosted mysql or postgres You may be right. I have no experience migrating litestream but from the docs ( https://litestream.io/guides/ ) it is literally cp'ing files from S3 to wherever and exec'ing one of these one-liners (of course, the devil is i…
Re: A database for 2022
#247So… litestream is bidirectional? Nothing can go wrong when daemon A and daemon B write almost at the same time? Edit: I just found this tips and gotcha page: https://litestream.io/tips/
If you're looking to have multiple primaries then you can try using the SQLite session extension[1] and copying patch files. That's quite a bit more complicated though.
Re: A database for 2022
#248Earlier quoted context omitted.
It started as a proprietary database. Apple acquired it and then open sourced it eventually.
Didn't it start as an open source database? then apple acquired it and made it close sourced, then open sourced it again after several years. It is weird that this DB has a good reputation which doesn't match its popularity.
Re: A database for 2022
#249Earlier quoted context omitted.
sqlite is, like, the regular-est of the databases.
Not quite, I got bitten by weak type system more than once.
Re: A database for 2022
#250I 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…
> But I'm just confused, why would an engineer want to join a company that is making these decisions? Why would the company want their users to know about these decisions? This might actually be a really good filter for which types of engineers are good fit for their company. Because my read was very different than yours, as I looked at the decision lineage and thought to myself I could see myself making every one of…
I've worked with Raft a lot in my career. I wrote the original etcd Raft implementation (sorry!) [2] and even wrote a visualization explaining Raft[3]. It's a great tool when you need really high durability guarantees but I'm not convinced it gives you better availability guarantees than a single node that can quickly be recovered.
[1]: https://mtlynch.io/litestream/ [2]: https://github.com/goraft/raft [3]: http://thesecretlivesofdata.com/raft/