Implementing a unary, async server
In the first iteration, we will deal with a traditional RPC call; it takes one input argument and returns one output value.
Software & Coffee at the Edge of the Universe
In the first iteration, we will deal with a traditional RPC call; it takes one input argument and returns one output value.
In the first iteration, we will deal with a traditional RPC call; it takes one input argument and returns one output value.
In this iteration of the server, we add incoming or outgoing streams of requests or replies. We are not yet ready to take on the bi-directional stream.
In this iteration of the client, we add incoming or outgoing streams of requests or replies. We are not yet ready to take on the bi-directional stream.
Here we implement all four operations, including the bidirectional stream rpc method RouteChat(). We also add more abstractions to minimize the code required for each request.
Here we implement all four operations, including the bidirectional stream rpc method RouteChat(). We re-use the abstractions we created in the previous article.
Here we will look into how to use the newer - and much nicer - callback interface.
Here we implement all four operations using the newer - and much nicer - callback interface.
Here we implement all four operations as actual - usable - methods with event-callbacks.
Here we implement a client using QT 6.8 with an interactive QML UI!
A dive into asynchronous servers and clients using C++ and gRPC in 2023 - 2024
Latest articles
What does it take to make a simple Qt/QML application and deploy it on iOS, Android, macos, Linux, Windows? Let's find out!
I wasted quite some hours figuring out how to correctly insert new records in a QSqlTableModel derived class.
C++ is a popular Object-oriented language. Json is a popular format for storage of Objects. Why is it so hard to make those two things play ball?
How do you ensure that, for example, a database wrapper, only hands out one instance of any given data object?
Many C++ developers seems confused about the secret sauce of asynchronous completions - or composed operations - in Boost.asio.
A generic cache in C++ that only fetch an item once, even if there are many simultaneous requests for the data.
Restc-cpp is a REST client library for C++ projects.
Restc-cpp is a REST client library for C++ projects.
For C++ developers, more cores to build on means faster builds. If your project is big, more cores can make a significant boost. If you have a local k8 cluster with spare CPU, it's amazingly simple to turn it into a build-machine.