guide
guide copied to clipboard
Content Contribution: Architecture -> Serverless Architecture
Description
Add content to the Architecture -> The Serverless Architecture
section of the guide.
Filename: /guide/source/architecture/README.md
Page/Section: Architecture -> The Serverless Architecture
Contributing Author: [full name] (company)
Details:
The Serverless Architecture
Introduction
More holistic view of serverless architectures in light of events.
- Functions as a Service (FaaS)
- How do we get there?
- Need for agile development lifecycles
- Need for independent teams working in parallel
- Focus on building than managing infrastructure
- SOA -> microservices -> functions (serverless)
- serverless is like microservices but more granular
- serverless architecture: FaaS for compute, BaaS (backend-as-a-service) for everything else (DB, search, cache, CDN)
- Cooperative Development (sharing events)
- Autonomy for teams
How serverless architecture looks like?
- serverless architectures are opinionated microservices architectures
- different serverless arch:
- greenfield - the whole system in functions
- adding features to a legacy system with functions (communication via SDK faster, or API Gateway endpoint - latency issue)
Challenges
- cold start
- API Gateway latency
- invocation limit
- distributed tracing
- centralized logging
Migration
- from traditional SOA architecture
- from microservices architecture
- grouping function is good (they can use the same DB)
- taking out functionalities from the existing system
Link to presentation when I cover some of the stuff from here: https://speakerdeck.com/mthenw/the-state-of-serverless-1