Fun with gRPC and C++

A dive into asynchronous servers and clients using C++ and gRPC in 2023 - 2024


Why am I writing this series? It happens that I want to use gRPC in my upcoming DNS server.

I have used gRPC in the past - with great pain. This time around I looked at some examples and made kind of an implementation - but I realized it was crap. To add injury to insult, there were simply too many things I did not know or understand properly to fix it. So I decided to spend some time to play with gRPC to get a better understanding.

It's said that you don't truly understand something until you can explain it to somebody else. That's my motivation to write this series of articles.

It's my hope that somebody, one day, might find it useful. The almost total lack of in-depth articles and blog posts about asynchronous gRPC for C++ suggest that either I'm a bit slow, or it's not used very much. At least not with streaming in one or both directions. That's a shame. gRPC is an awesome tool to build both massively scalable servers and fast micro-services in C++!

Articles in this series

Note that the articles on this page are listed chronologically, oldest first.



What is the pros and cons using gRPC with C++ in 2023?


Read on...