aws-serverless-airline-booking
aws-serverless-airline-booking copied to clipboard
[Booking] Convert booking process to synchronous
Booking reservations are currently done async after payment authorization is successful.
Since then, Step Functions launched Express Workflow with SyncStartExecution API. This allows us to provide a better customer experience since our end-to-end flow completes within 2-3 seconds.
Minimal changes:
- [ ] Change ProcessBooking state machine from Standard to Express Workflow
- [ ] Split ASL from SAM into its own state machine definition, and use the new DefinitionSubstitutions
- [ ] Enable Tracing (new) and Logging
Depending on how tackle the task:
- [ ] Update front-end to expect a synchronous response, and provide the option to retry if failed within the UI (use max retry too to avoid overloading downstream)
@heitorlessa I can take this, per our conversation.