Earlier quoted context omitted.
Well then you just need multiple Kubernetes clusters for redundancy :-) :-) From another thread on the home page right now: The current trend goes to multi-cluster environments, because it's way too easy to destroy a single k8s cluster due to bugs, updates or human mistake. Just like it's not an very unlikely event to kill a single host in the network e.g. due to updates/maintenance. For instance, we had several outa…
This reads like a bad joke. Where did the KISS principle go?
Why I Built Litestream
171–178 of 178 posts
Re: Why I Built Litestream
#172This is off-topic, but when I was a Mac user, I always wishes Apple built a barebones graphical tool into the OS to view and edit SQlite databases. They pop up now and then, including via Apple applications, and it would be convenient to view their contents in the GUI without third party tools.
Re: Why I Built Litestream
#173Earlier quoted context omitted.
because sqlite is super simple to use and most things won't ever need to scale beyond one server.
> most things won't ever need to scale beyond one server. Yep. But don't tell anyone. This is a secret weapon/super power most juniors (and many mid/seniors) have been conditioned by the GOOG/FB/AMZN/MSFT approved project literature to believe is simply untrue. The number of experienced, highly skilled founder devs I know that reach for shiny tech stacks that solve issues they don't have but can "scale" is a 100:1. T…
I suppose single node+db works fine for hobby SAAS and expert programmers who can squeeze every bit of performance from the machine. But for the average in-efficient programmer or teams, standard PostGres as DB and HA services fronted by a load-balancer work better.
Re: Why I Built Litestream
#174I've wanted to move a small, Postgres-backed web app (written in Go) to SQLite, but one of the hurdles is that we deploy to Heroku (which famously has an ephemeral filesystem). Since the web app runs on a single, always-on dyno, seems like it may work to use Litestream to (1) continuously replicate and (2) restore when we restart the dyno. For folks who have dug into Litestream further than me, any thoughts on this u…
Re: Why I Built Litestream
#175Re: Why I Built Litestream
#176Earlier quoted context omitted.
Thanks for details. I yet wait to see how somebody serve 1M users on a web service using sqlite. Sounds like you can do all that since you create desktop app, you almost never need anything more then sqlite for that.
https://blog.expensify.com/2018/01/08/scaling-sqlite-to-4m-q...
Re: Why I Built Litestream
#177Earlier quoted context omitted.
> most things won't ever need to scale beyond one server. Yep. But don't tell anyone. This is a secret weapon/super power most juniors (and many mid/seniors) have been conditioned by the GOOG/FB/AMZN/MSFT approved project literature to believe is simply untrue. The number of experienced, highly skilled founder devs I know that reach for shiny tech stacks that solve issues they don't have but can "scale" is a 100:1. T…
Well, as soon the solution doesn't scale - which will likely be within a couple of years - one needs to rearchitect and recode. I suppose single node+db works fine for hobby SAAS and expert programmers who can squeeze every bit of performance from the machine. But for the average in-efficient programmer or teams, standard PostGres as DB and HA services fronted by a load-balancer work better.
Your project is far more likely to die within a couple of years from having too few users than from having too many. If you find you're having scaling issues then that's a good time to solve them - your project is popular enough to justify the investment.
You'll likely be recoding your project quite a lot in the early phase of the development anyway as you learn more about the problem and (most importantly) more about what your users want/need. Anything that can reduce the cost of this early iteration will pay dividends later because it makes it more likely that you'll need to scale - and by the time you do need to scale you'll be scaling something that you understand and other people want.
Re: Why I Built Litestream
#178Hi Ben, thank you so much for building this! I'm currently working on implementing a set of data structures (and more things later) on top of SQLite ( https://github.com/litements/ ) for some of the same reasons you mention in the article. I probably don't even have 1/10 of your experience, but your work is really motivating me to keep working on it, thanks!
I like where you're going with Litements. There are a lot of servers that could just be libraries running on SQLite. Job queues are one of those I find myself reimplementing sometimes.