harbor/src/controller/blob
Chlins Zhang 78799ccb2f
perf: introduce update quota by redis (#18871)
Introduce the quota update provider, improve the performance of pushing
artifacts to same project with high concurrency by implementing
optimistic lock in redis. By default the function is disabled, open it
by set env 'QUOTA_UPDATE_PROVIDER=Redis' for the core container.

Fixes: #18440

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-07-10 13:24:37 +08:00
..
controller.go perf: introduce update quota by redis (#18871) 2023-07-10 13:24:37 +08:00
controller_test.go fix: import optimization (#18727) 2023-05-30 13:24:08 +08:00
options.go Relocate/rename some packages (#11183) 2020-03-24 20:45:45 +08:00