pico-engine
pico-engine copied to clipboard
We would like to be able to move a pico from one pico engine to another
The v0 engine had these primitives (see its engine module):
-
engine:exportPico
-
engine:importPico
-
engine:setPicoStatus
-
engine:getPicoStatus
Pico status included a Boolean flag isLeaving
and a forwarding address of sorts, movedToHost
.
Importing a pico required the specification of its parent in the receiving pico engine.
A poor man's way of moving one pico from a pico engine containing many picos to a new pico engine which will only contain that one pico: copy the image (the db
folder) from the current pico engine to the new pico engine. Then, delete all other picos, except for the picos along the parent path up to the Root pico. If a parent did something with a collection of its children (as in the fully-sharded-database experiment) then some of its rulesets could be removed.