Need help with microservices?

These days I’m focussed on microservices.

I provide consulting services and training classes that help you get started with microservices.

I am the founder of Eventuate, Inc, a startup that is building a microservices application platform.

Contact me if you want to learn more or need help with developing microservice-based applications.

Here is some of my latest articles and presentations:

Posted in microservices | Tagged | Leave a comment

The human side of adopting the microservice architecture

Adopting the Microservice Architecture changes your architecture, your organization and your development processes. Ultimately, however, it changes the working environment of people, who are fundamentally emotional. Their emotions, if ignored, can make the adoption of microservices a bumpy ride.

The best selling book Managing Transitions by William and Susan Bridges introduces the concept of a transition, which is the process of how people respond emotionally to a change. It describes a three stage Transition Model:

  1. Ending, Losing, and Letting Go – the period of emotional upheaval and resistance when people are presented with a change that forces them out of their comfort zone. They often mourn the loss of the old way of doing things. For example, when people reorganize into cross-functional teams they miss their former team-mates. Similarly, a data modeling group, which owns the global data model, will be threatened by the idea of each service having its own data model.
  2. The Neutral Zone – the intermediate stage between the old and new ways of doing things where people are often confused. They are, often, struggling to learn the new way of doing things.
  3. The New Beginning – the final stage where people have enthusiastically embraced the new way of doing things and are starting to experience the benefits.

The book describes how best to manage each stage of the transition and increase the likelihood of successfully implementing the change. In order to successfully adopt microservices you must take into account the transition model and consider people’s emotions.

Posted in microservices | Tagged , , , | Leave a comment

Navigating the microservice architecture pattern language – part 1

The microservice architecture pattern language consists of numerous groups of patterns. The value of a pattern language exceeds the sum of it’s individual patterns because it defines  these relationships between the patterns:

  • Predecessor – a predecessor pattern is a pattern that motivates the need for this pattern. For example, the Microservice Architecture pattern is the predecessor to the rest of the patterns in the pattern language except the monolithic architecture pattern.
  • Successor – a pattern that solves an issue that is introduced by this pattern.
    For example, if you apply the Microservice Architecture pattern you must then apply numerous successor patterns including service discovery patterns and the Circuit Breaker pattern.
  • Alternative – a pattern that provides an alternative solution to this pattern. For example, the Monolithic Architecture pattern and the Microservice Architecture pattern are alternative ways of architecting an application. You pick one or the other.

These relationships provide valuable guidance when using a pattern language. Applying a pattern creates issues that you must then address by applying successor patterns. The selection of patterns continuously recursively until you reach patterns with no successor. If two or more patterns are alternatives then you must typically pick just one. In many ways, this is similar to traversing a graph.

Let’s look at how you can apply the microservice architecture pattern language to architect your application. In this post we will look at 3 critical decisions you must make. In later posts, we will look at other important, albeit not quite as critical patterns.

Decision #1: Monolithic architecture or microservice architecture?

The first decision you must make is whether to use a Monolithic architecture pattern or the Microservice architecture pattern. If you pick the Microservice architecture pattern you must choose numerous other patterns to deal with the consequences of your decision.

patternsrelatedtomicroservices

As you can see, there are lots of other patterns that you must apply. Lets look at a couple of choices you must make.

Decision #2: How to decompose an application into services?

If you have decided to use the microservice architecture you must define your services. There are two main options,

This patterns yield equivalent results: a set of services organized around business concepts rather than technical concepts.

Decision #3: how to maintain data consistency and perform queries?

A key feature of the microservice is the Database per Service pattern. It’s alternative, the Shared Database pattern is essentially an anti-pattern and best avoided. The Database per service pattern dramatically changes how you maintain data consistency and perform queries. You will need to use one of Event-driven architecture patterns such as Transaction Log tailing or Event Sourcing to maintain data consistency. You will often need to implement queries using the Command Query Responsibility Segregation pattern.

Summary

That is it for now. In later posts, we will continue to navigate through the pattern language and describe other important decisions that you must make when using the microservice architecture.

 

Posted in microservices | Tagged , , , , | 1 Comment

