How does horizontal scaling decrease load of a system?

0 votes

say I have a 3 node LXD cluster running under a load balancer. Traffic begins ramping up and I need to scale horizontally by adding another node into the cluster. At this point, I have a 4-node cluster under the LB.

In what ways in this approach beneficial? I'm trying to understand if it reduces the load of the overall baremetal that contains the nodes or just allows for more requests to process. In the case that it's more requests that are allowed to process through, would I want to me measuring the load average of each individual container?

Jul 11, 2018 in Other DevOps Questions by Nilesh
• 6,880 points
25 views

1 answer to this question.

0 votes
If there are spare CPU cycles and sufficient network bandwidth, adding a new node will always allow more requests to be handled simultaneously. In some cases though this will reduce the responsiveness of each request.

If CPU load is high then adding another node (on the same box) will reduce throughput (extend response time -- because you're asking the cpu to do more work that it can do simultaneously). If instead the load is high due blocking IO then adding another node on the box should not significantly affect the processing time for each request.

In the blocking IO case you can add new nodes until CPU is at its threshold level -- you never want to max out CPU, you want to have the thresholds at, maybe, 75%, to allow for variations in load.
answered Jul 11, 2018 by Kalgi
• 2,620 points

Related Questions In Other DevOps Questions

0 votes
1 answer

How to get issues count based on rules in a sonar project?

There are API docs in the footer ...READ MORE

answered May 4, 2018 in Other DevOps Questions by DareDev
• 6,810 points
384 views
0 votes
1 answer

How to get results of SonarQube?

You can use sonarqube quality gates which ...READ MORE

answered Jun 8, 2018 in Other DevOps Questions by ajs3033
• 7,280 points
686 views
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
87 views
+1 vote
1 answer

How to kill a specific instance on Pivotal Cloud Foundry

Use the following command cf restart-app-instance This will issue ...READ MORE

answered Jul 25, 2018 in Other DevOps Questions by Kalgi
• 41,760 points
295 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
181 views
0 votes
1 answer
0 votes
1 answer

SaltStack: how do I repeat other states with context?

In your case it’ll look something like ...READ MORE

answered Jul 10, 2018 in Other DevOps Questions by Kalgi
• 2,620 points
63 views
0 votes
1 answer