ipfs-cluster/test
Hector Sanjuan 4daece2b98 Feat: add a new "pinqueue" informer component
This new component broadcasts metrics about the current size of the pinqueue,
which can in turn be used to inform allocations.

It has a weight_bucket_size option that serves to divide the actual size by a
given factor. This allows considering peers with similar queue sizes to have
the same weight.

Additionally, some changes have been made to the balanced allocator so that a
combination of tags, pinqueue sizes and free-spaces can be used. When
allocating by [<tag>, pinqueue, freespace], the allocator will prioritize
choosing peers with the smallest pin queue weight first, and of those with the
same weight, it will allocate based on freespace.
2022-06-16 17:43:29 +02:00
..
cids.go Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00
ipfs_mock.go metrics: track total pins, queued, pinning, pin error. 2022-04-22 15:57:48 +02:00
rpc_api_mock.go Feat: add a new "pinqueue" informer component 2022-06-16 17:43:29 +02:00
sharding.go Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00
test_test.go Feat: Split components into RPC Services 2019-05-04 21:36:10 +01:00
test.go Add/improve godoc descriptions for some modules. 2018-08-23 14:14:06 +02:00