Ask HN: How do you build in anticipation of scale?
How do you design/build an app with the right foundation such that if it takes off you're able to scale? I've been thinking about this as I'm about to start a project. I know chances are that I'll just die in the early phases and that premature optimization is the root of all evil, but I'd like to do anything possible now that would pay dividends if we do scale. So for example do I run containers but only have one container per service? Do I use citus instead of postgres? I know this is app specific so let's say for discussion's sake it's just a crud app.
Also what are some good resources on designing distributed systems using today's IaaS solutions?
Edit: how do I get this sorted under Ask?
3 comments
[ 3.1 ms ] story [ 38.4 ms ] thread>I know chances are that I'll just die in the early phases and that premature optimization is the root of all evil
don't you understand?