Microservices are a powerful development approach as part of a technology architecture strategy. They provide incredible flexibility in updating / maintaining each microservice, without affecting the others. This extends to scalability as well, allowing a microservice to scale as needed, independent of the others – potentially helping with efficiency and reducing costs.
Let’s start with an analogy to put us in the right mind
One of our strategic leaders made a helpful analogy describing the microservices approach – equating it to a mom or dad deciding to build their child a tree house and going into a do-it-yourself store to buy all of the component parts. If you have the time to research what parts you need, in what quantities and how they should fit together then great, you can build a custom tree house for your kids – if you have the expertise to actually assemble it. It will take a while, there will likely be trial and error and missteps, but once you get it working, reliable and safe, you will be the envy of your neighborhood parents. But there will inherently be a lot of questions. How long will it (should it?) take? How safe and reliable is it…are you willing to take the risk? How much effort will it require to keep it safe and reliable? Will it deliver the experience it should? Can you really afford to have a period of trial and error when it comes to safety and reliability?
If you don’t have the expertise or time to pick out the parts, you can pay someone who does. Similarly, if you don’t have the expertise or time to assemble the parts into a tree-house, you can hire someone who does – both of these routes will help reduce the risk as you are relying on an expert with real-world experience and best practices – but that adds significant cost.
An alternative option [HCL Commerce] is to find a pre-designed tree house with all the parts you need and only requires the assembly – and a very simplified assembly at that. You save significant time in the overall build, not to mention the reduction or complete avoidance of any trial and error and the additional cost of hiring specific experts to help build it. You know that the design is tried and trusted because it comes from a company that only does tree-house design and construction. Stepping out of the tree-house analogy for a moment, the right platform built around business services will also empower you to customize in order to create differentiation.
So ask yourself, when it’s all done, do you think your child would care that you built it from scratch? Or do they just care that it does what it’s supposed to do – provide them a place to play and have fun?
So why aren’t microservices the right choice for ecommerce?