Microservices training at Healthesystems in Tampa, FL

Earlier this year, I taught three microservices training classes at Healthesystems. They are a Tampa, FL based company that is migrating their large, complex monolithic application to a microservices architecture.  They have invested heavily in bringing outside expertise to help with the modernization of their application and my training classes were part of that.

At SpringOne Platform, I chatted with Sam Alexander, the Enterprise Architect at Healthesystems, and Mark Sinclair, a solutions architect, about how the developers at Healthesystems benefited from the training.

I really enjoyed my time at Healthesystems. They are smart people embarking on an exciting project. If you live in the Tampa area please take a look at their open positions.

 

Posted in microservices, training | Tagged , , | Leave a comment

Microservices training and good food in Lisle, IL

Last week, I spent 4 days in Lisle, IL teaching a condensed version of my hands on 5 day microservices class. You are probably wondering where and what is Lisle, IL? That was my reaction when the client told me the training location. Lisle is a village west of Chicago with a surprisingly large number of corporate offices.

As you would imagine, the days were teaching and most of the evenings were spent working as well. However, I  was able to find time to have some unexpectedly good food. Twice, I had great dinners in the Hilton Hotel’s restaurant. Another night I had some excellent Korean BBQ pork and sushi at Tanaka Sushi. On the last night I had some delicious German food – Liver Dumpling Soup and Schnitzel at the Bavarian Lodge:

And, on the way home I had my usual Cochinita Pibil Torta with Habanero Salsa at Rick Bayless’s Tortas Frontera restaurant next to gate B11.

Overall, it was a good trip. The class went well: microservices were developed and deployed on Docker. And, I ate some great food.

 

Posted in food, microservices, training, travel | Tagged , , , , | Leave a comment

There are no silver bullets

Earlier this year, I wrote a blog post for O’Reilly describing my motivations for creating the microservices pattern language. It begins with:

Back in 1986, Fred Brooks, author of The Mythical Man-Month, said that in software engineering, there are no silver bullets. In other words, there are no techniques or technologies that if you adopted would give you a 10X boost in productivity. Yet 30 years later, developers are still arguing passionately about their favorite silver bullets, absolutely convinced that their favorite technology will give them a massive boost in productivity.

This is something to remember next time you listen to a presentation or read an article (especially a manifesto!) that only describes the benefits of a technology.

Every technology has drawbacks and limitations, which are often overlooked by its advocates.

To learn why patterns are a more objective (the benefit) albeit less exciting way (the downside) to describe a technology read the blog post.

 

 

Posted in microservices | Tagged , , | Leave a comment

Microservices + Events + Docker = Perfect Trio

Eventuate.IO

At the recent DockerCon 2016 conference, our founder and Docker Captain Chris Richardson, gave a talk on Microservices, event sourcing and Docker. His talk was one of the top 10 talks at the conference!

Slides

Here are the slides:

Video

Here is the video:

View original post

Posted in Uncategorized | Leave a comment

Upcoming microservices public training classes

Over the next couple of months I am teaching a couple of public, 1 day  microservices training classes:

This is what the class covers:

A monolithic architecture is a great choice for small applications. However, a better approach for large, complex applications is to use a microservice architecture, which structures the application as a set of services. Each service can be developed, deployed and scaled independently. The microservice architecture enables teams that develop large, complex applications to be agile. In this tutorial, you will learn about the motivations for using microservice architecture. We discuss the benefits and drawbacks of microservices. You will learn how to solve some of the key technical challenges with using the microservice architecture, including inter-service communication and distributed data management. We will discuss strategies for refactoring a monolithic application to microservices.

And here is a testimonial from a recent client of my private, onsite 2 day microservices workshop:

This class was fantastic. Chris communicates complex concepts clearly. His sense of humor and calm nature are real strengths and he really helped my team build confidence. It was refreshing to learn about microservices architecture from someone who not only understood the decisions & tradeoffs we will need to manage but has the ability and experience to present pros and cons in a balanced way.
Dave King, CTO – NAV

 

Posted in microservices, training | Tagged , | Leave a comment