Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

What You Gain and Lose With Microservices

DZone's Guide to

What You Gain and Lose With Microservices

A response to "In Defense of Monoliths" between two posts that aim to define Microservices and what you gain and lose with Microservices.

· Integration Zone
Free Resource

Share, secure, distribute, control, and monetize your APIs with the platform built with performance, time-to-value, and growth in mind. Free 90-day trial of 3Scale by Red Hat

I work in an IT department where we have many of the problems that microservices are supposed to solve. But we've been careful in trying to apply microservices. We have realized there are tradeoffs to consider that are often not discussed.

I recently wrote a blog post titled Microservices Beyond the Hype: What You Gain and What You Lose where I summarized the pros and cons of the new IT popstar, Mr. Microservice. An interesting consideration is that if you break a monolith into microservices, ceteris paribus the runtime autonomy of the solution will be negatively affected. But aren't microservices supposed to be autonomous? Well, the truth is that we need to employ techniques to improve autonomy in a microservices-based solution exactly to prevent autonomy issues inherent to microservices, as explained in the post.

You may look at the lists of pros or cons and disagree with one or another point. One reason for disagreement is that different people have characterized microservices in many different ways. Unfortunately we didn't have an objective, widely accepted definition from the beginning, and we still don't have one. In another blog post, I took a crack at Defining Microservices, not by introducing a new definition, but by sticking to the basics.  

Explore the core elements of owning an API strategy and best practices for effective API programs. Download the API Owner's Manual, brought to you by 3Scale by Red Hat

Topics:
microservices ,soa

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}