Microservices architecture part 1

What is microservice architecture?

Microservices: a definition of this new architectural term

What are the challenges with monolithic?

  • Large code base
  • Dependency on one technology stack
  • Deployment dependency
  • Scalability

Why microservice ?

  • Many developers working on the same team
  • productive continuous delivery
  • application source code /logic need to easy to read and understanding
  • add different different technologies for different parts on your application(frameworks, programming language)
  • Better testability — services are smaller and faster to test

Microservices for different stakeholders

For the business owners

For the developers


  1. Developer need to attend additional complexity of creating a distributed system
  • service discovery needed (will talk later)
  • IDE/Tool not supporting for development
  • Inter service communication needed
  1. how to partition the system into microservices
  2. How many micro services. What are those? It’s very much art. (PATTERNS FOR DECOMPOSING AN APPLICATION INTO SERVICES)
  3. How to communicate between services. (COMMUNICATION PATTERNS)
  4. Service discovery . check and logging.Exception tracking,Application metrics,Audit logging (OBSERVABILITY PATTERNS PROVIDE INSIGHT INTO APPLICATION BEHAVIOR)
  6. Evolution strategies
  7. When we come to different databases for different services, some queries need to be linked with another database table. But that’s not accessible . Its only access via api (PATTERNS FOR QUERYING DATA IN A MICROSERVICE ARCHITECTURE)
  8. Easy to do testing because micro service is really small. Since there are so many services , automated testing need to implemented (PATTERNS FOR THE AUTOMATED TESTING OF SERVICES)
  9. Security need to be implemented (SECURITY PATTERNS)
  10. Choosing the implementation stack (capable of supporting communication or messaging protocols)

Now you know what are microservices , pros and cons, what are the main areas you need to address. (What are the patterns)

Next few post will talk about more details about those patterns and how we build microservices with best.

Additionally will talk ..How weDesign a DDD-oriented microservice.




VP of Engineering

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Elementor server error 500 | Elementor update error 500 | SOLVED 100%

Adding Responsiveness to your flutter widgets

4 cool updates in Columns: Canceled cards, custom card style, dynamic column width and a new…

Today entire going to bed status can be summarized as:

Notice for LOM development progress (2)

5 Useful IntelliJ IDEA Plugins

Using Dolby.io to Clean Audio

Meet Rae: Yogi Turned Software Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Saman Weerasinghe

Saman Weerasinghe

VP of Engineering

More from Medium

Enterprise Application — part 2 -Performance

Spring Cloud Gateway with logs

Microservices #Circuit Breaker

Prerequisites to Cloud-native software