My local server is getting close to maximum resources, I want to add another server.

by randommman   Last Updated November 09, 2018 01:05 AM - source

So, first let me explain my current setup. I have an unmanaged ethernet switch which is connected to my intel nuc (server A) and an external had drive.

Server A is running:

  • Ubuntu
  • Docker
  • Gitlab container (I push my code to this, it builds an image adds it to docker and then replaces the old version)

My website is getting more traffic and the cpu and ram resources are starting to be the bottleneck, so I want to alleviate the resources by adding another intel nuc to my main one.

I have been looking at ways to do this, including multiple operating systems that apparently are built for things like this:

  • CoreOS
  • Centos

So my question is, how would I go about expanding my web server to allow more traffic, would I have to create 2 images of my website and upload it to both intel nucs, and then somehow load balance it so when Server A is at max cpu/ram capacity the traffic goes to Server 2? What software/operating systems would help with this situation?

Related Questions

Guidance for Client side

Updated August 28, 2018 02:05 AM

Understanding architecture of NGINX

Updated September 13, 2017 20:05 PM

Scaling tcp/ip socket server applications

Updated September 25, 2017 22:05 PM