SlideShare une entreprise Scribd logo
1  sur  26
Télécharger pour lire hors ligne
Knowledge Sharing Session
Up and Running with gRPC
&
Could Career
Md. Sadhan Sarker
1
A high performance, open source
universal RPC framework by google.
Now its part of the Cloud
Foundation (CNCF)
https://grpc.io/about/
2
Understand RPC!
An RPC is a Remote Procedure Call. Google introduce gRPC, But
Common Object Request Broker Architecture (CORBA) had RPC before!
Server Code (any language)
…[code]
def function create_post(Post post) {
…
}
…[code]
Client Code (any language)
…[code]
server.createPost(post)
…[code]
RPC call
(over the network)
3
Understand RPC!
Image from grpc.io
4
When we choose gRPC?
Why gRPC?
- build microservices
- connect cross-languages services
- Build distributed services
- need client & server streaming
- http2 based transport protocol
5
gRPC vs REST
Comparisons
- REST uses HTTP/1.1 protocol through the JSON or XML messaging
format. Common http verbs like {GET, POST, PUT, DELETE etc}
- gRPC uses HTTP/2 protocol through Protocol buffer. Methods
{unary, server-streaming, client-streaming and bi-directional call}. It
offers language independence support 11 programming languages.
https://grpc.io/blog/principles/
7
gRPC methods/operations
Image from google
6
What is Protocol Buffer
- Protocol buffer are language language-neutral, platform-neutral
extensible mechanism for serializing structured data
- Code generated for any language
- Very convenient for transporting a lot of data
- Data is binary and efficiently serialized (small payloads)
- Support Java, Go, Python, NodeJs, Objective-C, C++ and more with
proto3 language version.
https://developers.google.com/protocol-bu
ff
ers
8
REST vs gRPC
Features gRPC REST
Protocol HTTP/2 (Streaming) HTTP/1.1 or HTTP/2 [Request/Reply]
Payload/Serialization Protocol Buffer (binary, small) JSON (text, large)
Code Generation Supported through (.protoc) Third party tool like Swagger, Postman
Streaming Bidirectinal Client to Server. Request only
API contract Strict, Required Loose, optional, (Open API)
Security TLS/SSL TLS/SSL
Performance Fast Slow
Browser support Limited required [grpc-web and proxy layer] YES
9
Sample gRPC Based Micro-service Architecture
REST
10
Demonstration
Time!
Image from theverge.com
11
Cloud ecosystem is very
easy to create?
What do you think?
Infrastructure Backend
Database API
Deployment
Multi-Platforms
Monitoring
Notifications
Need to scale
Crash logs
Hosting
Storage
Authentication
Server
Analytics
Reporting
Consumer Predictions
Automation
AI
Logs
UI
Integration
Reliability
Ensure Quality
Growing business
ABC testing
Migration
Machine Learning
Legacy support
ACID
Vulnerability
Community
12
insights
SaaS
PaaS
IaaS
VM
BigData
Logging
Cluster
Load Balancer
Reporting
Monitoring
Security
Policy
Infrastructure as code
Configuration
Analytics
Performance
Durability
Billing
VPS
Versioning
Optimisation
On-Demand
Quality
Management
Cost minimisation
Automation
Protection
Build
Container
Registry
Kubernets
Encryption
Decryption
Pub/Sub
Scalability
Caching
SDK
Artifact
CI/CD
Repository
IOT
DNS
CDN
VPN
MAP
Debug
Error handling
Migration
Integration
Game Server
Scheduler
Distributed
Operation
Few Items are includes just for vitalisation!
Docker
Async
Networking
13
?
14
Cloud providers come to solve consumer problems as well as provide business needs.
Here, I tried to mention, most popular 3 providers.
15
A Cloud Engineer responsibility:-
Responsibility
- Duties associated with cloud computing,
- including planning, design, and
- management, maintenance, and support.
16
What is Cloud Computing?
Cloud Computing
- Computing that involves storing data, and
- running applications over the internet through
your browser
- Eg. email, banking, gaming, social media, etc.
17
Types of Cloud Computing?
Computing Types
- IaaS => Infrastructure as a Service
- PaaS => Platform as a Service
- SaaS => Software as a Service
18
On-Prime vs Iaas vs Pass vs SaaS
Computing Types
19
Common jobs roles are:-
Job Roles
- Cloud Architect,
- Cloud Engineer,
- Cloud Consultant,
- Cloud Security,
- Cloud Application Engineer,
- Cloud DevOps Engineer, and
- Site reliability engineer (SRE)
20
Common Skill requirements are
Expected Skills
- Programming (Eg. Java, Go, Python, NodeJs)
- Database (SQL, NoSQL, GraphDB)
- Computer Systems (Operating systems, Virtualization concepts in compute
(e.g. Hypervisors, Containers), Networking (DNS, load balancing, software
defined networking), storage (block vs. object), global and regional
deployment strategies, etc.
- DevOps culture and tools.
- Quality Assurance and
- Security Practices
21
Adopt DevOps culture
DevOps
Automates the processes between software development and
IT teams can build, test, and release software faster and more
reliably.
22
Few of GCP products are:
Products
https://cloud.google.com/products
23
Improve Cloud Engineering skills
Guideline
- Learn from online Training Courses & Resources (Eg)
- Attend Local and International event, bootcamp or
workshop.
- Find Mentor who has solid understanding.
- Make solid understanding on discussed sections.
- Looking for Internship opportunity.
https://www.youtube.com/user/googlecloudplatform/playlists
https://cloud.google.com/products
https://cloud.google.com/training
24
Google Cloud Certification
Certification
Certi
fi
cations English Japanese Spanish Indonesian
1 Associate Cloud Engineer
2 Professional Cloud Architect
3 Professional Data Engineer
4 Professional Cloud Developer
5 Professional Cloud DevOps Engineer
6 Professional Cloud Network Engineer
7 Professional Cloud Security Engineer
8 Professional Collaboration Engineer
https://cloud.google.com/certi
fi
cation/register
cse.sadhan@gmail.com www.linkedin.com/in/csesadhan
www.fb.com/cse.sadhan
Md. Sadhan Sarker
Sr. Software Engineer
Thanks! From
Coding is Fun, Enjoy It…!

Contenu connexe

Similaire à Up and Running with gRPC & Cloud Career [GDG-Cloud-Dhaka-IO/2022}

V.S.VamsiKrishna
V.S.VamsiKrishnaV.S.VamsiKrishna
V.S.VamsiKrishna
vamsisvk
 
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
QAware GmbH
 
Resume_Appaji
Resume_AppajiResume_Appaji
Resume_Appaji
Appaji K
 
Building high performance microservices in finance with Apache Thrift
Building high performance microservices in finance with Apache ThriftBuilding high performance microservices in finance with Apache Thrift
Building high performance microservices in finance with Apache Thrift
RX-M Enterprises LLC
 

Similaire à Up and Running with gRPC & Cloud Career [GDG-Cloud-Dhaka-IO/2022} (20)

REST in Peace. Long live gRPC!
REST in Peace. Long live gRPC!REST in Peace. Long live gRPC!
REST in Peace. Long live gRPC!
 
Solutions for bi-directional integration between Oracle RDBMS & Apache Kafka
Solutions for bi-directional integration between Oracle RDBMS & Apache KafkaSolutions for bi-directional integration between Oracle RDBMS & Apache Kafka
Solutions for bi-directional integration between Oracle RDBMS & Apache Kafka
 
Choisir entre une API RPC, SOAP, REST, GraphQL? 
Et si le problème était ai...
Choisir entre une API  RPC, SOAP, REST, GraphQL?  
Et si le problème était ai...Choisir entre une API  RPC, SOAP, REST, GraphQL?  
Et si le problème était ai...
Choisir entre une API RPC, SOAP, REST, GraphQL? 
Et si le problème était ai...
 
G rpc talk with intel (3)
G rpc talk with intel (3)G rpc talk with intel (3)
G rpc talk with intel (3)
 
OFI Overview 2019 Webinar
OFI Overview 2019 WebinarOFI Overview 2019 Webinar
OFI Overview 2019 Webinar
 
apidays LIVE Helsinki - Implementing OpenAPI and GraphQL Services with gRPC b...
apidays LIVE Helsinki - Implementing OpenAPI and GraphQL Services with gRPC b...apidays LIVE Helsinki - Implementing OpenAPI and GraphQL Services with gRPC b...
apidays LIVE Helsinki - Implementing OpenAPI and GraphQL Services with gRPC b...
 
V.S.VamsiKrishna
V.S.VamsiKrishnaV.S.VamsiKrishna
V.S.VamsiKrishna
 
Modern webservices using gRPC and Protocol Buffers in Golang
Modern webservices using gRPC and Protocol Buffers in GolangModern webservices using gRPC and Protocol Buffers in Golang
Modern webservices using gRPC and Protocol Buffers in Golang
 
Cloud native IPC for Microservices Workshop @ Containerdays 2022
Cloud native IPC for Microservices Workshop @ Containerdays 2022Cloud native IPC for Microservices Workshop @ Containerdays 2022
Cloud native IPC for Microservices Workshop @ Containerdays 2022
 
6. DISZ - Webalkalmazások skálázhatósága a Google Cloud Platformon
6. DISZ - Webalkalmazások skálázhatósága  a Google Cloud Platformon6. DISZ - Webalkalmazások skálázhatósága  a Google Cloud Platformon
6. DISZ - Webalkalmazások skálázhatósága a Google Cloud Platformon
 
Sap xi online training
Sap xi online trainingSap xi online training
Sap xi online training
 
Introduction to Backend Engineering
Introduction to Backend EngineeringIntroduction to Backend Engineering
Introduction to Backend Engineering
 
KONG-APIGateway.pptx
KONG-APIGateway.pptxKONG-APIGateway.pptx
KONG-APIGateway.pptx
 
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
 
Ceph Day Seoul - AFCeph: SKT Scale Out Storage Ceph
Ceph Day Seoul - AFCeph: SKT Scale Out Storage Ceph Ceph Day Seoul - AFCeph: SKT Scale Out Storage Ceph
Ceph Day Seoul - AFCeph: SKT Scale Out Storage Ceph
 
Oracle Blockchain Platform_Wonjo Yoo
Oracle Blockchain Platform_Wonjo YooOracle Blockchain Platform_Wonjo Yoo
Oracle Blockchain Platform_Wonjo Yoo
 
Resume_Appaji
Resume_AppajiResume_Appaji
Resume_Appaji
 
Grails 101
Grails 101Grails 101
Grails 101
 
CocoaConf: The Language of Mobile Software is APIs
CocoaConf: The Language of Mobile Software is APIsCocoaConf: The Language of Mobile Software is APIs
CocoaConf: The Language of Mobile Software is APIs
 
Building high performance microservices in finance with Apache Thrift
Building high performance microservices in finance with Apache ThriftBuilding high performance microservices in finance with Apache Thrift
Building high performance microservices in finance with Apache Thrift
 

Dernier

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 

Dernier (20)

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 

Up and Running with gRPC & Cloud Career [GDG-Cloud-Dhaka-IO/2022}

  • 1. Knowledge Sharing Session Up and Running with gRPC & Could Career Md. Sadhan Sarker
  • 2. 1 A high performance, open source universal RPC framework by google. Now its part of the Cloud Foundation (CNCF) https://grpc.io/about/
  • 3. 2 Understand RPC! An RPC is a Remote Procedure Call. Google introduce gRPC, But Common Object Request Broker Architecture (CORBA) had RPC before! Server Code (any language) …[code] def function create_post(Post post) { … } …[code] Client Code (any language) …[code] server.createPost(post) …[code] RPC call (over the network)
  • 5. 4 When we choose gRPC? Why gRPC? - build microservices - connect cross-languages services - Build distributed services - need client & server streaming - http2 based transport protocol
  • 6. 5 gRPC vs REST Comparisons - REST uses HTTP/1.1 protocol through the JSON or XML messaging format. Common http verbs like {GET, POST, PUT, DELETE etc} - gRPC uses HTTP/2 protocol through Protocol buffer. Methods {unary, server-streaming, client-streaming and bi-directional call}. It offers language independence support 11 programming languages. https://grpc.io/blog/principles/
  • 8. 6 What is Protocol Buffer - Protocol buffer are language language-neutral, platform-neutral extensible mechanism for serializing structured data - Code generated for any language - Very convenient for transporting a lot of data - Data is binary and efficiently serialized (small payloads) - Support Java, Go, Python, NodeJs, Objective-C, C++ and more with proto3 language version. https://developers.google.com/protocol-bu ff ers
  • 9. 8 REST vs gRPC Features gRPC REST Protocol HTTP/2 (Streaming) HTTP/1.1 or HTTP/2 [Request/Reply] Payload/Serialization Protocol Buffer (binary, small) JSON (text, large) Code Generation Supported through (.protoc) Third party tool like Swagger, Postman Streaming Bidirectinal Client to Server. Request only API contract Strict, Required Loose, optional, (Open API) Security TLS/SSL TLS/SSL Performance Fast Slow Browser support Limited required [grpc-web and proxy layer] YES
  • 10. 9 Sample gRPC Based Micro-service Architecture REST
  • 12. 11 Cloud ecosystem is very easy to create? What do you think?
  • 13. Infrastructure Backend Database API Deployment Multi-Platforms Monitoring Notifications Need to scale Crash logs Hosting Storage Authentication Server Analytics Reporting Consumer Predictions Automation AI Logs UI Integration Reliability Ensure Quality Growing business ABC testing Migration Machine Learning Legacy support ACID Vulnerability Community 12 insights SaaS PaaS IaaS VM BigData Logging Cluster Load Balancer Reporting Monitoring Security Policy Infrastructure as code Configuration Analytics Performance Durability Billing VPS Versioning Optimisation On-Demand Quality Management Cost minimisation Automation Protection Build Container Registry Kubernets Encryption Decryption Pub/Sub Scalability Caching SDK Artifact CI/CD Repository IOT DNS CDN VPN MAP Debug Error handling Migration Integration Game Server Scheduler Distributed Operation Few Items are includes just for vitalisation! Docker Async Networking
  • 14. 13 ?
  • 15. 14 Cloud providers come to solve consumer problems as well as provide business needs. Here, I tried to mention, most popular 3 providers.
  • 16. 15 A Cloud Engineer responsibility:- Responsibility - Duties associated with cloud computing, - including planning, design, and - management, maintenance, and support.
  • 17. 16 What is Cloud Computing? Cloud Computing - Computing that involves storing data, and - running applications over the internet through your browser - Eg. email, banking, gaming, social media, etc.
  • 18. 17 Types of Cloud Computing? Computing Types - IaaS => Infrastructure as a Service - PaaS => Platform as a Service - SaaS => Software as a Service
  • 19. 18 On-Prime vs Iaas vs Pass vs SaaS Computing Types
  • 20. 19 Common jobs roles are:- Job Roles - Cloud Architect, - Cloud Engineer, - Cloud Consultant, - Cloud Security, - Cloud Application Engineer, - Cloud DevOps Engineer, and - Site reliability engineer (SRE)
  • 21. 20 Common Skill requirements are Expected Skills - Programming (Eg. Java, Go, Python, NodeJs) - Database (SQL, NoSQL, GraphDB) - Computer Systems (Operating systems, Virtualization concepts in compute (e.g. Hypervisors, Containers), Networking (DNS, load balancing, software defined networking), storage (block vs. object), global and regional deployment strategies, etc. - DevOps culture and tools. - Quality Assurance and - Security Practices
  • 22. 21 Adopt DevOps culture DevOps Automates the processes between software development and IT teams can build, test, and release software faster and more reliably.
  • 23. 22 Few of GCP products are: Products https://cloud.google.com/products
  • 24. 23 Improve Cloud Engineering skills Guideline - Learn from online Training Courses & Resources (Eg) - Attend Local and International event, bootcamp or workshop. - Find Mentor who has solid understanding. - Make solid understanding on discussed sections. - Looking for Internship opportunity. https://www.youtube.com/user/googlecloudplatform/playlists https://cloud.google.com/products https://cloud.google.com/training
  • 25. 24 Google Cloud Certification Certification Certi fi cations English Japanese Spanish Indonesian 1 Associate Cloud Engineer 2 Professional Cloud Architect 3 Professional Data Engineer 4 Professional Cloud Developer 5 Professional Cloud DevOps Engineer 6 Professional Cloud Network Engineer 7 Professional Cloud Security Engineer 8 Professional Collaboration Engineer https://cloud.google.com/certi fi cation/register
  • 26. cse.sadhan@gmail.com www.linkedin.com/in/csesadhan www.fb.com/cse.sadhan Md. Sadhan Sarker Sr. Software Engineer Thanks! From Coding is Fun, Enjoy It…!