powerpoint presentation · pdf filemicroservices architecture made ... authentication user...

26

Upload: buinguyet

Post on 01-Feb-2018

230 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services
Page 2: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

2

Page 3: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

3

Page 4: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

4

Page 5: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

Microservices Architecture made

simpleParis Polyzos

Software Engineer @ Stoiximan

Microsoft Azure MVP

Page 6: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services
Page 7: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

7

Page 8: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

8

On DemandCloud Services are available on demand. Whether that is VM, File Storage or Data Processing

Horizontal ScaleScale out instead of scale up

DistributedCloud Services are distributed across many fault zones to ensure high uptime

Built for FailureBecause of the transient nature of resources in a cloud environment services will eventually fail

Not a PlaceNot only Azure or AWS

Page 9: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

9

Page 10: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

10

Page 11: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

11

Page 12: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

12

Single DeployableDeploy and manage one application

High Initial AgilityFew things to wire up at the beginning

Broad Changes Made EasilyChange a big part of the source code, all in one place

Inconsistent StateFeature A is ready to go but other features are not ready yet

TestingTest entire surface area of the application

ScaleCannot scale the areas of the application that create “hot zones” independently

Feature A Feature B

Feature C Feature D

Single Deployable Service

Advantages Challenges

Page 13: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

13

Page 14: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

14

CustomersCustomer management and information retrieval

PaymentsCustomer financial information and payments

AuthenticationUser authentication into the system

LoggingFocus on the logging of events

Page 15: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

15

Physically DecoupledIf one service fails it does not bring the whole system down

TestingYou only have to test one domain

ScaleEasily scale a specific application’s portion

Culture ShiftMentality shift within the organization

Large FootprintMore moving parts to keep track of. Embrace automation

Slower Initial AgilityLots of things to wire up

Advantages ChallengesDeployable Domain

Service A

Data A

Deployable Domain

Service N

Data N

Page 16: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

16

Page 17: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

17

Better isolationTeams care about what is happening within their domain

End-to-end ownership of a team

Highly concurrent deployment scenarios

Page 18: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

18

Service Fabric enables you to build and manage scalable and reliable applications composed

of microservices that run at very high density on a shared pool of machines which is referred to

as a cluster.

Page 19: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

19

Page 20: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

20

Page 21: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

21

Page 22: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

22

Page 23: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

23

Guest ExecutableAny executable, written in any language. It can be packaged in an application and hosted alongside other services

Stateless Reliable ServicesState is persisted to external storage, such as Azure DB or Azure Storage

Stateful Reliable ServicesReliability of state through replication and local persistence

Reliable ActorsOn top of Reliable Services. This framework implements the Virtual Actor pattern. Independent units of compute and state with single-threaded execution

Docker & Windows Containers (preview)Future improvements to networking, resources constraints, security, diagnostics, volume drivers, and tooling support in Visual Studio

Page 24: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

24

Page 25: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

Evaluation Survey < https://aka.ms/cc9cf1 >

Page 26: PowerPoint Presentation · PDF fileMicroservices Architecture made ... Authentication User authentication into the system Logging ... Stateless Reliable Services

26

PC/VM

FabricHost.exe

[Auto-starts at boot]

Fabric.exe

[Inter-node communication]

Your App’s Services

Ex: ASP.NET or other .exe

[Exposes public endpoint(s)]

FabricGateway.exe

[Cluster communication]

N

o

d

e

Fabric.exe

[Inter-node

communication]

Your App’s Services

Ex: ASP.NET or other

.exe

[Exposes public

endpoint(s)]

FabricGateway.exe

[Cluster communication]

N

o

d

e

OneBox[testing]