SlideShare uma empresa Scribd logo
1 de 17
Baixar para ler offline
 
 
Lesson Keynote 
Distributed Systems in Data Engineering 
By: Oluwasegun Matthew | oadetimehin@terragonltd.com 
 
Summary 
1. Introduction to Distributed Systems 
a. The concept of server-client architecture 
b. Channel for Communication 
c. Impact on Data Engineering at Scale 
2. From Localhost to Production - things to watchout for... 
3. Industry based Technologies/Tools in View 
a. Messaging kits - RabbitMQ & Kafka 
b. In Memory Data Caching - Redis & Aerospike 
c. Data in Stream Tools - AWS Kinesis 
d. Monitoring and Log Watch - CloudWatch 
4. Summary - in class 
5. Questions 
Class Activity:​ ​Form 4 groups, choose from any of the messaging and in-memory data caching 
tool, use this to ​create a resilient distributed system​ to fix the following problems:  
- Crashing nature of e-Portal portal 
- Exam records processing 
Let’s Dive In... 
1 
 
 
1. Introduction to Distributed Systems 
According to Wikipedia through Google,  
 
A distributed system in its most simplest definition is a group of computers working together as to                                 
appear as a single computer to the end-user. These machines have a shared state, operate                             
concurrently and can fail independently without affecting the whole system’s uptime. 
This is in line with ever-growing technological expansion of the world, distributed systems are                           
becoming more and more widespread. Take a look at the increasing number of available                           
computer technologies/innovation around, this is sporadically increasing, and this result in                     
intense computational requirement. 
Yeah, Moore’s law proposed more computing power by fitting more transistors (which                       
approximately doubles every two years) into a simple chip using cost-efficient approach - cool,                           
but over the past 5 years, there has been little deviation from this - ability to scale horizontally                                   
and not just vertically alone. 
 
 
 
 
 
 
2 
 
 
The Concept of Server-Client Architecture 
Client-server architecture(client/server) is a network architecture in which each computer or                     
process on the network is either a client or a server.  
Just the way it is in a general world, activities is usually based on server/client relationship and                                 
this isn’t different in technology too e.g Cashier/Customer, Bus Conductor/Passengers etc. 
Another type of network architecture is known as a peer-to-peer architecture because each node                           
has equivalent responsibilities -​ but this isn’t what we are discussing today 
 
 
 
 
 
The approach of breaking breaking larger application into chunks over a server-client 
architecture can be explained with ​Microservices. ​Consider the cases below: 
 
 
3 
 
 
Case 1 - Monolith: ​At the core of the application is the business logic, which is implemented by                                   
modules that define services, domain objects, and events. Surrounding the core are adapters that                           
interface with the external world. Examples of adapters include database access components,                       
messaging components that produce and consume messages, and web components that either                       
expose API or implement a UI - this results in ​Monolithic Hell 
 
 
4 
 
 
Case 2 - Microservices:​ Here we are tackling complexity, A service typically implements a set of 
distinct features or functionality, such as order management, customer management etc. Each 
microservice is a mini-application that has its own hexagonal architecture consisting of business 
logic along with various adapters. Some microservices world expose an API that’s consumed by 
other microservies or by the application’s client. Other microservices might implement a web UI. 
At runtime, each instance is often a cloud VM or a Docker container. 
 
 
5 
 
 
 
 
 
 
Quiz ​Give…  
● Examples of a client/server relationship in real world 
● Methods of binding two systems that you know 
● Two architectures in which softwares are designed 
● Major issue with Monolithic design 
 
 
 
 
 
 
 
 
 
 
6 
 
 
Channel for Communication 
When we have a decentralized system, it’s important for us to make these systems communicate                             
with one-another. The client/server architecture emphasis a producer/consumer computing                 
architecture where the server acts as the producer and the client as a consumer. The model of                                 
communication can either be ​synchronous​ or ​asynchronous​. Each of this further broken into: 
- API Mode 
- Buffer Mode 
 
API Mode: is a synchronous (or instant feedback) mode of communication. It usually used for                             
one-to-one type of communication through protocols like http, https, smtp, smpp etc. 
 
