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?

New contributor
randommman is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 1
    I'm voting to close this question as off-topic because this question isn’t about software, but the deployed environment supporting it. It would be better on one of our peer sites. – Telastyn Nov 9 at 0:49
  • @Telastyn Hi, what website would you recommend me asking this on? – randommman Nov 9 at 1:21
  • I don’t offhand since I don’t frequent those sites, but at first glance ServerFault or Webmasters might be a better fit. Double check their posting guidelines though. And hopefully someone else can comment on the best place for this. – Telastyn Nov 9 at 6:40
  • its badly phrased, but we have a tonne of questions about scalable systems and deployments. I say its on topic, code has to run somewhere and that where often has implications for the design of the code – Ewan Nov 9 at 6:48
  • Quick note: a different OS is not going to help. Centos is just a variant of RHEL and is positioned similarly to Ubuntu for server deployments. CoreOS is not a normal Linux distribution but just a minimal platform for running containers, which is useful for running Kubernetes clusters. Neither of these OSes will save you noticeable CPU or RAM. – amon Nov 9 at 10:50

Its not an operating system problem but a networking one.

Buy a new box and install your website on it.

Buy another box and install a load balancer such as HAProxy on it.

Point your domain name at the HAProxy box

Configure your HAProxy to route website traffic to the two web boxes.

Your Answer

randommman is a new contributor. Be nice, and check out our Code of Conduct.
 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.