0% found this document useful (0 votes)
23 views

Cloud Computing Resource Replication

Uploaded by

Sulochana jha
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Cloud Computing Resource Replication

Uploaded by

Sulochana jha
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Resource Replication

Introduction to Resource Replication


• Definition: Replication in cloud computing
refers to creating and maintaining multiple
copies of data or resources across different
locations or servers.
• Purpose: To ensure data durability, availability,
and fault tolerance.
• Key Concept: Replication ensures that even if
one copy becomes unavailable, other copies
remain accessible.
Need for Replication
• Availability: Ensures services and data are
always accessible.
• Fault Tolerance: Protects against hardware
failures.
• Performance: Improves read speed by serving
data from multiple locations.
• Scalability: Helps manage high volumes of
requests efficiently.
Types of Replication
1. Synchronous Replication
Definition: Data is written to all replicas simultaneously, ensuring
consistency across all locations.
Characteristics:
– Data is consistent at all replicas.
– Higher latency due to the need for confirmation from all replicas.
– Suitable for mission-critical applications.
2. Asynchronous Replication
Definition: Data is written to the primary copy first, and changes are
propagated to replicas after a delay.
Characteristics:
– Faster write operations.
– Potential for temporary data inconsistency.
– Suitable for less time-sensitive applications.
Comparsion
Benefits
1. High Availability
• Replication ensures that if one copy of the resource fails,
the system can still access other copies.
• Users experience less downtime.

2. Disaster Recovery
• In case of data center failures, replication provides an
instant failover to another location, preventing data loss.
• Automatic recovery mechanisms are set up using
replicated copies.
Example: Replication in Distributed
Systems
Distributed File Systems:
– Example: Hadoop Distributed File System (HDFS)
• Data blocks are replicated across multiple nodes to
ensure availability and reliability.
• Replication factor is configurable, allowing you to set
how many copies of the data you want.
Cloud Databases:
– Example: Amazon RDS, Google Cloud Spanner
• Data is replicated across multiple availability zones or
regions to ensure high availability and resilience.
Case Study - Amazon Web Services (AWS)

AWS S3 Replication:
– AWS S3 supports cross-region replication (CRR)
and same-region replication (SRR).
– Automatically replicates data across multiple
regions, providing disaster recovery and high
availability.
– Ensures that the data is geographically distributed
for resilience.
Replication in Cloud Databases
Example: Google Cloud Spanner
– Global distributed database with strong
consistency and synchronous replication.
– Provides both multi-region replication and
automatic failover.
– Supports high availability with low latency for
global applications.
Challenges in Resource Replication
Consistency vs. Availability:
– Trade-off between maintaining consistency across
replicas and ensuring high availability during failures
(CAP Theorem).
Cost:
– Replicating data across multiple locations can
increase operational costs.
Latency:
– Replicating data across geographically dispersed
locations can add latency.
Multitenancy in Cloud computing

It means that multiple customers of cloud vendor are using the


same computing resources. As they are sharing the same
computing resources but the data of each Cloud customer is kept
totally separate and secure. It is very important concept of Cloud
Computing.
Advantages of
Multitenancy:
• Use of Available resources is maximized by sharing
resources.
• Customer’s Cost of Physical Hardware System is reduces.
• It reduce usage of physical devices and thus power
consumption and cooling cost save.
• Save Vendor’s cost as it become difficult for cloud vendor to
provide separate Physical Services to each individual.
• Provides isolation to user while maximizing resource
utilization.
Disadvantages of Multitenancy

• As data is stored in third party services , this reduces


security of our data and put it into vulnerable condition .
• Unauthorized access will cause damage of data.
• Possibility of competition for system resources.
• It has single point of failure since there is only one
instance of resource, clients face loss of service in such
cases.
Server Consolidation in Cloud Computing

• Server consolidation in cloud computing refers to the process


of combining multiple servers into a single, more powerful
server or cluster of servers.
• Server consolidation is typically achieved through the use of
virtualization technology, which allows multiple virtual
servers to run on a single physical server.
• It also allows organizations to reduce the number of physical
servers they need to maintain, which can lead to cost savings
on hardware, power, and cooling.
The Architecture of Server Consolidation
Types of Server Consolidation

• Logical Consolidation
• Physical Consolidation
• Rationalized Consolidation
Steps for Server Consolidation
• Assessing the Current Environment
• Identifying and Grouping Servers
• Planning the Consolidation
• Testing and Validation
• Consolidating the Servers
• Monitoring and Maintenance
• Optimizing the Consolidated Environment
Benefits of Server Consolidation

• Cost savings
• Improved performance
• Scalability and flexibility
• Management simplicity
• Better utilization of resources

You might also like