denchi
denchi
CDCloudflare Developers
Created by denchi on 4/6/2024 in #workers-help
Notifying big number of clients about R2 file changes
Interesting. Thanks a lot for the link! When that event fires, what would you say is the best way to inform clients? I'm reading through the documentation right now, but would you say this is possible with durable objects and websockets? As far as I can tell, websocket hibernation sounds like what I'm looking for. Clients would register a websocket through the DO and the websocket hibernates until the R2 event notification is fired, then the worker wakes up all websockets and sends a signal to trigger the clients to download the new data.
4 replies
CDCloudflare Developers
Created by denchi on 4/26/2023 in #r2
I m getting this error for some requests
Still getting these occasionally. It happens for a very small percentage of requests so currently I just handle it by retrying requests that fail this way.
12 replies
CDCloudflare Developers
Created by denchi on 4/26/2023 in #r2
I m getting this error for some requests
Awesome, thanks a bunch 🙏
12 replies
CDCloudflare Developers
Created by denchi on 4/26/2023 in #r2
I m getting this error for some requests
Still getting a bunch of those errors at a low but constant rate.
12 replies
CDCloudflare Developers
Created by denchi on 4/26/2023 in #r2
I m getting this error for some requests
@Harshal did you get a chance to look at this?
12 replies
CDCloudflare Developers
Created by denchi on 4/26/2023 in #r2
I m getting this error for some requests
And checking the logs shows that it's indeed always that one specific error when trying to write to R2
12 replies
CDCloudflare Developers
Created by denchi on 4/26/2023 in #r2
I m getting this error for some requests
12 replies
CDCloudflare Developers
Created by denchi on 4/26/2023 in #r2
I m getting this error for some requests
I was thinking it could be related to client disconnects, but I'm also seeing some of those errors without client disconnects at the same time
12 replies
CDCloudflare Developers
Created by denchi on 4/26/2023 in #r2
I m getting this error for some requests
thanks a lot for checking, I DMd you my account ID
12 replies