Systango Tech Talk
The A to Z of Microservices
Architecture
Evolution of F1 Pit Stop
F1 Pit Stop - Early Days
F1 Pit Stop - Today
What is a Microservice?
Loosely Coupled Service Oriented Architecture with Bounded Context
What is Microservice?
Update Service Independently
Updating one service doesn’t require changing other service
Loosely Coupled Service Oriented Architecture with Bounded Context
What is Microservice?
Services Communicate with each other over network
Loosely Coupled Service Oriented Architecture with Bounded Context
What is Microservice?
Self Contained -
You can update code without knowing about other Microservices
Loosely Coupled Service Oriented Architecture with Bounded Context
Let's start with a Problem statement
Designing a new system
● Backends for Admin and Consumer
● Different Services
○ Notification Service - email & push notification
○ Admin API server
○ User API server
● Database
Architecture
Putting together
Database
Admin Backend
User Backend
NotificationService
Queue
Service
Auth Service
Proposed Architecture
Key Points
● Small, discrete, independent, loosely coupled and having bounded
context
● Separate codebase, which can be managed by a small development
team.
● Services are responsible for persisting their own data or external state.
● Services communicate with each other by using well-defined APIs.
● Services don’t need to share the same technology stack, libraries, or
frameworks
Benefits
● Loose coupling
● Encourage continuous refactoring and rewriting
● Lower dependency on a single technology
● Scale Independently
● Localise failures
● Can be released on independent release cycles
Constraints
● Complexity
● Lack of governance
● Network congestion and latency
● Data integrity
● Skillset
Practices
● Model services around the business domain.
● Decentralize everything 
● Data storage should be private
● Services communicate through APIs —  Avoid leaking implementation details.
● Avoid coupling between services
● Offload cross-cutting concerns to the gateway.
● Isolate failures
Encapsulating the Microservices
API Gateway
API Gateway importance
● It Isolates the microservices
● Provides security
● Reduces the number of requests/roundtrips.
● Holds the logic of calling multiple APIs
● Translates from a “standard” public web-friendly API protocol to
whatever protocols are used internally.
Contact us to discuss
MICROSERVICES ARCHITECTURE
www.systango.com
hello@systango.com
UK: +44 1253 547777
KNOW MORE ABOUT MICROSERVICES

Ato Z of Microservices Architecture by Systango

  • 1.
    Systango Tech Talk TheA to Z of Microservices Architecture
  • 2.
  • 3.
    F1 Pit Stop- Early Days
  • 4.
    F1 Pit Stop- Today
  • 5.
    What is aMicroservice? Loosely Coupled Service Oriented Architecture with Bounded Context
  • 6.
    What is Microservice? UpdateService Independently Updating one service doesn’t require changing other service Loosely Coupled Service Oriented Architecture with Bounded Context
  • 7.
    What is Microservice? ServicesCommunicate with each other over network Loosely Coupled Service Oriented Architecture with Bounded Context
  • 8.
    What is Microservice? SelfContained - You can update code without knowing about other Microservices Loosely Coupled Service Oriented Architecture with Bounded Context
  • 9.
    Let's start witha Problem statement
  • 10.
    Designing a newsystem ● Backends for Admin and Consumer ● Different Services ○ Notification Service - email & push notification ○ Admin API server ○ User API server ● Database
  • 11.
  • 12.
    Putting together Database Admin Backend UserBackend NotificationService Queue Service Auth Service
  • 13.
  • 14.
    Key Points ● Small,discrete, independent, loosely coupled and having bounded context ● Separate codebase, which can be managed by a small development team. ● Services are responsible for persisting their own data or external state. ● Services communicate with each other by using well-defined APIs. ● Services don’t need to share the same technology stack, libraries, or frameworks
  • 15.
    Benefits ● Loose coupling ●Encourage continuous refactoring and rewriting ● Lower dependency on a single technology ● Scale Independently ● Localise failures ● Can be released on independent release cycles
  • 16.
    Constraints ● Complexity ● Lackof governance ● Network congestion and latency ● Data integrity ● Skillset
  • 17.
    Practices ● Model servicesaround the business domain. ● Decentralize everything  ● Data storage should be private ● Services communicate through APIs —  Avoid leaking implementation details. ● Avoid coupling between services ● Offload cross-cutting concerns to the gateway. ● Isolate failures
  • 18.
  • 19.
  • 20.
    API Gateway importance ●It Isolates the microservices ● Provides security ● Reduces the number of requests/roundtrips. ● Holds the logic of calling multiple APIs ● Translates from a “standard” public web-friendly API protocol to whatever protocols are used internally.
  • 21.
    Contact us todiscuss MICROSERVICES ARCHITECTURE www.systango.com hello@systango.com UK: +44 1253 547777 KNOW MORE ABOUT MICROSERVICES