4 ms·
See the top of this doc: https://developers.cloudflare.com/workers/learning/using-websockets https://developers.cloudflare.com/workers/learning/using-web...
by mwcampbell 4y ago
See the top of this doc: https://developers.cloudflare.com/workers/learning/using-websockets https://developers.cloudflare.com/workers/learning/using-web...
- kentonv 4y agoDoh. Yeah that's way out-of-date, I'll get it fixed. FWIW contrary to the note on that page, WebSocket pricing is documented along with Durable Objects here: https://developers.cloudflare.com/workers/platform/pricing/#durable-objects https://developers.cloudflare.com/workers/platform/pricing/#...
- DenseComet 4y ago> A WebSocket being connected to the Durable Object counts as the Object being active. > If 100 Durable Objects each had 100 WebSocket connections established to each of them which sent approximately one message a minute for a month, the estimated cost in a month would be, if the messages overlapped so that the Objects were actually active for half the month: I remember looking at that page before and finding these two lines confusing. Based on the first line, it seems that the objects would be considered active for the entire month, whereas the second one raises the possibility that a websocket can be connected to a durable object without it being considered active.
- yencabulator 4y agoYeah that seems to be in conflict with this earlier passage: > A WebSocket being connected to the Durable Object counts as the Object being active.