January 2019
Intermediate to advanced
520 pages
14h 32m
English
Microservices can either interact with clients or each other. To implement interaction, you have to choose a protocol and a format to send messages from one communication participant to another. There are many formats and RPC frameworks that simplify the interaction process. In this chapter, we'll discover features of the serde crate, which helps you to make structs serializable and deserializable and compatible with different formats, such as JSON, CBOR, MessagePack, and BSON.
The following topics will be covered in this chapter:
Read now
Unlock full access