Ok, so it's not like "paused" where the container instance is somehow frozen
Ok, so it's not like "paused" where the container instance is somehow frozen
idFromName('job-{jobId}') → unique DO createdDo hibernated DOs (with empty storage via deleteAll()) have any cost or limits?No.
workerd a bit, maybe this is of use? https://github.com/cloudflare/workerd/blob/aee8c81a780095b66f80c424545eb5a97a062452/src/workerd/api/workers-module.h#L43this.ctx and this.env but there is some other C++ foo I don't follow if anyone knows?Map copy of the table to look up by PM?ctx.DO.getByname(tenantId).init. However, depending upon why you need it, you may just be able to get away with using ctx.id That address is always accurate and always present. It's that 64 hex digit string that you would use in get(idFromString(id)) or maybe it's the actual id object so you'd use get(id). I let TypeScript tell me when I get it wrong and I'm on mobile so can't try it. routeDORequest expects this format for URLs, [/${prefix}]/${doBindingName}/${doInstanceNameOrId}[/path...]. That's always how my WebSocket upgrades happen so I always have the name in that doInstanceNameOrId slot. There is also an undocumented header (I just added it and it's on my to-do list to document) that has it as well, in case you don't want to parse the URL again inside your DO's fetch handler. Since you have to use fetch for WebSockets and I'm always using WebSockets, I always have those.init() approach, or send the identifier all the time if the original request also contains the information to derive it.