TECHNOLOGIES THAT WILL CHANGE WORK FOREVER
Go To Blog
Blog IconBlog

What Are Microservices, Actually?

Blog Post Image

Micoservices allows us to break large system into number of independent collaborating processes. Microservices architecture allows to avoid monolith (Single unit system) application for large system. It provides loose coupling between collaborating processes which running independently in different environments with tight cohesion. For example, imagine an online shop with separate microservices for user-accounts, product-catalog order-processing and shopping carts.

Monolithic

Benefits

  1. Smaller code base is easy to maintain.
  2. Easy to scale as individual component.
  3. Technology diversity i.e. we can mix libraries, databases, frameworks etc.
  4. Fault isolation i.e. a process failure should not bring whole system down.
  5. Better support for smaller and parallel team.
  6. Independent deployment
  7. Deployment time reduce

Challenges

  1. Difficult to achieve strong consistency across services
  2. ACID transactions do not span multiple processes.
  3. Distributed System so hard to debug and trace the issues
  4. Greater need for end to end testing
  5. Required cultural changes in across teams like Dev and Ops working together even in same team.

The Web-Application will make requests to the Account-Servicemicroservice using a RESTful API. We will also need to add a discovery service – so the other processes can find each other.

Service Registration

When you have multiple processes working together they need to find each other. If you have ever used Java’s RMI mechanism you may recall that it relied on a central registry so that RMI processes could find each other. Microservices has the same requirement. For more information, https://www.ceymplon.lk/service/it-service/tech-consultancy



Questions? Call us.

Call us anytime with the questions you have.
We are here to help.

+94 114 387 089 / 90 /92 OR +94 214 927 089

Contact Us
If you have queries as to how we can assist you and your projects, please fill out the form below.
Contact Us
Type us a message
If you prefer, send a message.
We will get back to you.
Type Message
What our clients say about us
Colombo Jaffna Melbourne