3 ms·
Our problem domain is bounded in such a way that we never have to worry about scaling beyond 1 host in production. For the last 6 years, we have survived on lit
by bob1029 6y ago
Our problem domain is bounded in such a way that we never have to worry about scaling beyond 1 host in production. For the last 6 years, we have survived on little more than .NET Core and SQLite.
We utilize Self-Contained Deployments, so rolling out a new install for a customer is an unzip operation followed by sc.exe create invocation on a blank win2019 server. Because we use SQLite, we don't have to worry about configuring any separate infrastructure to store the business data. It all lives in a convenient folder called "db" right next to the binaries.
We also built our software so that it is capable of rebuilding itself from source and performing an in-place upgrade. Then we put a fancy Blazor UI on top of that and made builds & deployments the problems of non-developers. Time/frustration savings here is beyond your wildest imagination. We have project managers competently communicating about client environments in terms of commit hashes now. "Oh Client X's production is still back at 2c8ac0, ill run the build at e8c0a2". This is something that isn't really feasible when you have your solution architecture scattered to the seven winds.
Our entire stack lives inside the confines of a single process on a single host. Focusing on the vertical and making it as powerful and capable as possible rather than chasing delusions of grandeur has seemed to pay massive dividends so far. Maybe one day we get screwed and its all over because we never planned to scale to 2+ hosts, but we could never hope to get to that point in the first place if we were to chase a bunch of shiny bullshit around all day.