Sabitlenmiş Tweet

Here is the new AWS State Machine that gathers all of the data for HockeyStatCards.
1. In the morning, a scheduled job runs (AWS Event Bridge) that gets all the games for that day, and schedules a poll start time 2ish hours after puck drop
2. We check if the status is final, if not, we have dynamic backoffs based on how much time is left in the game. We loop until finished. If we hit our max poll attempts, we error here.
3. If we get a final status, we run the compute lambda.
4. We then check a boolean if we should post on socials or not, if true, we post.
Visually it looks like this:

English
















