Jump to content

Hi!

I'm experimenting with databases and node js and looking to build a small web server to host my db and function as my node js server.

What are the main considerations when building a web server? What parts are more important then the others? Currently I run everything from an old laptop but that seems a bit inefficient.

 

Any help will be appreciated 

Link to comment
https://linustechtips.com/topic/646778-small-web-server/
Share on other sites

Link to post
Share on other sites

4 minutes ago, oferg said:

Hi!

I'm experimenting with databases and node js and looking to build a small web server to host my db and function as my node js server.

What are the main considerations when building a web server? What parts are more important then the others? Currently I run everything from an old laptop but that seems a bit inefficient.

 

Any help will be appreciated 

You can run a web server on a Raspberry Pi. That's if you're getting thousands of users connecting. I'm running mine one Dual core processor. 

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 32 GB (4x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitor: 24" Acer S240HLBID | OS: Win 11 Pro.

 

Home Lab:  Lenovo ThinkCenter M82 Hyper-V Server 2022 | Dell OptiPlex 9020 Hyper-V Server 2022 | TP-LINK TL-SG108E | Cisco Catalyst C2960CG 8 Port Switch | HP MicroServer G8 SCCM Server | 2x Dell PowerEdge R630 Hyper-V Server 2022

 

 

Link to comment
https://linustechtips.com/topic/646778-small-web-server/#findComment-8322597
Share on other sites

Link to post
Share on other sites

1 minute ago, Abdul201588 said:

You can run a web server on a Raspberry Pi. That's if you're getting thousands of users connecting. I'm running mine one Dual core processor. 

Still, I'd like to know what is recommended. A lot of RAM? many cores? When it comes to "Serious" servers...

Link to comment
https://linustechtips.com/topic/646778-small-web-server/#findComment-8322619
Share on other sites

Link to post
Share on other sites

11 minutes ago, oferg said:

Still, I'd like to know what is recommended. A lot of RAM? many cores? When it comes to "Serious" servers...

Well, I'd say this: It depends on the people who visit the site

 

I'd say. 8 Cores, 32GB-64GB ram. But usually the Database server is on a different server.

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 32 GB (4x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitor: 24" Acer S240HLBID | OS: Win 11 Pro.

 

Home Lab:  Lenovo ThinkCenter M82 Hyper-V Server 2022 | Dell OptiPlex 9020 Hyper-V Server 2022 | TP-LINK TL-SG108E | Cisco Catalyst C2960CG 8 Port Switch | HP MicroServer G8 SCCM Server | 2x Dell PowerEdge R630 Hyper-V Server 2022

 

 

Link to comment
https://linustechtips.com/topic/646778-small-web-server/#findComment-8322680
Share on other sites

Link to post
Share on other sites

Depending on the load and content of the server, you might need lots of ram, a good multicore cpu and an SSD or Raid setup

Core i7 7700k Kabylake stock + Kraken x52 | ASUS Z170-A | 8GB DDR4 2133MHz HyperX | ASUS GeForce GTX 1060 STRIX 6GB | 250GB SSD Samsung 850 EVO + 2TB HDD WD RE4 | Seasonic X-Series 650w | Corsair 460x RGB  | Win 10 Pro 64 bit | Corsair M65 PRO RGB Mouse | Corsair K70 RGB RapidFire

 

Link to comment
https://linustechtips.com/topic/646778-small-web-server/#findComment-8323194
Share on other sites

Link to post
Share on other sites

47 minutes ago, oferg said:

Do you think an Intel compute stick can be a good web server (on a small scale of course)?

It depends on how much users will on the site. What CPU does the compute stick use?

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 32 GB (4x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitor: 24" Acer S240HLBID | OS: Win 11 Pro.

 

Home Lab:  Lenovo ThinkCenter M82 Hyper-V Server 2022 | Dell OptiPlex 9020 Hyper-V Server 2022 | TP-LINK TL-SG108E | Cisco Catalyst C2960CG 8 Port Switch | HP MicroServer G8 SCCM Server | 2x Dell PowerEdge R630 Hyper-V Server 2022

 

 

Link to comment
https://linustechtips.com/topic/646778-small-web-server/#findComment-8349193
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

×