ipfs-cluster/cmd/ipfs-cluster-service
Hector Sanjuan 6447ea51d2 Remove *Serial types. Use pointers for all types.
This takes advantange of the latest features in go-cid, peer.ID and
go-multiaddr and makes the Go types serializable by default.

This means we no longer need to copy between Pin <-> PinSerial, or ID <->
IDSerial etc. We can now efficiently binary-encode these types using short
field keys and without parsing/stringifying (in many cases it just a cast).

We still get the same json output as before (with minor modifications for
Cids).

This should greatly improve Cluster performance and memory usage when dealing
with large collections of items.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-27 17:04:35 +00:00
..
dist Move ipfs-cluster-service and ipfs-cluster-ctl to cmd/ 2018-09-27 20:56:09 +02:00
configs.go make tracing service name unique 2019-02-20 08:40:18 +10:00
daemon.go Create LoadJSONFileAndEnv config method for convenience 2019-02-15 19:32:48 +02:00
lock.go Move ipfs-cluster-service and ipfs-cluster-ctl to cmd/ 2018-09-27 20:56:09 +02:00
main.go Create LoadJSONFileAndEnv config method for convenience 2019-02-15 19:32:48 +02:00
Makefile Move ipfs-cluster-service and ipfs-cluster-ctl to cmd/ 2018-09-27 20:56:09 +02:00
state.go Remove *Serial types. Use pointers for all types. 2019-02-27 17:04:35 +00:00