2 ms·
I've never run across a microservice architecture that involved passing objects across service boundaries. Data records, yes, but if those are expensive or pain
by throwanem 10y ago
I've never run across a microservice architecture that involved passing objects across service boundaries. Data records, yes, but if those are expensive or painful to serialize or deserialize, I'd say that's the first problem to solve.
- catnaroek 10y agoIf your data structures have sophisticated invariants, serializing and deserializing them will be painful no matter what, because every invariant becomes one more thing to check after deserializing. And, even if your data structures don't have any invariants, don't you think it would be nice not to have to manually serialize anything? At least it would be nice if the language did this for you automatically.