21/180: Designing a Microservice Architecture

Single Technology Platform

Inflexible Deployment

Inefficient Compute Resources

Large and Complex

Complicated and Expensive ESB

Lack of Tooling

Designing Microservices Architecture

  1. It should be methodical
  2. Donot rush into development
  3. Plan more code less.
  4. Critical to the success of the system
  1. Understands system requirements.
  2. Understand the non functional requirements.
  3. Map the components. Split to communication pattern
  4. Select the technology stack
  5. Design the architecture
  6. Write architecture document
  7. Support the team.

Mapping the components

  1. Business requirements. Collection of requirement around specific capability. For example. Order management. Add, remove, update calculate amount etc.
  2. Functional autonomy. The maximum functionality that doesnt involve other business requirements. Example get all the orders made by user aged between 35 and 45.
  3. Data Entities: Service is designed around well specified data entities. Example order, items and etc.
  4. Data Autonomy: Underlaying data is an atomic unit. Service doesn’t depend on data from other services to function properly. For example: employee service that relies on Addresses service to return employees data.

--

--

--

I am Indian by birth, Punjabi by destiny. Humanity is my religion. Love to eat, travel, read books and my million dreams keep me alive.

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

Recommended from Medium

Embedded Systems Software (ESS), memory.

STEM Box update #18 — Wheelson’s coding support is here!

Experience at LetsGrowMore as Web Development Intern

Almost There

Intermediate: OneSignal Email APIs Integration in Xamarin (Android)

Android NDK: JNI Primer and Cheat Sheet

CS371P Spring 2022: Antoney Ejimadu: Final Entry

TvOSScribble, building Scribble for tvOS

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
Navneet Ojha

Navneet Ojha

I am Indian by birth, Punjabi by destiny. Humanity is my religion. Love to eat, travel, read books and my million dreams keep me alive.

More from Medium

Blind Index Pattern — Search Strategy for Encrypted Information

Distribute React Native App to Google Play using Codemagic (CI/CD Process)

Software Application Development Services

The Most Important Metric of Quality; Time