Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Build Applications with Meteor

You're reading from   Build Applications with Meteor Isomorphic JavaScript web development

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781787129887
Length 388 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Dobrin Ganev Dobrin Ganev
Author Profile Icon Dobrin Ganev
Dobrin Ganev
Arrow right icon
View More author details
Toc

What is gRPC?


With Meteor, we have DDP, so why do we need another RPC?

An open source Remote Procedure Call framework, gRPC uses HTTP/2 for the transport layer initially developed by Google based on their internal RPC framework.The transport layer is one of the key components in gRPC. HTTP/2 is the major upgrade of HTTP/1.1, and it was standardized by the Internet Engineering Steering Group (IESG) in 2015. Every technology that is standardized on the web tends to survive for many years because we, the developers, all accept and agree with that standard primarily because the technology is not owned by a single company that decides its future. JavaScript is a great example of that.On the other hand, Meteor's DDP (Distributed Data Protocol) uses WebSockets for transport format; the WebSockets protocol did not get standardized, which is one important consideration that may drive its future.The second component of gRPC is the data format. The current industry standard is JSON over HTTP, DDP is...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime