We’ve had a blast this weekend building a Streamlit app to simulate Coronavirus spread: https://corona-calculator.herokuapp.com
We’ve deployed it on Heroku, which was pretty straightforward (and aided by this blogpost https://gilberttanner.com/blog/deploying-your-streamlit-dashboard-with-heroku).
However, we’re now seeing decent traffic and I’m trying to understand whether simply increasing the size of the Heroku dyno is going to help reduce latency (which keeps spiking to >1s) or not. Is Streamlit spawning multiple processes behind the scenes or do we need to explicitly pursue a horizontal scaling strategy e.g. via Docker?
Any help much appreciated!