MicroService - Introduction
MicroService - Introduction
MicroService - Introduction
architectures and
serverless computing
Santeri Paavolainen
7.1.2020
Today’s agenda
- Personal introductions
- Course overview and expectations
- Microservice architectures
- Some course details and practical matters
- Assignment for next lecture
Groups
Discuss (10 minutes)
Summarize on post-it-notes and present
What is a software
architecture?
System Relations between services
architecture Platforms and frameworks
Application / OO modelling
component MVC vs dataflow vs …
architecture
Monitoring
Monitoring
FE
container
FE
container
FE
container CPU load-
Function
1
Function
2
Function
3
- Time
- Resources
FE FE FE FE FE based auto
scaling group
- Requirements
read read RDS Aurora
write auto scaling AWS Lambda
read replica (serverless)
Aurora Read Read DynamoDB
group
Read Read Read master replica replica
Master Slave
replica replica replica
Architects must be
able to
- Justify and
A B C provide rationale
- Think in what-if
scenarios
“Architect”
Service
boundaries
Interaction
Teams SLAs
Discovery
Organizational Architecture
System Configuration
Microservices
architecture
Interfaces
History
Evolution Messaging
Service
architecture
Trends in Workflow
computing and Logging
Operations Implementation Batch
software
engineering Data streaming
Monitoring
Scaling
Load balancing
Deployment
Serverless
Protocols Sharding
Network
Containers
Orchestration
What is a
microservice?
Some computing
history …
Trends in computing
Sources:Joi Ito (SAGE, CC BY 2.0), Arnold Reinhold (IBM Microservice architectures and serverless computing
1401, CC BY-SA 3.0), Ben Franske (IBM S/360, CC BY 2.5), 5.1.2020
Veradrive (IBM PC/XT, CC BY 4.0), Senado Feredal
17
(Smartphone, CC BY 2.0), Google (Google data center)
Trends in computing
Plugboards Terminals Remoting
Machine
language Compilers Timesharing Internet
Web
OO Cloud
Punch cards
Networking SDN
Assemblers
Client-server
Then Now
Raspberry Pi
28 GFlop/s
Cray 1
160 MFlop/s
Source: top500.org
Then Now
Martin Fowler:
Microservices (2014)
Organizational
Organizational
- Increasing participatory
activities during contact Be loud if you have difficulties with
sessions core concepts!