Jump to content

Hey there guys,

I am planning to build couple of web applications in a budget and there is no onsite server there

So, I want to buy a VPS hosting or build a onsite server

I am expecting atleast 1000 concurrent users

can you guys suggest me some VPS options and system requirements that can handle 1000 users

 

I will be using MongoDB, nodejs and maybe reactjs

aswell

Link to comment
https://linustechtips.com/topic/1391329-server-requirements/
Share on other sites

Link to post
Share on other sites

I can't comment on what resources you'd need but generally for web hosting a site the hardware requirements aren't astronomical. You can usually get away with quite little depending on what services the site is offering. Of course the more concurrent clients the more resources you'll need but 1,000 isn't that many in the greater scheme of things.

 

As for VPS hosting I know of (in no particular order):

 

AWS

Microsoft Azure

Google Cloud

Oracle Cloud

 

I don't have extensive experience with any of them but there's some ideas for you. You will want to pick a location that caters to your greater audience though so they experience the least latency assuming you only want to create one instance.

Link to comment
https://linustechtips.com/topic/1391329-server-requirements/#findComment-15123048
Share on other sites

Link to post
Share on other sites

That's not a lot of information. 1000 users asking for static content is very different from 1000 users requesting a page, that does 10 DB queries. Build the application first, then start choosing the correct server. A basic web server can run on single core machine with 1 GB of RAM. As you scale and build more stuff and gain users, then you need to scale up. That can be done very easily and quickly, even automatically if you properly configure and automate your infrastructure (read pet vs cattle architecture).

 

There are very many VPS offerings, choose based on your budget and needs. In addition to the above mentioned ones, there's also Hetzner, DigitalOcean, Vultr, OVH and others.

Also consider if you want a single server to serve all the users or if you want to spread the load on multiple servers (or run servers in high availbility) - in which case you might also need some load balancing. Also think if you want to run database on the same instance as the web server.

HAL9000: AMD Ryzen 9 3900x | Noctua NH-D15 chromax.black | 32 GB Corsair Vengeance LPX DDR4 3200 MHz | Asus X570 Prime Pro | ASUS TUF 3080 Ti | 1 TB Samsung 970 Evo Plus + 1 TB Crucial MX500 + 6 TB WD RED | Corsair HX1000 | be quiet Pure Base 500DX | LG 34UM95 34" 3440x1440

Hydrogen server: Intel i3-10100 | Cryorig M9i | 64 GB Crucial Ballistix 3200MHz DDR4 | Gigabyte B560M-DS3H | 33 TB of storage | Fractal Design Define R5 | unRAID 6.9.2

Carbon server: Fujitsu PRIMERGY RX100 S7p | Xeon E3-1230 v2 | 16 GB DDR3 ECC | 60 GB Corsair SSD & 250 GB Samsung 850 Pro | Intel i340-T4 | ESXi 6.5.1

Big Mac cluster: 2x Raspberry Pi 2 Model B | 1x Raspberry Pi 3 Model B | 2x Raspberry Pi 3 Model B+

Link to comment
https://linustechtips.com/topic/1391329-server-requirements/#findComment-15123067
Share on other sites

Link to post
Share on other sites

@jj9987 is correct. Build the app and put it live as cheaply as possible. Unless you have actual reason to believe you’re going to have hordes of people flocking to this site overnight, you should be able to scale up as you go. 
 

when building, try to bundle whatever it is you’re doing in Docker containers, using Docker-compose to coordinate spinning your services up. This’ll allow you to run your dev environment on your laptop in the same manner as you’re running it in prod. It also allows you to scale to bigger or multiple machine without having to do much configuration at the infrastructure level. 
 

further, putting everything in containers allows you to run your workload in stuff like hosted kubernetes clusters for easy scalability.

 

I’d recommend taking a look at https://www.digitalocean.com. While not the cheapest or most powerful (business feature wise) cloud provider at big scale, for single devs and small startups, they do provide a very intuitive system at very fair pricing. Their performance is great. They used to be one of the first providers with all-SSD servers. I’m personally running a VM there to act as a gateway to other servers. 

Link to comment
https://linustechtips.com/topic/1391329-server-requirements/#findComment-15123127
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×