vendredi 5 juin 2020

Testing Grpc Services Written in Multiple Languages

So I have a fairly complex distributed system composed of multiple services (Service 1, Service 2, Service 3, and Service 4). Each one of these services is a grpc server and they often communicate with each other (e.g. Service 1 will make a rpc to Service 2 that will return a response, or Service 1 makes a rpc to Service 3 that makes another rpc to Service 4 before returning a response to Service 1). The tricky part is that these services are written in different programming languages, some of them are in Python and some of them are in Go.

How can I write tests for the rpc endpoints in each server if they are written in different languages, and what do I do for the rpc endpoints that need to contact another one of the services before returning a response?

Aucun commentaire:

Enregistrer un commentaire