PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, January 13, 2022

[FIXED] Linux CentOS 6 load balancer and web server choose

 January 13, 2022     lamp, linux, load-balancing, webserver     No comments   

Issue

I'm currently testing all ways to get it done. I will host a website project inside a Linux cloud server with dedicated resources and CentOS 6.

Now I'm stuck with apache and nginx, which should I choose? I read some tests, saying nginx is a lot faster. But I have a lot more experience with apache.

Also what should I use to load balancer, Linux tools like Hearbeart, peacemaker. Or should I go with nginx upstream?

Also I looked at nginx plus LAMP where nginx serve load balancer.

Please help me to decide.

Thanks


Solution

Based off your question and the comment you made above I'd recommend going with apache. I cannot claim to be an expert with nginx or apache, but do know that nginx is very well known for its super fast serving of static content. Apache will get the job done just fine, and being as you said you know more about apache there is nothing wrong with going that route.

As far as load balancing....it would be my opinion based off what you've said to not worry about load balancing unless you have a need for it. It might be more helpful for you to increase the size/memory/etc of your server if you are experiencing an inability to keep up with demand.

Also based off what you've said I would take a look at what problems you see in your set up and try attack those on an individual basis. Looking at the whole set up and wanting a solution will be difficult for you and anyone helping to really give you good solid advice without knowing what specifics you are having difficulty with.



Answered By - wilbbe01
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing