workerd
workerd copied to clipboard
Python snapshots: Add workerd cli options to save memory snapshots to disk
Since this doesn't affect production, is an autogate actually necessary? Autogates exist for the purpose of rolling things out to production.
Maybe this behavior should be enabled by something in workerd/server/server.c++ instead?
@kentonv This makes sense, are there other development-only features that I could look at for inspiration?
are there other development-only features that I could look at for inspiration?
Perhaps durableObjectStorage
in workerd.capnp
? Configures local disk storage for durable objects.
Seems like there's some overlap with #1851. Can you take a look?
Specifically, is there a possibility to reuse the DiskCache
to store snapshots as well?
is there a possibility to reuse the DiskCache to store snapshots as well?
Yeah, this would make a lot of sense.