Improvement towards stateless-ity
danielricart opened this issue · 0 comments
danielricart commented
You could maintain the Crimes' counter as an instance tag.
Fetch it at get_instances(url)
set it at arrest_unhealthy_instances
clear it at absolve_healthy_instances
This delegates the failure record to the instance and make it public and persistent, making easier running Dredd as an AWS lambda function.