Go to file
zhenyi 934858bebf refactor(cache): redesign cache system with structured keys and improved performance
- Add repo_path parameter to cached_response and cached_vec_response functions
- Implement structured cache key format with namespace, repo_path, and request proto
- Replace global cache with Moka in-memory cache using weight-based eviction
- Set 256MB memory cap with 10-minute TTL and 2-minute TTI policy
- Add metrics collection for cache operations and evictions
- Implement efficient repo-scoped invalidation using key structure
- Add detailed documentation comments explaining cache architecture
- Remove outdated dependencies and update dependency versions
- Add error handling for encoding failures in cache operations
- Optimize Vec responses with length-delimited encoding and pre-allocation
2026-06-12 12:53:23 +08:00
.cargo refactor(docker): optimize Docker build process and update configurations 2026-06-08 18:52:22 +08:00
archive refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
blame refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
blob refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
branch refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
charts feat(charts): add Helm chart for gitks Git bare repository service 2026-06-08 21:21:15 +08:00
commit refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
data feat(repository): add language statistics analysis feature 2026-06-10 13:06:59 +08:00
diff refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
etc feat(system): add systemd service and installation script 2026-06-08 21:27:54 +08:00
hooks refactor(build): reformat code and add tonic health dependency 2026-06-11 13:56:15 +08:00
merge refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
pack refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
pb feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
proto feat(repository): add language statistics analysis feature 2026-06-10 13:06:59 +08:00
refs refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
remote refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
repository refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
server refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
snapshot refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
tag refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
tests refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
tree refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
.dockerignore refactor(docker): optimize Docker build process and update configurations 2026-06-08 18:52:22 +08:00
.env.example chore: remove .env from git tracking 2026-06-10 18:31:36 +08:00
.gitignore chore: remove .env from git tracking 2026-06-10 18:31:36 +08:00
bare.rs refactor(server): replace custom remote clients with macro-based implementation 2026-06-08 09:43:57 +08:00
build.rs refactor(build): reformat code and add tonic health dependency 2026-06-11 13:56:15 +08:00
Cargo.lock refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
Cargo.toml refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
CLAUDE.md feat(api): extend commit and diff services with new functionality 2026-06-08 15:37:08 +08:00
disk_cache.rs refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
docker-compose.yaml refactor(docker): optimize Docker build process and update configurations 2026-06-08 18:52:22 +08:00
Dockerfile refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
Dockerfile.fast refactor(docker): optimize Docker build process and update configurations 2026-06-08 18:52:22 +08:00
error.rs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
init.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
lib.rs refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
LICENSE feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
macros.rs refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
main.rs refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
metrics.rs refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
oid.rs refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
pack_cache.rs refactor(actor): implement Raft consensus algorithm for cluster leader election 2026-06-10 12:35:10 +08:00
paginate.rs refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
rate_limit.rs refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00
README.md feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
sanitize.rs refactor(cache): redesign cache system with structured keys and improved performance 2026-06-12 12:53:23 +08:00

gitks

A Git bare repository operation library based on gRPC.

License

PolyForm Noncommercial 1.0.0 — Free for noncommercial use. For commercial licenses, please contact us.