Buffer Mode: is an asynchronous mode of communication, where feedback isn’t needed                       
immediately. It works for both one-to-one and broadcast communication. In this mode of                         
communication, a queuing/messaging/buffering system is placed in between these two systems                     
to manage flow of information. Here the following queuing algorithm is emphasized: 
- FIFO (First In First Out) 
- LIFO (Last In First Out) 
- SJF (Shortest Job First) 
- Round Robin 
 
Impact on Data Engineering at Scale 
Again, bringing the concept of distributed system into data Engineering...Hey, what’s data                       
engineering? 
Data engineering is the act of building and managing information or “big data” infrastructure.                           
Data engineers create architecture that helps analyze and process data in the way it’s needed by                               
an organization, from data processing to creating a pipeline of data into lake and warehouse for                               
business value creation. 
The following are some of the positive impacts of distributed system in data engineering: 
- Creating resilient data architecture 
- Easily managed systems 
7 
 
 
- Security and control 
- Reduced failure point 
- Fault detection with ease 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8 
 
 
 
 
 
 
 
 
 
Quiz ​Mention...  
● 2 Queue algorithms you are familiar with 
● Web Technologies that runs on HTTP protocol 
 
 
 
 
 
 
 
 
9 
 
 
2. From Localhost to Production - things to watchout for.. 
When systems are built on development environment, a lot isn’t considered, this may be due to 
experience, right information or un-envisaged circumstances. This implies that a perfect system 
cannot be built at development stage until it’s tested in real-life scenario. 
Sometimes, system overkill design might be a major flaw of the development phase, but the 
production will really tell or not. 
List of things to watch out: 
- Unexpected spike in platform/technology usage - system overload 
- Performance as a result of consistent platform usage 
- Security of interconnected systems 
- Extensibility of features 
- Easy of deployment 
 
 
 
 
 
 
 
 
 
 
 
 
 
10 
 
 
Enough of theoretical exposition, Let’s go practical… 
 
3. Industry based Technologies/Tools in View 
Here we shall talk about the different tools used in the industry to manage distributed system 
Messaging Kits ​- e.g. RabbitMQ or Kafka 
 
RabbitMQ is the most widely deployed open source message broker - ​https://www.rabbitmq.com/ 
Tutorial Guide (in PHP) - https://www.rabbitmq.com/tutorials/tutorial-three-php.html 
 
 
11 
 
 
 
 
12 
 
 
 
 
 
 
 
13 
 
 
In Memory Data Caching ​- e.g. Redis or Aerospike 
 
 
Redis is an open source in-memory data structure store used as a databse, cache and message                               
broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range                             
queries, bitmaps, hyperlogs etc.. - ​https://redis.io/ 
 
Documentation found here for PHP: https://github.com/amphp/redis 
14 
 
 
 
Data in Steam Tools ​- AWS Kinesis 
 
AWS Kinesis makes it easy to collect, process and analyze real-time streaming data so you can                               
get timely insights and react quickly to new information; owned by Amazon  
- https://aws.amazon.com/kinesis/ 
 
 
 
