3 ms·
How do you deal with passing common data between services? For example, does every service checking the holiday endpoint need to write its own access/deserialis
by viraptor 7y ago
How do you deal with passing common data between services? For example, does every service checking the holiday endpoint need to write its own access/deserialisation/mapping starting from http or some other RPC layer? If yes, how do you keep that in sync/compatible? Do you have an explosion of versions on each endpoint?
This is likely trivial for the holidays endpoint, but I'm interested in the more complex ones.
- lwb 7y agoThis is what I want to know too -- seems like you have to have at least one common library, that is, the library that lets you write a service call in one line instead of twenty lines. IME Go can be quite verbose, especially with >3 lines of error checking after every function call.
- lossolo 7y agoThey are probably using grpc and automatically generate clients libraries.