Forums

Will the Web dev plan handle my server needs?

Hello. I am sorry if this question is a bit poorly formulated. I am quite new to this, and I am uncertain about my website traffic.

For a project, I will need to post a specialized survey, which I have created as a flask application, containing the survey questions, as well as some background code to show randomized context from a pandas dataframe each time the survey is taken, and then storing the survey responses in a MySQL database.

As the survey will be used physically, where upwards of 300-500 users will be taking it at a time, it will need to be hosted on a capable server to avoid latency problems/errors. As such, I want to ask if the benefits that the Web dev plan offers, will be suitable to handle this level of traffic?

That's a more complicated question that it might seem! The number of requests that a site can handle in any given time period is determined by the amount of time your code takes to process each request, and the number of worker processes that your account has. A web dev plan has support for two websites with three workers each, so if you only plan to host one website you would probably be better off price-wise getting a Hacker plan, and then customizing the number of worker processes -- for example, a Hacker plan with one website with three workers would only cost US$6/month.

Now, of course, the difficult question is determining the correct number of workers. We have a help page that explains how to work that out. It is worth noting that you can upgrade an account at any time, so if there's an issue with the number of workers that you choose initially, it's easy to upgrade to add on more.