/trip-booking-saga-serverless

Standard example of the Saga pattern (trip booking) in a serverless world

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Showcase to coordinate serverless functions

This demo implements the classical trip booking Saga example with various serverless functions and different ways of orchestrating them.

Overview

I use this for certain talks:

Constantly under construction!

I use this demo for my talks. There is no gurantee on the stability of the code here - and it might be in a broken state any time.

Get started

AWS (Lambdas)

  • Install Serverless framework and configure according to your AWS account
  • Deploy lambdas
  • Decide on the implementation approach you want to play around with:
    • Use BPMN on Camunda Cloud as managed service from Camunda and deploy a function triggering the workflow
    • Use AWS Step Functions as managed service from AWS

GCP (Google Functions)

  • Install Serverless framework and configure according to your GCP account
  • Deploy Google Functions
  • Use Zeebe as managed service from Camunda Cloud and deploy your a function triggering the workflow