I mean I wonder if there is any difference in cpu usage once function is running
I mean I wonder if there is any difference in cpu usage once function is running
One pattern is to send all of your writes for a given KV key through a corresponding instance of a Durable Object
summary:1 but it will never change once its writtenentry:1, 2, 3, etc)summary:1entry:1entries = [
{id: `entry:1`, body: "..."},
{id: `entry:2`, body: "..."},
{id: `entry:3`, body: "..."},
]
summary = { id: `summary:1`, entries: [`entry:1`, `entry:2`, `entry:3`] }let summary = await fetchSummary(`summary-1`);
for entry in summary.entries {
let entry = await fetchEntry(entry);
}