Step Functions: how to implement semaphores for state machines
▻https://hackernoon.com/step-functions-how-to-implement-semaphores-for-state-machines-65e23faeee
How do you control the number of concurrent state machine executions that can access a shared resource?Here at DAZN, we are migrating from our legacy platform into a brave new world of microfrontends and microservices. Along the way, we also discovered the delights that #aws Step Function has to offer, for example…flexible error handling and retrythe understated ability to wait between tasksthe ability to mix automated steps with activities that require human interventionIn some cases, we need to control the number of concurrent state machine executions that can access a shared resource. This might be a business requirement. Or it could be due to scalability concerns for the shared resource. It might also be a result of the design of our state machine which makes it difficult to (...)