15 
 
 
Monitoring and Logs Watch​ - CloudWatch 
` 
AWS Cloudwatch is a monitoring and management service built for developers, system                       
operators, site reliability engineers (SRE), and IT managers https://aws.amazon.com/cloudwatch/ 
 
 
 
 
 
 
 
 
 
 
 
 
Assessment 
See class activity on the first page... 
 
 
 
 
16 
 
 
 
 
 
 
Questions and Mentorship 
For further questions, collaboration or mentorship, reach out: 
Email: oadetimehin@terragonltd.com  
Mobile: 07060514642 
 
 
17 

Mais conteúdo relacionado

Mais procurados

NComputing Product Presentation
NComputing Product PresentationNComputing Product Presentation
NComputing Product Presentation
NCS Computech Ltd.
 
KFServing, Model Monitoring with Apache Spark and a Feature Store
KFServing, Model Monitoring with Apache Spark and a Feature StoreKFServing, Model Monitoring with Apache Spark and a Feature Store
KFServing, Model Monitoring with Apache Spark and a Feature Store
Databricks
 

Mais procurados (20)

AWS re:Invent 2016: Deep Dive: AWS Direct Connect and VPNs (NET402)
AWS re:Invent 2016: Deep Dive: AWS Direct Connect and VPNs (NET402)AWS re:Invent 2016: Deep Dive: AWS Direct Connect and VPNs (NET402)
AWS re:Invent 2016: Deep Dive: AWS Direct Connect and VPNs (NET402)
 
ProxySQL Cluster - Percona Live 2022
ProxySQL Cluster - Percona Live 2022ProxySQL Cluster - Percona Live 2022
ProxySQL Cluster - Percona Live 2022
 
VMware ESXi - Intel and Qlogic NIC throughput difference v0.6
VMware ESXi - Intel and Qlogic NIC throughput difference v0.6VMware ESXi - Intel and Qlogic NIC throughput difference v0.6
VMware ESXi - Intel and Qlogic NIC throughput difference v0.6
 
NComputing Product Presentation
NComputing Product PresentationNComputing Product Presentation
NComputing Product Presentation
 
Colt's evolution from MPLS to Cloud Networking
Colt's evolution from MPLS to Cloud Networking Colt's evolution from MPLS to Cloud Networking
Colt's evolution from MPLS to Cloud Networking
 
[2019] 200만 동접 게임을 위한 MySQL 샤딩
[2019] 200만 동접 게임을 위한 MySQL 샤딩[2019] 200만 동접 게임을 위한 MySQL 샤딩
[2019] 200만 동접 게임을 위한 MySQL 샤딩
 
MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바
 
CXL Consortium Update: Advancing Coherent Connectivity
CXL Consortium Update: Advancing Coherent ConnectivityCXL Consortium Update: Advancing Coherent Connectivity
CXL Consortium Update: Advancing Coherent Connectivity
 
Cisco ucs presentation
Cisco ucs presentationCisco ucs presentation
Cisco ucs presentation
 
Disaster Recovery with MirrorMaker 2.0 (Ryanne Dolan, Cloudera) Kafka Summit ...
Disaster Recovery with MirrorMaker 2.0 (Ryanne Dolan, Cloudera) Kafka Summit ...Disaster Recovery with MirrorMaker 2.0 (Ryanne Dolan, Cloudera) Kafka Summit ...
Disaster Recovery with MirrorMaker 2.0 (Ryanne Dolan, Cloudera) Kafka Summit ...
 
MySQL Group Replication - Ready For Production? (2018-04)
MySQL Group Replication - Ready For Production? (2018-04)MySQL Group Replication - Ready For Production? (2018-04)
MySQL Group Replication - Ready For Production? (2018-04)
 
VMware Virtual SAN Presentation
VMware Virtual SAN PresentationVMware Virtual SAN Presentation
VMware Virtual SAN Presentation
 
New features in ProxySQL 2.0 (updated to 2.0.9) by Rene Cannao (ProxySQL)
New features in ProxySQL 2.0 (updated to 2.0.9) by Rene Cannao (ProxySQL)New features in ProxySQL 2.0 (updated to 2.0.9) by Rene Cannao (ProxySQL)
New features in ProxySQL 2.0 (updated to 2.0.9) by Rene Cannao (ProxySQL)
 
How to size up an Apache Cassandra cluster (Training)
How to size up an Apache Cassandra cluster (Training)How to size up an Apache Cassandra cluster (Training)
How to size up an Apache Cassandra cluster (Training)
 
Apache BookKeeper State Store: A Durable Key-Value Store - Pulsar Summit NA 2021
Apache BookKeeper State Store: A Durable Key-Value Store - Pulsar Summit NA 2021Apache BookKeeper State Store: A Durable Key-Value Store - Pulsar Summit NA 2021
Apache BookKeeper State Store: A Durable Key-Value Store - Pulsar Summit NA 2021
 
KFServing, Model Monitoring with Apache Spark and a Feature Store
KFServing, Model Monitoring with Apache Spark and a Feature StoreKFServing, Model Monitoring with Apache Spark and a Feature Store
KFServing, Model Monitoring with Apache Spark and a Feature Store
 
Real-time analytics with Druid at Appsflyer
Real-time analytics with Druid at AppsflyerReal-time analytics with Druid at Appsflyer
Real-time analytics with Druid at Appsflyer
 
Greenplum Architecture
Greenplum ArchitectureGreenplum Architecture
Greenplum Architecture
 
Pulsar Storage on BookKeeper _Seamless Evolution
Pulsar Storage on BookKeeper _Seamless EvolutionPulsar Storage on BookKeeper _Seamless Evolution
Pulsar Storage on BookKeeper _Seamless Evolution
 
Query logging with proxysql
Query logging with proxysqlQuery logging with proxysql
Query logging with proxysql
 

Semelhante a Distributed Systems in Data Engineering

NMS Projects and POCs completed and ongoing for OSS NAM v 1.5 Linkedin
NMS Projects and POCs completed and ongoing for OSS NAM v 1.5 LinkedinNMS Projects and POCs completed and ongoing for OSS NAM v 1.5 Linkedin
NMS Projects and POCs completed and ongoing for OSS NAM v 1.5 Linkedin
Javier Guillermo, MBA, MSc, PMP
 
A New Way Of Distributed Or Cloud Computing
A New Way Of Distributed Or Cloud ComputingA New Way Of Distributed Or Cloud Computing
A New Way Of Distributed Or Cloud Computing
Ashley Lovato
 
Solving big data challenges for enterprise application
Solving big data challenges for enterprise applicationSolving big data challenges for enterprise application
Solving big data challenges for enterprise application
Trieu Dao Minh
 
Architectural Design Report G4
Architectural Design Report G4Architectural Design Report G4
Architectural Design Report G4
Prizzl
 
Distributed Computing Report
Distributed Computing ReportDistributed Computing Report
Distributed Computing Report
IIT Kharagpur
 

Semelhante a Distributed Systems in Data Engineering (20)

CC LECTURE NOTES (1).pdf
CC LECTURE NOTES (1).pdfCC LECTURE NOTES (1).pdf
CC LECTURE NOTES (1).pdf
 
Microservices architecture
Microservices architectureMicroservices architecture
Microservices architecture
 
NMS Projects and POCs completed and ongoing for OSS NAM v 1.5 Linkedin
NMS Projects and POCs completed and ongoing for OSS NAM v 1.5 LinkedinNMS Projects and POCs completed and ongoing for OSS NAM v 1.5 Linkedin
NMS Projects and POCs completed and ongoing for OSS NAM v 1.5 Linkedin
 
Introduction Of Cloud Computing
Introduction Of Cloud ComputingIntroduction Of Cloud Computing
Introduction Of Cloud Computing
 
HOW-CLOUD-IMPLEMENTATION-CAN-ENSURE-MAXIMUM-ROI.pdf
HOW-CLOUD-IMPLEMENTATION-CAN-ENSURE-MAXIMUM-ROI.pdfHOW-CLOUD-IMPLEMENTATION-CAN-ENSURE-MAXIMUM-ROI.pdf
HOW-CLOUD-IMPLEMENTATION-CAN-ENSURE-MAXIMUM-ROI.pdf
 
Distributed system
Distributed systemDistributed system
Distributed system
 
publishable paper
publishable paperpublishable paper
publishable paper
 
paradigms cloud.pptx
paradigms cloud.pptxparadigms cloud.pptx
paradigms cloud.pptx
 
A New Way Of Distributed Or Cloud Computing
A New Way Of Distributed Or Cloud ComputingA New Way Of Distributed Or Cloud Computing
A New Way Of Distributed Or Cloud Computing
 
Cloud computing Review over various scheduling algorithms
Cloud computing Review over various scheduling algorithmsCloud computing Review over various scheduling algorithms
Cloud computing Review over various scheduling algorithms
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
E-Business And Technology Essay
E-Business And Technology EssayE-Business And Technology Essay
E-Business And Technology Essay
 
Solving big data challenges for enterprise application
Solving big data challenges for enterprise applicationSolving big data challenges for enterprise application
Solving big data challenges for enterprise application
 
Client Server Model and Distributed Computing
Client Server Model and Distributed ComputingClient Server Model and Distributed Computing
Client Server Model and Distributed Computing
 
OOP - Basing Software Development on Reusable
OOP - Basing Software Development on Reusable OOP - Basing Software Development on Reusable
OOP - Basing Software Development on Reusable
 
1.intro. to distributed system
1.intro. to distributed system1.intro. to distributed system
1.intro. to distributed system
 
Architectural Design Report G4
Architectural Design Report G4Architectural Design Report G4
Architectural Design Report G4
 
Distributed Computing Report
Distributed Computing ReportDistributed Computing Report
Distributed Computing Report
 
Report_Internships
Report_InternshipsReport_Internships
Report_Internships
 
Over view of software artitecture
Over view of software artitectureOver view of software artitecture
Over view of software artitecture
 

Mais de Adetimehin Oluwasegun Matthew

Mais de Adetimehin Oluwasegun Matthew (7)

Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Machine Learning - Deep Learning
Machine Learning - Deep LearningMachine Learning - Deep Learning
Machine Learning - Deep Learning
 
Personal Branding - Necessity for DevOps Engineers
Personal Branding - Necessity for DevOps EngineersPersonal Branding - Necessity for DevOps Engineers
Personal Branding - Necessity for DevOps Engineers
 
Relevance of academics to Industry
Relevance of academics to IndustryRelevance of academics to Industry
Relevance of academics to Industry
 
Choosing a Careeer in Information Technology
Choosing a Careeer in Information TechnologyChoosing a Careeer in Information Technology
Choosing a Careeer in Information Technology
 
Engineering Data Pipeline for Data-Driven Analytics
Engineering Data Pipeline for Data-Driven AnalyticsEngineering Data Pipeline for Data-Driven Analytics
Engineering Data Pipeline for Data-Driven Analytics
 
Becoming a world class engineer
Becoming a world class engineerBecoming a world class engineer
Becoming a world class engineer
 

Último

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Último (20)

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 

Distributed Systems in Data Engineering

  • 1.     Lesson Keynote  Distributed Systems in Data Engineering  By: Oluwasegun Matthew | oadetimehin@terragonltd.com    Summary  1. Introduction to Distributed Systems  a. The concept of server-client architecture  b. Channel for Communication  c. Impact on Data Engineering at Scale  2. From Localhost to Production - things to watchout for...  3. Industry based Technologies/Tools in View  a. Messaging kits - RabbitMQ & Kafka  b. In Memory Data Caching - Redis & Aerospike  c. Data in Stream Tools - AWS Kinesis  d. Monitoring and Log Watch - CloudWatch  4. Summary - in class  5. Questions  Class Activity:​ ​Form 4 groups, choose from any of the messaging and in-memory data caching  tool, use this to ​create a resilient distributed system​ to fix the following problems:   - Crashing nature of e-Portal portal  - Exam records processing  Let’s Dive In...  1 
  • 2.     1. Introduction to Distributed Systems  According to Wikipedia through Google,     A distributed system in its most simplest definition is a group of computers working together as to                                  appear as a single computer to the end-user. These machines have a shared state, operate                              concurrently and can fail independently without affecting the whole system’s uptime.  This is in line with ever-growing technological expansion of the world, distributed systems are                            becoming more and more widespread. Take a look at the increasing number of available                            computer technologies/innovation around, this is sporadically increasing, and this result in                      intense computational requirement.  Yeah, Moore’s law proposed more computing power by fitting more transistors (which                        approximately doubles every two years) into a simple chip using cost-efficient approach - cool,                            but over the past 5 years, there has been little deviation from this - ability to scale horizontally                                    and not just vertically alone.              2 
  • 3.     The Concept of Server-Client Architecture  Client-server architecture(client/server) is a network architecture in which each computer or                      process on the network is either a client or a server.   Just the way it is in a general world, activities is usually based on server/client relationship and                                  this isn’t different in technology too e.g Cashier/Customer, Bus Conductor/Passengers etc.  Another type of network architecture is known as a peer-to-peer architecture because each node                            has equivalent responsibilities -​ but this isn’t what we are discussing today            The approach of breaking breaking larger application into chunks over a server-client  architecture can be explained with ​Microservices. ​Consider the cases below:      3 
  • 4.     Case 1 - Monolith: ​At the core of the application is the business logic, which is implemented by                                    modules that define services, domain objects, and events. Surrounding the core are adapters that                            interface with the external world. Examples of adapters include database access components,                        messaging components that produce and consume messages, and web components that either                        expose API or implement a UI - this results in ​Monolithic Hell      4 
  • 5.     Case 2 - Microservices:​ Here we are tackling complexity, A service typically implements a set of  distinct features or functionality, such as order management, customer management etc. Each  microservice is a mini-application that has its own hexagonal architecture consisting of business  logic along with various adapters. Some microservices world expose an API that’s consumed by  other microservies or by the application’s client. Other microservices might implement a web UI.  At runtime, each instance is often a cloud VM or a Docker container.      5 
  • 6.             Quiz ​Give…   ● Examples of a client/server relationship in real world  ● Methods of binding two systems that you know  ● Two architectures in which softwares are designed  ● Major issue with Monolithic design                      6 
  • 7.     Channel for Communication  When we have a decentralized system, it’s important for us to make these systems communicate                              with one-another. The client/server architecture emphasis a producer/consumer computing                  architecture where the server acts as the producer and the client as a consumer. The model of                                  communication can either be ​synchronous​ or ​asynchronous​. Each of this further broken into:  - API Mode  - Buffer Mode    API Mode: is a synchronous (or instant feedback) mode of communication. It usually used for                              one-to-one type of communication through protocols like http, https, smtp, smpp etc.    Buffer Mode: is an asynchronous mode of communication, where feedback isn’t needed                        immediately. It works for both one-to-one and broadcast communication. In this mode of                          communication, a queuing/messaging/buffering system is placed in between these two systems                      to manage flow of information. Here the following queuing algorithm is emphasized:  - FIFO (First In First Out)  - LIFO (Last In First Out)  - SJF (Shortest Job First)  - Round Robin    Impact on Data Engineering at Scale  Again, bringing the concept of distributed system into data Engineering...Hey, what’s data                        engineering?  Data engineering is the act of building and managing information or “big data” infrastructure.                            Data engineers create architecture that helps analyze and process data in the way it’s needed by                                an organization, from data processing to creating a pipeline of data into lake and warehouse for                                business value creation.  The following are some of the positive impacts of distributed system in data engineering:  - Creating resilient data architecture  - Easily managed systems  7 
  • 8.     - Security and control  - Reduced failure point  - Fault detection with ease                                              8 
  • 9.                   Quiz ​Mention...   ● 2 Queue algorithms you are familiar with  ● Web Technologies that runs on HTTP protocol                  9 
  • 10.     2. From Localhost to Production - things to watchout for..  When systems are built on development environment, a lot isn’t considered, this may be due to  experience, right information or un-envisaged circumstances. This implies that a perfect system  cannot be built at development stage until it’s tested in real-life scenario.  Sometimes, system overkill design might be a major flaw of the development phase, but the  production will really tell or not.  List of things to watch out:  - Unexpected spike in platform/technology usage - system overload  - Performance as a result of consistent platform usage  - Security of interconnected systems  - Extensibility of features  - Easy of deployment                            10 
  • 11.     Enough of theoretical exposition, Let’s go practical…    3. Industry based Technologies/Tools in View  Here we shall talk about the different tools used in the industry to manage distributed system  Messaging Kits ​- e.g. RabbitMQ or Kafka    RabbitMQ is the most widely deployed open source message broker - ​https://www.rabbitmq.com/  Tutorial Guide (in PHP) - https://www.rabbitmq.com/tutorials/tutorial-three-php.html      11 
  • 14.     In Memory Data Caching ​- e.g. Redis or Aerospike      Redis is an open source in-memory data structure store used as a databse, cache and message                                broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range                              queries, bitmaps, hyperlogs etc.. - ​https://redis.io/    Documentation found here for PHP: https://github.com/amphp/redis  14 
  • 15.       Data in Steam Tools ​- AWS Kinesis    AWS Kinesis makes it easy to collect, process and analyze real-time streaming data so you can                                get timely insights and react quickly to new information; owned by Amazon   - https://aws.amazon.com/kinesis/        15 
  • 16.     Monitoring and Logs Watch​ - CloudWatch  `  AWS Cloudwatch is a monitoring and management service built for developers, system                        operators, site reliability engineers (SRE), and IT managers https://aws.amazon.com/cloudwatch/                          Assessment  See class activity on the first page...          16 
  • 17.             Questions and Mentorship  For further questions, collaboration or mentorship, reach out:  Email: oadetimehin@terragonltd.com   Mobile: 07060514642      17