Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap #1

Open
6 tasks done
nathanclevenger opened this issue Aug 18, 2022 · 2 comments
Open
6 tasks done

Roadmap #1

nathanclevenger opened this issue Aug 18, 2022 · 2 comments
Assignees

Comments

@Eduard-Hasa
Copy link

Really loving this library. How has it been holding up in production?

@sam-lippert
Copy link
Contributor

@Eduard-Hasa I don't have hard numbers on errors or uptime, but this is one of the most-used libraries in the drivly org. Since this is implemented as a Durable Object in Cloudflare Workers, it is persistent and scalable.
We initialize a state machine for every entry in one database table to track statuses and trigger webhook callbacks, and we use another table to track the state machine event history. This allows us to roll back and replay events for any entity in that table, which is helpful for error debugging and recovery.
One limitation of running this as a Cloudflare Worker is the lack of background functions, so we perform background functions by using callbacks to services such as drivly/alarms.do, which can send events to the machine on a timer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants