We are living in an age where modern applications need to have high standards when it comes to performance, reliability, and scalability. APIs play a huge role in establishing communication between services and optimizing the performance of the applications.
If conventional JSON based RESTful APIs are no longer able to meet the evolving needs of your application, then this webinar might just be the right one for you. It introduces the concept of gRPC and talks about how it is faster, more efficient than RESTful services.
Here’s the agenda for the webinar -
~ What is gRPC?
~ A deep-dive into gRPC Internals
~ gRPC vs Rest API
~ Scalability in gRPC
~ Types of API In gRPC
~ Live coding demo
2. About Knoldus
Knoldus is a technology consulting firm with focus on modernizing the digital systems
at the pace your business demands.
DevOps
Functional. Reactive. Cloud Native
3. c
About Me
Hi everyone,
I am Munander Maan. I have been working in Knoldus
Inc as a software consultant. I have interest in learning
new frameworks and technologies. Currently I went
through gRPC framework. I have written blogs which
you will find on https://blog.knoldus.com. I have skills in
Java, Lagom and gRPC framework.
If you will have any query regarding this webinar,
please contact me
munander.singh@knoldus.com
4. 01 What is gRPC.
02 gRPC Internals deep dive
03 gRPC vs Rest API
04 Scalability in gRPC
05 Types of API In gRPC
Our Agenda
5. c
What is
gRPC?
gRPC is a Free and
open-source framework
developed by Google.
LEARN NOW
1. Modern,fast and efficient
2. Supports Streaming
3. Language Independent
4. Uses Protocol Buffers and
HTTP/2
6. OUR MISSIONInsert Your Subtitle Here
1. At the core of gRPC, you need to define the
messages and services using Protocol Buffers.
2. The rest of the gRPC code will be generated
for you and you will have to provide an
implementation for it.
Getting started with
gRPC
7. gRPC Internals
Deep Dive
Understand what gRPC is
really made of ?
C++ Service
Ruby Client
Android java
client
gRPC Server
gRPC
Stub
gRPC
stub
Proto Response
Proto
Request
Proto
Request
Proto
Response
8. 1
2
3
Easy to write message definition
Definition of API is independent
from Implementation
Code can be generated in any
language
Why Protocol
Buffers?
9. STRATEGY INFOGRAPHICInsert Your Subtitle Here
The client & server can
push messages in
parallel over the same
TCP connection.
This greatly reduces
latency.
Binary
Servers can push
streams (multiple
messages) for
one request from the
client.
1. Headers can be
compressed with the
HPACK algo.
2. These have much less
impact on the packet
size.
Protocol buffers is a
binary protocol and
makes it s great match
for HTTP/2.
Header Compression
Multiplexing
Server Push
Why HTTP/2
13. Insert Your Subtitle Here01
This means they do not block threads on request02
Therefore each server can serve millions of requests in
parallel03
gRPC clients can be asynchronous or synchronous.04
Google has 10 BILLION gRPC requests being made per
second internally.
Proof of scalability
10 BILLION
Scalability In gRPC
01 gRPC Servers are asynchronous by default.
05
05 gRPC clients can perform client side load balancing