Demystifying service based architecture

39
Demystifying Service Based Architecture - Journey towards microservices and ahead . : Thurupathan :: Associate Solutions Architect, Tiqri Corp ::: Nov 9, 2017

Transcript of Demystifying service based architecture

Page 1: Demystifying service based architecture

Demystifying Service Based Architecture - Journey towards microservices and ahead.

: Thurupathan

:: Associate Solutions Architect, Tiqri Corp

::: Nov 9, 2017

Page 2: Demystifying service based architecture

.NET RemotingRMI

MSMQ

JMS

AMQP

SOAP

RPC

REST

gRPC

Service Based Architecture

Page 3: Demystifying service based architecture

Service Based Architecture

• Service Contracts

• Service Availability

• Security

• Transactions

Page 4: Demystifying service based architecture

Service Oriented Architecture

SOA

Page 5: Demystifying service based architecture
Page 6: Demystifying service based architecture

Service Oriented Architecture Ambiguity

SOA

Page 7: Demystifying service based architecture

How to get SOA

Page 8: Demystifying service based architecture

SOAP in Web Services yielded / evolved to REST

Page 9: Demystifying service based architecture

Cloud

Page 10: Demystifying service based architecture

MicroServices

Page 11: Demystifying service based architecture
Page 12: Demystifying service based architecture
Page 13: Demystifying service based architecture

I think it’s not a technical problem, it should be a political issue

Page 14: Demystifying service based architecture

MicroServices

Page 15: Demystifying service based architecture

Mass Rover

Mass Rover Online Shopping

Database

Client

Page 16: Demystifying service based architecture

Review ServiceShopping Service

Page 17: Demystifying service based architecture

Product Catalog Service

Order Service Review ServiceUser Profile Service

Product Pricing Service

Customer Service

Loyalty Service

Page 18: Demystifying service based architecture

Product Service Order Service Review ServiceUser Service

Page 19: Demystifying service based architecture

Product Service Order Service Review ServiceUser Service

Client

Page 20: Demystifying service based architecture

Product Service Order Service Review ServiceUser Service

Client

API Gateway

Page 21: Demystifying service based architecture

Implementation in Azure

Page 22: Demystifying service based architecture

Service Based Architecture

• Service Contracts

• Service Availability

• Security

• Transactions

Page 23: Demystifying service based architecture

Service Contracts

• Service drive contracts

• Client driven contracts

• Versioning

Page 24: Demystifying service based architecture

Service Availability

• Availability

• Responsiveness

Page 25: Demystifying service based architecture

https://thuru.net/2015/11/14/circuit-breaker-pattern-for-cloud-based-micro-service-architecture/

Page 26: Demystifying service based architecture

Polly

Page 27: Demystifying service based architecture

Security

• Centralized

• Individual

• Short term certificates and tokens*

Page 28: Demystifying service based architecture

Transactions

• Transactions in Distributed Systems is hard

• Compensating Transactions

Page 29: Demystifying service based architecture

Saga

• Transactions in Distributed Systems is hard

• Compensating Transactions

Page 30: Demystifying service based architecture

The trick of logics

Product Service Order Service

1010 /2?8/10Only the deduction operation is locked

Page 31: Demystifying service based architecture

Team Challenges

Horizontally cross cutting governance : API Master

Tooling expertise, Monitoring complexities, CI/CD challenges, Protocol agreements and etc

Team dependencies, Naming wars, industry molestation from governance practices

Client Separation. Death of Full stack is there anything called full stack ?

Page 32: Demystifying service based architecture
Page 33: Demystifying service based architecture
Page 34: Demystifying service based architecture
Page 35: Demystifying service based architecture

Serverless

Event Driven Interactions

Event Driven Interactions

Grouped or individual deployment / No deployment

Page 36: Demystifying service based architecture

If two are fighting, just introduce a third man to solve the issue.

Page 37: Demystifying service based architecture

Serverless is a good solution for what’s first war.

Of course with it’s own downsides

Page 38: Demystifying service based architecture

MASA

Page 39: Demystifying service based architecture

Thank you