[ Micro Service Architecture ]
- We want to switch to a micro service architecture
- Many services interact with each other directly using a REST API
- Each architecture for each micro service may vary in form and shape
- We want a micro-service architecture so we can have a leaner development lifecycle for each service
[ Micro Services Environment ]
route 53 에 DNS Query 하여 해당 도메인의 서버에 접근
각각의 도메인은 작게 쪼개진 각각의 서비스(Micro Service)로 내부적으로 다른 서비스를 호출하여 동작할 수 있음
[ Discussions on Micro Services ]
1) Free to design each micro-service the way we want
2) Synchronous patterns : API Gateway, Load Balancers
3) Asynchronous patterns : SQS, Kinesis, SNS, Lambda triggers (S3)
4) Challenges with micro-services:
- repeated overhead for creating each new microservice
- issues with optimizing server density/utilization
- complexity of running multiple versions of multiple microservices simultaneously
- proliferation(급증) of client-side code requirements to integrate with many separate services
Some of the challengs are solved by Serverless patterns :
- API Gateway, Lambda scale automatically and you pay per usage
- You can easily clone API, reproduce environments
- Generated client SDK through Swagger integration for the API Gateway
'infra & cloud > AWS' 카테고리의 다른 글
[AWS] 17-5. Software updates offloading (0) | 2021.09.17 |
---|---|
[AWS] 17-4. Distributing paid content (0) | 2021.09.17 |
[AWS] 17-2. Serverless Website : MyBlog.com (0) | 2021.09.17 |
[AWS] 17-1. Serverless Solution Architecture Discussions (0) | 2021.09.17 |
[AWS] 16-2. AWS SAM : Serverless Application Model (0) | 2021.09.12 |