aws serverless and microservice
1. Serverless on AWS
You almostly understand what the serverless is, but the following serverless services are still worth to try.
IN-Memory DBS
- ElastiCache for Memcached
- ElastiCache for Redis
SQS
1.1 How to choose a sererless technology
2. A Quick Intro to Microservices
2.1 What is microservice
Monolithic architecture » SOA
- do one thing really well
- stateless and scalable
- composable
- triggered by API call and/or events
2.2 When should you use microservices
APIs
- Microservices that need to be called from extrnal clients
- Backend services in n-tier architectures
- Requests where the results are needed synchronously
Events
- more loosely coupled than request/response
- Provide opportunity for scale
- Data pipeline as an example
NOT the right approach
- MVP
- quite simple
- your team isn't experierienced enough
- the application isn't complicated enough that you're running into issues with monolith architecture