The DO storage is generally based on input order right?
The DO storage is generally based on input order right?

prefix filtering as an optimizationentity:ID now as a key-scheme.prefix filtermessage:ID, probably have to purge the current storages somehow though now message2:newid if you want to keep the old data around for migration - but it looks like you are building something new so probably nothing major to keepmessage: you will need to list with a prefix then make delete(keys) callsdeleteAll() will delete everything for that DO instance.. if you want to delete all the data in every DO, things get a bit more complex. If I remember correctly deleting the namespace is the way to go (but I can't remember if you also needed to wait for DOs to be evicted).. entity:IDmessage:IDmessage2:newidmessage:delete(keys)const start = Date.now()
const response = await stub.fetch(request)
const durationMs = Date.now() - start