Ask the community or our support engineers for answers to questions
Hi, this may be a dumb question. How many people can usethe network url before it starts to bottleneck? Would that depend on the server and not streamlit itself?
Thank you,
Ask the community or our support engineers for answers to questions
Hi, this may be a dumb question. How many people can usethe network url before it starts to bottleneck? Would that depend on the server and not streamlit itself?
Thank you,
Hey @Knickfan07, welcome to Streamlit!
It’s not a dumb question, but of course the answer is a big set of “it depends!”
Streamlit uses Tornado to manage web connections, and can in theory handle many thousands of concurrent users (on a big enough machine, of course!). The big limiting factor for most apps will be how much work your Streamlit script is doing.
If you’re doing something very memory-, CPU-, or GPU-intensive in your script, you won’t be able to support as many concurrent users as you will with a simple script that displays mostly static data, for example.
If bottlenecking does become a problem, most Streamlit apps should be reasonably “horizontally scalable”: that is, you can deploy the same Streamlit app on multiple servers, and put a load balancer in front of them, and achieve more concurrency that way. (But: probably not something to worry about unless and until you know you’ll be making an app that will need it!)
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.