The Great Micro-services Debate


A few people have picked up on the great Micro-services debate that is probably occurring in many companies.  Micro-services, like many other architectural options, are just another tool in the toolbox.  No single solution will solve all problems :)  Martin Fowler offers some recent views on micro-services architectures.  Sam Newman offer a nice case study on brownfield/greenfield micro-services.  I think one of the key takeaways from Sam’s post is that domain knowledge of the problem is essential to the partitioning of services.

Despite knowing the domain of continuous integration really well, their initial stab at coming up with service boundaries for their hosted-CI solution wasn’t quite right. This led to a high cost of change and high cost of ownership. After several months fighting this problem, the team decided to merge the services back into one big application. Later on, when the feature-set of the application had stabilized somewhat and the team had a firmer understanding of the domain, it was easier to find those stable boundaries.

Clean Code blog also offers sensible advice in the services area:

Don’t leap into microservices just because it sounds cool. Segregate the system into jars using a plugin architecture first. If that’s not sufficient, then consider introducing service boundaries at strategic points.

 

~ by mdavey on June 5, 2015.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: