3 ms·
Assuming the microservices are stateless, this is basically dynamic functional programming. It's how I like to program after spending some time with Common Lisp
by cup-of-tea 8y ago
Assuming the microservices are stateless, this is basically dynamic functional programming. It's how I like to program after spending some time with Common Lisp.
It does pain me to think about the massive overhead of communicating via HTTP, though. Just think of the whole network stack that is being used when doing one simple call and compare that to calling a subroutine on the same computer. It's really nice for us programmers but it strikes me as being too easy. Imagine being a civil engineer but you can make everything out of titanium or any other expensive material.
- ecnahc515 8y agoModern HTTP has been made fairly efficient, especially with HTTP/2. I think the overhead is more in the data formats that are in common use, like XML/JSON, but with adoption of GRPC which combines Protobuf with HTTP/2 I think a lot of this is going to be more efficient. It's not as efficient as it could be, but we're also getting a lot of features and functionality for it too.