days
-1
-4
hours
0
-4
minutes
-5
-3
seconds
-2
-7
search

Microservices are about applying a group of best practices

Peter Lawrey
microservices
Best practice concept image via Shutterstock

In this article Peter Lawrey, CEO at Higher Frequency Trading Ltd, explains the concept of microservices denial and reveals why adopting best practices is the right thing to do. Whether you love or loath microservices, most likely you are using some best practices.

Microservices denial

A number of times clients have said; they can’t imagine their organization using Microservices. I found this surprising as I know those people are using many of the principles of Microservices already.

I can understand that they feel no need to join the hype around microservices, but the reality is, like it or not, you are most likely using some of the best practices Microservices advocates.

Stages of denial

  • It all seems like hype, we don’t go in for that.
  • Perhaps not all hype, but does it really mean anything.
  • It all sounds pretty familiar.
  • It sounds like what we are doing already.

Formally or informally, most likely you have been following some best practices already.

Adopting best practices

Perhaps you don’t like the name Microservices, and perhaps not all the different things people associate with Microservices are right for your team, your projects. Instead lets consider how do you formalize what you are trying to achieve and finding a clearer path to adopting best practices.

Why do this at all?

Within larger teams there can be some disagreement as to how to proceed. There can be strong feelings on what is bad, or broken about what you have and the temptation is to just throw away large portions of what you have or throw away everything.

The problem with doing this is you risk taking out the old known problems and putting in more new unknown ones. You need to make changes, possibly selectively radical changes, which are manageable and achieveable for your team.

By formalizing what you are talking about, even using buzz words, you can state more clearly what you are trying to achieve and why. It gives you a common language in which to communicate your ideas. It can give you a better perspective of where you are today and where you need to be.

Best practices scorecard

Using a scorecard you can quickly see where you are today, where the quick wins are and where you need to be in the medium term. A big part of the question; where are we today, is just rebranding what you have already. This review can lead you to see in some ways you are not in as bad position as you might have imagined, while putting in to stark contrast the areas with the most opportunity to improve.

Initial steps

The initial steps I suggest are

  • rebrand what you have; you will have some best practices already.
  • quick wins; low risk changes could help improve your position.
  • medium term improvements; what do you need to achieve in the next six months.

An example

This is a score card I put together for a senior manager for firm of over 60 developers. In the space of an hour we went from not considering Microservices, to being convinced it was a path to enhance their solutions.

Screen Shot 2016-07-01 at 3.35.58 PM

The last two areas were recognized as the most significant areas for improvement as they are both low risk but highly likely to reveal the cause of some of the recurring issues they have been having.

In particular, performance and stability issues require quality, detailed information about what your system is doing so you can take an informed view as what needs to be changed to fix it.

Conclusion

Whether you love or loath Microservices, most likely you are using some Best Practices, and a review of the Best Practices used in Microservices may prove to be useful in seeing how you can improve what you have.

This post was originally published on Vanilla Java

Author

Peter Lawrey

Peter is CEO at Higher Frequency Trading Ltd. He likes to inspire developers to improve the craftmanship of their solutions, engineer their systems for simplicity and performance, and enjoy their work more by being creative and innovative.

He has a popular blog “Vanilla Java” which gets 120K page views per months, is 3rd on StackOverflow.com for [Java] and 2nd for [concurrency], and is lead developer of the OpenHFT project which includes support for off heap memory, thread pinning and low latency persistence and IPC (as low as 100 nano-seconds)


Leave a Reply

Be the First to Comment!

avatar
400
  Subscribe  
Notify of