News for hackers. Stuff that matters.
Re:Microservices – Not a free lunch by mavdi on Sunday December 28, 2014 @09:05AM (#8806280)
I've pretty much faced all of the problems mentioned in this article. An application is set of services with a certain complexity that work together. In some cases this complexity just gets transferred from service level to orchestration level.

Don't get me wrong, I love microservices and will try to use them in all my future work, but I think where people often go wrong is that they over commit to it without realising the downsides. I often see people casually using AMQP queues for pretty much everything, only when they need the worker service to talk back to the originating service that they realise they've made a wrong architectural decision.

Re:Microservices – Not a free lunch by icedchai on Sunday December 28, 2014 @12:08PM (#8806695)
I worked with some guys once who put every HTTP REST request in to AMQP. And every response. There were temporary queues all over the place to allow for communication between the front end and back end servers.

It was a complete joke of a system.

Re:Microservices – Not a free lunch by muffs on Sunday December 28, 2014 @09:45AM (#8806343)
Can you elaborate on your latter point? Why is that considered an incorrect architectural decision?
Re:Microservices – Not a free lunch by marktangotango on Sunday December 28, 2014 @11:06AM (#8806525)
For example if the caller needs the result of a possible long running task, ie success or fail, then it has to maintain state in a way to associate the async queue message back to the task. Zeromq has the concept of request/reply to handle this, its more problematic with plain old queues, the solution ive worked with is mq for tasks, rest calls for results. Yes it sucks.
Re:Microservices – Not a free lunch by muffs on Sunday December 28, 2014 @11:25AM (#8806567)
Awesome, thanks for the explanation.