Comparison and Benchmarking of Go RPC Systems
matheusd.com·2h·
Discuss: r/golang
Flag this post

Almost every Go programmer will be faced with the necessity of using an RPC1 system. Whether writing a backend service for a web app, a P2P network or an IoT cloud, determining the communication protocol (and hence an RPC system) will be one of its requirements.

Most of the time, that requirement will be predetermined based on either the execution or organizational environment: for example, in the case of backend systems for a browser-based web app, the most natural combination will be to use JSON-encoded messages delivered through HTTPS.

When given the freedom to choose which system to use though, an engineer can specify the requirements for this communication system and its allowable trade-offs and can then pick a more appropriate solution: one which maximizes metrics o…

Similar Posts

Loading similar posts...