Go to file
Andrei Aaron 8215766720
fix: the scheduler is now fair (#2158)
Generators are now ordered by rank in the priority queue.

The rank computation formula is:
- 100/(1+generated_task_count) for high priority tasks
- 10/(1+generated_task_count) for medium priority tasks
- 1/(1+generated_task_count) for low priority tasks

Note the ranks are used when comparing generators both with the same priority and with different priority.
So now we are:
- giving an opportunity to all generators with the same priority to take turns generating tasks
- giving roughly 1 low priority and 10 medium priority tasks the opportunity to run for every 100 high priority tasks running.

After a generator generates a task, the generators are reordered in the priority queue based on rank.

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
2024-01-25 09:05:47 -08:00
.github chore: fix dependabot alerts (#2133) 2023-12-12 12:44:28 +02:00
.zap feat(ui): update zui version (#2162) 2024-01-17 17:22:33 +02:00
build ci: move distroless to debian12 (#2056) 2023-11-21 14:54:07 +02:00
cmd refactor(pkg/test): split logic in pkg/test/common.go into multiple packages (#1861) 2023-09-27 11:34:48 -07:00
demos oras fix: 2022-08-30 21:39:16 +03:00
docs swagger: rename 'docs/' to 'swagger/' 2021-10-21 13:46:14 -07:00
errors refactor(test): add lint rule for messages starting with the component (#2045) 2023-12-08 10:05:02 +02:00
examples docs: Fix Examples Readme to use correct field storage.retention.policies.repositories. (#2074) 2024-01-15 15:18:36 +02:00
pkg fix: the scheduler is now fair (#2158) 2024-01-25 09:05:47 -08:00
scripts refactor(test): add lint rule for messages starting with the component (#2045) 2023-12-08 10:05:02 +02:00
swagger fix(apikey): show api key configuration in mgmt API (#2138) 2023-12-14 09:54:51 -08:00
test fix(nightly): increase wait time for dedupe nightly build (#2177) 2024-01-22 09:07:04 -08:00
.gitignore refactor(metadb): improve UX by speeding up metadb serialize/deserialize (#1842) 2023-10-30 13:06:04 -07:00
CODE_OF_CONDUCT.md doc: add a CODE_OF_CONDUCT.md 2020-12-15 11:20:45 -08:00
codecov.yml refactor(metadb): improve UX by speeding up metadb serialize/deserialize (#1842) 2023-10-30 13:06:04 -07:00
CODEOWNERS add a CODEOWNERS file 2022-05-04 11:52:28 -07:00
COMPARISON.md move references to zotregistry.io and project-zot 2021-12-05 10:52:27 -08:00
CONTRIBUTING.md build: fix container image targets (#1856) 2023-10-04 09:12:56 -07:00
go.mod feat(log): print traceback when panics occur (#2166) 2024-01-16 09:08:14 -08:00
go.sum feat(log): print traceback when panics occur (#2166) 2024-01-16 09:08:14 -08:00
golangcilint.yaml chore: fix dependabot alerts (#2133) 2023-12-12 12:44:28 +02:00
LICENSE docs: fix copyright related info for cncf onboarding (#1117) 2023-01-17 15:43:45 -08:00
MAINTAINERS.md docs: fix CNCF related documentation (#1099) 2023-01-10 15:52:11 -08:00
Makefile feat(ui): show CVE severity statistics in the UI (#2172) 2024-01-18 21:31:15 -08:00
NOTICE docs: fix copyright related info for cncf onboarding (#1117) 2023-01-17 15:43:45 -08:00
README_fuzz.md Add fuzz tests for storage_fs (#601) 2022-07-27 20:37:55 +03:00
README.md docs: update docs website url (#2159) 2024-01-11 09:55:11 +02:00
SECURITY.md chore: fix security alerts (#1493) 2023-06-01 16:53:50 -07:00
THIRD-PARTY-LICENSES.md feat(log): print traceback when panics occur (#2166) 2024-01-16 09:08:14 -08:00
tools.go chore(trivy): update trivy version and enforce OCI compliant repo names in local image storage (#1068) 2023-01-18 08:24:44 -08:00
zot.go zot: initial commit 2019-06-21 15:29:19 -07:00

zot build test nightly jobs codecov.io Conformance Results CodeQL CII Best Practices Go Reference

zot: a production-ready vendor-neutral OCI image registry - images stored in OCI image format, distribution specification on-the-wire, that's it!

Docs

Documentation for zot is located at: https://zotregistry.dev

Code of Conduct

Details are in the code of conduct