|
|
|
|
|
by toddh
2087 days ago
|
|
> Can passivation warmth be controlled? A variant of the cold start problem. How long after all the messages for an object drain is it passivated? Can you keep it pinned in memory? Another question. Can objects contain relationships that are themselves references to other Durable Objects? Say a simple reference, or a list, or DAGs? |
|
As always, "cold starts" with Workers are very fast, usually imperceptible to a human. Also, multiple objects may be hosted in the same isolate; when instantiating in an existing isolate, the only "cold start" overhead is whatever you write in your class constructor.
> Can objects contain relationships that are themselves references to other Durable Objects?
Yes, by storing the object IDs.