You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use bitcode instead of json serde, and remove generics from batcher (#68)
- Use bitcode instead of json for more efficient serialization for
communication across Workers and DOs. This is an intermediate step
short of full RPC support (#3).
- Use bitcode instead of json for serializing the staging bundle.
- Introduce `PendingLogEntryBlob` struct that wraps the serialized bytes
and lookup key of a `PendingLogEntry` so that the Batcher doesn't need
to fully deserialize entries as all it needs is the lookup key. This
allows us to remote the generic type from the Batcher altogether
(fixes#67).
Other:
- Pass argument to durable_object macro to reduce generated code size
(Batchers only need fetch methods, and Sequencers need fetch and
alarm, but not websocket.)
- Clean up code in various places.
0 commit comments