Introduction To Cloud Databases: Lecturer: Dr. Pavle Mogin
Introduction To Cloud Databases: Lecturer: Dr. Pavle Mogin
Introduction To Cloud Databases: Lecturer: Dr. Pavle Mogin
Introduction to
Cloud Databases
Lecturer : Dr. Pavle Mogin
SWEN 432
Advanced Database Design and
Implementation
(1)
(2)
(1)
Database as a Service
Cloud storage service where users hire storage facilities, including a
DBMS and pay only for storage space they use
(2)
Cloud Databases
Cloud databases have been developed to serve the
massive growth of digital data and consumer services
in the last 10 to 15 years:
Social networks (Facebook, Twitter),
Data storage and sync services (Dropbox, iCloud),
Desktop replacement (Google Documents)
(1)
(2)
Machine Layout
The underlying infrastructure is usually composed of a
large number of networked commodity machines
Each machine is called a physical node (PN)
Each PN has the same software configuration but
may have varying hardware performance
Processor speed,
Memory and disk capacity
Network
Scalability
(1)
Scalability
(2)
Gossip Protocol
The gossip protocol is an inter node communication
protocol that satisfies the following conditions:
1. The core of the protocol involves periodic, pair wise inter node
interactions
2. The information exchange during these interactions is of a limited
size
3. When nodes interact, the state of at least one of them changes to
reflect the state of the other one
4. Reliable communication is not assumed
5. The frequency of the interaction is low compared to typical
message latency, so that the cost of the protocol is negligible
6. There is some form of randomness in the peer selection
Peers may be selected from the full set of nodes or from a
smaller set of nodes (nodes hosting a replica of the same data)
n 2 h-1
The number of rounds to disseminate information to all n nodes is
h (log
2n )1
Then:
There are h = 15 rounds needed to spread information through the
network and it takes 1.5 seconds
Summary
(1)
Cloud Computing:
Storing and accessing applications and computer data through a Web
browser rather than running installed software on your computer
Internet-based computing whereby information, IT resources, and
software applications are provided to computers and mobile devices
on demand
Summary
(2)
Summary
(3)