Introduction to Cloud Computing · Unit 3 · 10 hrs
Cloud Virtualization technology
Exam-focused notes for Cloud Virtualization technology (Introduction to Cloud Computing, CSC481): what the TU syllabus asks and how it has actually been tested, with 5 solved past questions from this unit.
Cloud Virtualization technology in short
This unit explains virtualization, the technology that makes multi-tenant cloud computing practical, covering its components, the different resources it can virtualize, the levels at which it can be implemented, hypervisor types, load balancing, and the hardware a virtualization deployment actually needs.
What this unit covers
- Introduction to Virtualization
- different types of Virtualization
- Implementation Levels of Virtualization Structures
- Benefits of virtualization
- server virtualization
- virtualization software
- Types of Hypervisor
- Load balancing
- Infrastructure requirement for virtualization
different types of Virtualization
2079 · 10 marks
What is virtualization? Why is virtualization perfect of cloud computing? Discuss different types of virtualization.[10]
Implementation Levels of Virtualization Structures
2080 · 10 marks
Discuss different implementation levels of virtualization. What are the benefits of virtualization?[10]
Load balancing
2080 · 5 marks
What is load balancing? How is load balancing done? [5]
Show solved answerHide answer
Load Balancing
Definition
Load balancing refers to the process of distributing a set of tasks over a set of resources with the aim of making their overall processing more efficient. It optimizes the response time and avoids unevenly overloading some compute nodes while other nodes are left idle. In the context of networking and cloud computing, it refers to distributing incoming network traffic across a group of backend servers.
How Load Balancing is Done
Load balancing is typically performed using the following approaches and techniques:
1. Load Balancer (Hardware/Software)
A dedicated load balancer sits between the client and the backend server pool. It receives all incoming requests and forwards them to an appropriate server based on a chosen algorithm.
Client Requests
|
[Load Balancer]
/ | \
[S1] [S2] [S3] <-- Backend Servers
2. Common Load Balancing Algorithms
| Algorithm | Description |
|---|---|
| Round Robin | Requests are distributed to each server in turn, one after another |
| Least Connection | New request is sent to the server with the fewest active connections |
| IP Hash | Client IP address is used to determine which server receives the request |
| Weighted Round Robin | Servers with higher capacity are assigned more requests proportionally |
| Random | Requests are assigned to servers randomly |
3. Health Monitoring
The load balancer continuously monitors the health of backend servers. If a server goes down or becomes unresponsive, the load balancer stops sending traffic to it and redirects requests to healthy servers.
4. Session Persistence (Sticky Sessions)
In some cases, the load balancer ensures that a particular client is always directed to the same server during a session, maintaining session continuity.
5. DNS-Based Load Balancing
Multiple IP addresses are associated with a single domain name. DNS resolves the domain to different IPs for different clients, distributing the load geographically.
Benefits of Load Balancing
- Improves response time and performance
- Prevents any single server from becoming a bottleneck
- Provides high availability and fault tolerance
- Enables scalability by adding more servers to the pool
- Keeps idle nodes from wasting resources
Summary: Load balancing distributes workloads evenly across multiple servers using algorithms like Round Robin or Least Connection, managed by a load balancer, ensuring efficiency, reliability, and optimal resource utilization.
2079 · 5 marks
What is load balancing? How is load balancing done? [5]
Show solved answerHide answer
Load Balancing
Definition
Load balancing refers to the process of distributing a set of tasks over a set of resources with the aim of making their overall processing more efficient. It optimizes response time and avoids unevenly overloading some compute nodes while other nodes are left idle. In the context of networking and cloud computing, it refers to distributing incoming network traffic across a group of backend servers.
How Load Balancing is Done
Load balancing is typically performed using a load balancer, which sits between the client and the backend server pool. The following are the common methods/algorithms used to perform load balancing:
1. Round Robin
- Requests are distributed to each server in a sequential, cyclic order.
- Simple and easy to implement.
- Works well when all servers have equal capacity.
2. Least Connection Method
- The load balancer directs traffic to the server with the fewest active connections at that moment.
- Suitable when requests have varying processing times.
3. IP Hash Method
- The client's IP address is used to determine which server receives the request.
- Ensures that a particular client is always directed to the same server (session persistence).
4. Weighted Round Robin
- Each server is assigned a weight based on its capacity.
- Servers with higher weights receive more requests than those with lower weights.
- Useful when servers have different processing capabilities.
5. Resource-Based (Adaptive) Load Balancing
- The load balancer checks the current load/health of each server (CPU usage, memory, etc.) before forwarding a request.
- Requests are sent to the server with the most available resources.
Benefits of Load Balancing
| Benefit | Description |
|---|---|
| Improved Performance | Distributes workload evenly, reducing response time |
| High Availability | If one server fails, traffic is redirected to others |
| Scalability | New servers can be added easily to handle more load |
| No Single Point of Failure | Ensures continuous service availability |
Summary
Load balancing is a critical technique in cloud computing and distributed systems that ensures efficient resource utilization, high availability, and optimal response time by intelligently distributing tasks or network traffic across multiple servers or nodes.
Make Unit 3 stick
Practice CSC481 with flashcards & quizzes