Serverlesspresso: Building a Scalable, Event-Driven Application • Julian Wood • GOTO 2022

Discover how to build a scalable, event-driven application with AWS serverless architecture, event-driven design, and Step Functions workflow orchestration.

Key takeaways

Serverless Architecture

  • AWS provides a serverless architecture, allowing developers to focus on code and not infrastructure
  • Examples include Serverless Espresso, a coffee-ordering app
  • This architecture uses Lambda functions, API Gateway, DynamoDB, and Step Functions

Event-Driven Architecture

  • Event-driven architecture allows for a scalable and resilient application
  • Reduces coupling between services and microservices
  • Can handle large amounts of concurrent requests

Scalability and Cost

  • Serverless services scale automatically, withoutCODEINE cost
  • Lambda functions use a pay-per-use pricing model
  • Free tier allows for 1 million invocations per month
  • Supports scalable architecture

Step Functions

  • Workflow orchestration service that allows for complex workflows
  • Can be used for business workflows, not just tech workflows
  • Provides a visual representation of the workflow

AWS Services

  • API Gateway provides a RESTful API
  • Lambda functions handle computation
  • DynamoDB stores data
  • Step Functions orchestrates workflows
  • MQTT (IoT Core) provides real-time messaging
  • S3 provides file storage

Benefits

  • Reduced infrastructure costs
  • Improved scalability
  • Increased reliability
  • Reduced time to market
  • Flexibility in architecture design
  • Improved cost management

Applications

  • Event-driven architecture
  • Real-time messaging
  • Complex workflows
  • Scalable and resilient applications
  • Reduced coupling between services
  • Improved reliability
  • Cost-effective deployment