diff options
| author | tv <tv@krebsco.de> | 2026-11-12 21:59:19 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-12 21:59:19 +0000 |
| commit | 74fbd89aebcede8f38bff8d08e4642f9c71117e7 (patch) | |
| tree | a9eb26d6fbee78eb60d01836984e0ec270c71b76 /src/swarm/suspend.rs | |
| parent | 8daa8d67b2df3586efcfcae0f0e39b06fee1c5c8 (diff) | |
federation: why not an actor for every change
An actor that is the hash of its change with the actor left out makes
a fork of an actor two changes that every node holds: it can be made
with Automerge 0.12's API and is checked with one hash. But Automerge
keeps a slot per actor in every clock it caches and moves its indices
for every actor that comes, so with an actor per change heap and time
grow with the square of the changes: 32 to 257 MB and 2 to 20 ms per
change applied at 10^4 changes, 2.7 GB and 0.16 s at 10^5 (measured
with Automerge alone). A hundred nodes stamping daily write 10^4
changes in a hundred days.
So a fork of an actor stays proven and named, not prevented.
Diffstat (limited to 'src/swarm/suspend.rs')
0 files changed, 0 insertions, 0 deletions
