ipfs-cluster/cmd/ipfs-cluster-follow
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
..
dist Chore: Add license file with URLS (#1014) 2020-03-06 13:52:19 +01:00
commands.go Feat: add a new "pinqueue" informer component 2022-06-16 17:43:29 +02:00
main.go Fix #992: Ensure the gateway variable is set on the run --init command 2019-12-23 23:32:06 +01:00
Makefile Switch to building with -trimpath instead of asm and gc trimpath flags 2020-10-20 14:32:20 +02:00