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
johtso
johtsoOP2mo ago
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?
zensin
zensin2mo ago
partykit seems like a super nice way of doing durable objects, but I'm not sure how stable it is judging by the repo
1984 Ford Laser
1984 Ford Laser2mo ago
cloudflare owns partykit as of April 2024, will be about as stable as it gets
zensin
zensin2mo ago
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
zensin
zensin2mo ago
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
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
1984 Ford Laser
1984 Ford Laser2mo ago
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
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
SirStendec
SirStendec2mo ago
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.
Ben
Ben2mo ago
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.
Max (@rozenmd)
Max (@rozenmd)2mo ago
if you push new code, it'll restart your DO
Ben
Ben2mo ago
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?
Max (@rozenmd)
Max (@rozenmd)2mo ago
Cloudflare Docs
Known issues | Cloudflare Durable Objects docs
Durable Objects is generally available. However, there are some known issues.
Puliczek
Puliczek2mo ago
In SQL API DO - can we use AUTOINCREMENT for id keys?
CREATE TABLE IF NOT EXISTS users (
id INTEGER PRIMARY KEY AUTOINCREMENT,
);
CREATE TABLE IF NOT EXISTS users (
id INTEGER PRIMARY KEY AUTOINCREMENT,
);
I tried with AUTOINCREMENT and without.

Did you find this page helpful?