Question about API resources usage

I’m trying to make an API in future but I don’t know which plan and resource limitation exactly is good for that

suppose our web service has 30k active users and can provide database and filing service to users
the premium plan has unlimited database and bandwidth and disk space but i don’t know how to calculate CPU usage or other limitations

is it good to use multiple servers for that? (like sv1 sv2 sv3.domain.com ) or one server can handle all request?

Thanks in advance

Hi @Winner11

It really depends on your API: the way you code it and its purpose.

1 Like

what if suppose we have a normal code and 5k active users and they:
run about 30000 database queries
upload 50GB
and download 500GB per day

50GB/day = 2GB/hour = ~30MB/minute

500GB/day = 20GB/hour = ~300MB/minute


If you ask for my opinion, you’ll need a VPS :sweat_smile:


I am not an expert when it comes about VPS plans. You should ask Hostinger Support regarding overall requirements.

1 Like

thanks, looks VPS is the best option, someone else recommended VPS too
I decided to use a hosting at the start(when there are not much process) and when we got more users its time to use VPS to handle it

That I would recommend as well :wink:

1 Like