News for hackers. Stuff that matters.
Re:Microservices and the First Law of Distributed Objects by rdtsc on Wednesday August 13, 2014 @12:50PM (#8173813)
> I worry that this pushes complexity into the interconnections between services,

I guess the instinctive answer is to well let someone else solve the problem. Grab something existing / standard (REST API + rest client, RabbitMQ + msgpack) or something similar.

What it still doesn't save you from is managing basic distributed systems issues - network partitioning, timeout, asynchronous starts and stops. Maybe it is better because by building this distribution into the core of the system and not trying to abstract it away behind an API (like the author says) it forces you to deal with them explicitly.

Overall I still haven't decided if microservices is just one of those buzz words invented because the old ones (Object Oriented, SOA, etc) have gotten old and don't bring in consulting revenue anymore.

Re:Microservices and the First Law of Distributed Objects by AdrianRossouw on Wednesday August 13, 2014 @01:30PM (#8174042)
I think microservices is a new evolution of an old idea, that is growing to term in an environment that could allow it to blossom.

As I posted elsewhere here, microservices are also explicit about being remote calls, and are built with the idea of assuming all your calls are always remote.

For instance, Docker is already built using a microservice architecture, and they are standardising that as a project called LibChan : https://github.com/docker/libchan

It's basically msgpack over SPDY+TLS, all the way down the stack.

disclaimer: I am one of the co-founders of jsChan, the node.js/javascript port of libchan.

https://github.com/GraftJS/jschan

Re:Microservices and the First Law of Distributed Objects by erichmond on Wednesday August 13, 2014 @01:01PM (#8173880)
I was wondering about the name change from SOA to Microservices myself.

I think both monolith and microservice architectures are valid, it just requires software architects to think a bit more about the size of the problem. If you just have a slow growing self-contained app, then monolith is probably the way to go.

If you have an app that has the potential to grow quickly, or is already integrating with multiple external services, it may make sense to look at microservices.

We switched from monolith to SOA a couple of years ago, and it's been a net win in terms of price, reliability of site performance, and ease of development. There were the obvious drawbacks you stated above of network timeouts, lag, and async issues, but it's just a different set of problems.