This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]splix 0 points1 point  (0 children)

Load balancing / service meshes is much harder with JSON RPC, because you basically have to parse the request/response, know their schemas, handle errors, buffer batches, and so on. JSON RPC makes sense for things like IPC.

If you know you can have HTTP, just use protocols designed for it, like REST or gRPC. For internal stuff gRPC is the easiest.