a8m / a8m/lease

weighted lease

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted
Dominant language
Go
Stars
19
Forks
3
PR merge metrics
No merged PRs in 30d

Description

for example:

| **leaseKey** | **leaseOwner** | **leaseWeight** | **leaseCounter** |
| --- | --- | --- | --- |
| task 1 | worker 1 | 1 (default) | x |
| task 2 | worker 2 | 3 | x |
| task 3 | worker 1 | 1 (default) | x |
| task 4 | worker 1 | 1 (default) | x |

comments:
- the default weight of a lease(or task) is 1
- we expect the leaser to partition the work according to the total weight of the tasks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.