Re:Lessons Learned While Building Microservices
by throwanem on Tuesday August 30, 2016 @12:39PM
(#12391635)
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.
[ Parent
| on HN ]
Re:Lessons Learned While Building Microservices
by catnaroek on Tuesday August 30, 2016 @01:15PM
(#12391945)
If 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.