Graduate Program KB

Section 15 - Serverless Architectures

Microservices Discussions

  • Synchronous patterns: API Gateway, Load Balancers
  • Asynchronous patterns: SQS, Kinesis, SNS, Lambda triggers (S3)
  • Challenges with microservices:
    • 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
  • Solutions using serverless patterns:
    • API Gateway and Lambda scale automatically and are pay per usage
    • Can easily clone an API and reproduce the environments
    • Generated client SDK via Swagger integration for API Gateway