Connecting the LEGO play experience with millions of people requires an innovative platform. This has fueled the cloud migration of the legacy e-commerce application. In this session, we walk you through the principles, the approach, the learnings, and of course the serverless technologies that made the vision a reality. We cover multiple real-world use cases such as the integration of the e-commerce platform with the tax system, and the implementation of an event-streaming platform.
- Monolith
- Oracle ATG, SAP, and Tax Platform
- Then Elastic Beantalk container with Node.js + React
- Then added VPC gateway
- Black Friday 2017 - System went down
- Slowness in Tax system led to many queued requests, leading to 503s for a couple of hours.
- SaaS tax system was introduced, utilizing API gateway as interface with Lambda
- Black Friday 2018 - no issues
- Atomic request-response API
- Command Query Responsibility Segregation (CQRS) with status cache
- Email notification with signed URL
- API authorizer with identity lookup
- Publish-subscribe sync
- Event-driven data pipeline with buffering
- Codeless data ingestion
- Codeless sequence generator
- URL redirects cached by CDN
- Scheduled workflow
- Hub and spoke event bus
- Look for something simple to begin with
- Implement automated integration tests
- Don't spend time mocking AWS amazon services
- Separate dev, test, and prod accounts
- Architect in "set pieces"
- No throwaway PoCs
- Leverage patterns