Lambda-lith
の選定
AWS
のDeveloper Guide※1
では
イベントドリブンのAnti-patterns
として紹介
AWS Compute Blog※2
ではサー
バーレスマイクロサービスの設計
アプローチの1
つとして紹介
MOSH
ではECS/EKS
への移行予定
のため中継地点として採用
まずは「FastAPI
が動いている
Docker
イメージ」を目指す
Lambda
上でシンプルな構成で
動かした後ECS/EKS
へ移行する
Anti-patterns in Lambda-based event-
driven applications
「Understanding events and event-driven architectures
」※1
※1
引用文献: https://docs.aws.amazon.com/lambda/latest/dg/concepts-event-driven-architectures.html#monolith
※2
引用文献: https://aws.amazon.com/jp/blogs/compute/comparing-design-approaches-for-building-serverless-microservices/
many development teams move in
the opposite direction, aggregating
all code related to an API inside the
same Lambda function.
「Comparing design approaches for building serverless
microservices
」※2