Chapter 1
Chapter 1
Chapter 1:
Cloud System
Soo Yew Guan
Lim Kim Chuan
Contact [email protected]
[email protected]
• Online
Timetable:
Lecture materials
• Lecture slides
• YouTube videos
• Materials from the Internet
• Student presentations
• Course Work: 40%
• Quiz: 5%
• Test: 15%
• Assignment: 20%
Grading
• Database Design and Queries
• Fundamental Backend Development
• Edge to Cloud Communication Protocol
Course Topics
Platform
• MongoDB (Database)
• https://www.mongodb.com/
• Nodejs (Cloud)
• https://nodejs.org/en/
Software
• MongoDB Compass
• https://www.mongodb.com/try/download/compass
• Microsoft Visual Studio Code
• https://code.visualstudio.com/
Programming Language
• JavaScript
Motivation
Network of physical
objects that are
connected to the
internet allowing
them to send, receive
and exchange data
Internet of Things
• Imagine a device push a byte per-second to the cloud
~ 50 GB per-second of data
Internet of Things
IoT Architecture
• A collection of files storing related data
• For example:
• Facebook Post
• Bank Account
• UTeM Student’s Records
• Contact List on Cell Phone
Database
• A software that allows client to manage large
database that stores, access, and manipulates data
saved on disk, or even in RAM
• Organize data according to a specific pattern, called
database model
• The DBMS has three core components:
• Data storage engine
• Query / Update engine
• Schema management system
Types of Databases
• Hierarchical databases
• Encode a relationship between items where every
record has a single parent.
• Tree-like structure that can be used to categorize records
according to their parent record.
Types of Databases
• Relational databases
• Organize data using tables
• Column has a name and a data
type
• Row represents a data item
Types of Databases
• Non-relational databases
• Also known as document-oriented databases
• Use a key to uniquely identify data within the database
• Do not prescribe any specific format or schema.
Types of Databases
• Time series databases
• Data stores that focus on collecting and managing values
that change over time
• Organized into structures that record the values for a
single item over time or using timestamps as keys to
store values for multiple metrics or columns at once.
Types of Databases
• Also known as NoSQL Database
• Schema-less
Non-Relational Database
• Also known as NoSQL Database
• Schema-less
Non-Relational Database
• Also known as NoSQL Database
• Schema-less
Non-Relational Database
• Also known as NoSQL Database
• Schema-less
{ {
name: Soo, name: Ali,
phone: 1234567890, phone: {
address: FKEKK, UTeM mobile: 2344935809
email: [email protected] home: 234439559
} },
address: FKEKK, UTeM
email: [email protected]
}
Non-Relational Database
• Using key-value stores
Key Value
1234567890 KFC string
2345938930 { JSON
name: McDonalds
country: MY
}
Non-Relational Database
• Description of an information
• Example:
Non-Relational Database
• Facebook post
{
user:
title:
content:
likes:
comments:
}
Non-Relational Database
• Facebook post
{
user: soo
title: BENR2423
content: Welcome to BENR2423
likes: 0
comments: []
}
Non-Relational Database
Cloud Private Server
(Database as A Service) (Self-hosted)
DynamoDB (AWS)
BigTable (Google)
CosmosDB (Azure)
Non-Relational Database
Homework
https://university.mongodb.com/courses/M001/about
Homework
https://ulearn-
eet.utem.edu.my/sem2202122/mod/forum/view.php?id=31366
Official contact hour
• Week #1 to #14 Lecture (live, online): Every Monday 2pm to 4pm