top | item 32996913

(no title)

DenseComet | 3 years 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.

discuss

order

yencabulator|3 years ago

Yeah that seems to be in conflict with this earlier passage:

> A WebSocket being connected to the Durable Object counts as the Object being active.