Design Draft: Server-side Copy

Hi there!

The design draft for server-side copy is available here: https://review.dev.storj.io/c/storj/storj/+/5930

All comments are welcome. Happy new year to all!

4 Likes

I don’t know what I’m reading, not familiar enough with satellite code.

You may want to consider special-casing data structures for the „single copy” and „two copies” states. R’s garbage collector does that and apparently it helps in many cases. Each object basically has „one”, „two” and „unknown number of references” states, only the last one requiring a GC pass to collect unused data.

Reference counting will generate congestion in often-copied data, make sure you defend against it.

I assume this operation is supposed to be synchronous (in terms of consumer API)?

1 Like