loading...

YSPKA #2: gRPC

github logo ・1 min read

You should probably know about... (17 Part Series)

1) YSPKA #1: Pulumi 2) You should probably know about... 3 ... 15 3) YSPKA #2: gRPC 4) YSPKA #3: Dapr 5) YSPKA #4: Plop JS 6) YPSKA #5 Next.js 7) YPSKA #7 Static site generators 8) YPSKA #8 Headless CMS 9) YPSKA #9 Svelte 10) YPSKA #10 Runtypes 11) YPSKA #11 GROQ 12) YPSKA #12 Immer 13) YPSKA #13 Rollup 14) YPSKA #14 Pupeteer 15) YPSKA #15 Curl 16) YPSKA #15 Taking a break 17) YPSKA #16 lit-html

Do you have micro services running? Do you use REST for communicating between them? Then maybe you should have a look at gRPC:

A high performance, open-source universal RPC framework

gRPC lets you define services and how the data should look like when calling and receiving replies from them. To define services you use something called Protocol buffers which is created by Google.

After you have defined the services gRPC generates client and server code, so you can implement the services and access the services from clients.

gRPC has support for a lot of programming languages, and in Visual Studio 2019, there's project templates for creating gRPC projects.

Try it out the next time you are creating a new service.

twitter logo DISCUSS
Classic DEV Post from Apr 3 '19

How do you feel about chasing internet points, badges and the gamification of everything?

I'll admit up front, I'm chasing the dev.to 16-week streak posting badge and am...

Håkan Fahlstedt profile image
Senior fullstack developer that loves technology and sharing knowledge.