This chapter covered good practices for creating reactive microservices architecture. We started our learning from basic concepts: what a reactive approach is, how to implement it, and how remote procedure calls helps to implement message-driven architecture. Also, we discussed existing RPC frameworks and crates that you can use simply with Rust.
To demonstrate how reactive applications work, we created two examples of microservices that use RPC methods to interact with each other. We created an application that uses a ring of running microservices that send requests to each other in a loop till every instance is informed about an event.
We also created an example that uses the JSON-RPC protocol for instance interaction and used the jsonrpc-http-server crate for the server side and the JSON-RPC crate for the client side.
After that, we created an example that uses...