How to test the scalability of your code using the bigO library from UMass and pytest: pythonspeed.com/articles/big...
How to test the scalability of your code using the bigO library from UMass and pytest: pythonspeed.com/articles/big...
Oh, and no Kubernetes!
But unbundle your services--database, logs, error-tracking, auto-scaling, etc--from Heroku (or whichever PaaS you're on). It's usually cheaper and it means you're less locked-in to your PaaS. Also dedicated companies tend to provide better services than a PaaS's built-in alternatives.
TLDR: He'd choose Heroku to start with - the ease and simplicity is worth the extra costs, you've got better things to spend your time on. Heroku becomes more questionable later as usage grows, particulalry if you have high-traffic and thin margins. In that situation he'd probably switch to Fly.
This is a good interview with Judoscale's founder about hosting choices for new startups.
judoscale.com/blog/black-b...
History lesson turned out to be incomplete: github.com/hypothesis/h...