ipfs-cluster/api
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
..
common Merge pull request #1626 from ipfs/feat/cid-strings 2022-04-07 15:05:00 +02:00
ipfsproxy Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00
pb Update protobuf compiler and generated files 2022-01-11 16:47:45 +01:00
pinsvcapi Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00
rest Merge pull request #1626 from ipfs/feat/cid-strings 2022-04-07 15:05:00 +02:00
add_test.go Fix #1358: Set RawLeaves to true when unset and CidVersion=1 (#1359) 2021-05-19 23:56:30 +02:00
add.go Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00
types_test.go Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00
types.go Feat: add a new "pinqueue" informer component 2022-06-16 17:43:29 +02:00
util.go staticcheck: fix all staticcheck warnings in the project 2020-04-14 20:16:10 +02:00