Contact Us
Projects | Assignments
sellfycode@gmail.com
More
Get Homework Help
English
Español
Português
Français
Deutsch
Italiano
Русский
close
Contact Us
Projects | Assignments
sellfycode@gmail.com
Starting from:
$30
Add to cart
CLOUD COMPTING-Lab 5 Load Balancing Solved
Goal for Lab 5
• Objectives:
• Understanding the concept of load balancing
• Monitor the utilization status of each VM and each host
• Moving VMs from hot spot to cold ones
• Complete this experiment using at least two computers, the more the better
To Start
• Go to dockerhub and pull one image call mongo-express
• https://hub.docker.com/_/mongo-express
• Test this mongodb web service with simple SQL statement
• Hints, you can generate your own DB file on random data
• Write a HTTP request generator that wraps SQL statement
• https://sourceforge.net/projects/http-req-gen/
• https://github.com/Kong/httpsnippet
Combine Them Up
• First, connect your request generator to the MongoDB service, basically shooting different SQL statement at a self-defined rate
• Second, make multiple duplicates of the MongoDB service, and randomly distribute the SQL statement to all service hosts
• Third, based on your homework 2-3, use your hypercall to detect the runtime system status, including CPU utilization, memory utilization, etc.
• Set a threshold for such status and name it as the hotspot when it is over
• E.g., when CPU util 80%, this is a hot spot, you need to either move some hosts to other machines, or distribute less workloads to this spot
Starting from:
$30
Add to cart
1 file (2.9MB)
More products
Homework 3 Solution
$20
Add to cart
Homework 2 Solution
$15
Add to cart
Homework 1 solution
$20
Add to cart