my alarm is still set from 3 days ago, I don't see any errors in the logs
my alarm is still set from 3 days ago, I don't see any errors in the logs
15 Replies
if for arguments sake the alarm was attempted 6 times with errors, would the alarm be cleared?
I have an object that runs every 10 seconds. I use a one minute cron job to make sure there is always an alarm set thinking that would get me the stability I wanted. Do I actually need to check that there is an alarm, and the alarm is in the future?
partykit seems like a super nice way of doing durable objects, but I'm not sure how stable it is judging by the repo
cloudflare owns partykit as of April 2024, will be about as stable as it gets
oh nice (maybe hah). If python could do DO rn, i'd be racing to port partykit to python just for how fun it would be to live in that world. I think it would be an easy port
https://discord.com/channels/595317990191398933/1224715939581530112/1304477271641559080
Python + DOs coming next year, I'm keen on that too
I've had a good amount of success with python on wasmer.io edge but there's no persistent session yet. There's a volume mount I haven't tried yet, but I know it doesn't do anything to prevent race conditions.
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
Excuse if this is a dumb question, when service binding a DO Worker to another DO Worker, is it the Workers functions that are made available by RPC, the DO class', or both?
I bothered to read the docs and the answer is the Workers' functions
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
Hey there. Is there any possibility we could get a method for hibernatable websockets to set/update the tags on an already established connection?
I'm using tags as a rudimentary way to publish messages to subscribers of given topics, and it'd be nice to be able to change a subscriber's topics without needing it to reconnect. I could probably use a serialized attachment for that, but then I'd need to iterate over all connections whenever publishing a message which seems problematic in its own way.
If my durable object never gets "evicted" will it ever update?
For example I am building something similiar to the "engine" paradigm described here: https://blog.cloudflare.com/building-workflows-durable-execution-on-workers/ where my durable object runs on a loop.
The Cloudflare Blog
Build durable applications on Cloudflare Workers: you write the Wor...
Cloudflare Workflows is now in open beta! Workflows allows you to build reliable, repeatable, long-lived multi-step applications that can automatically retry, persist state, and scale out. Read on to learn how Workflows works, how we built it on top of Durable Objects, and how you can deploy your first Workflows application.
if you push new code, it'll restart your DO
What if it’s executing an asynchronous function? For example making a fetch request. Will it shutdown the do in the middle of a function call?
Cloudflare Docs
Known issues | Cloudflare Durable Objects docs
Durable Objects is generally available. However, there are some known issues.
In SQL API DO - can we use AUTOINCREMENT for id keys?
I tried with AUTOINCREMENT and without.