Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
helper_test
command
Command helper_test is a build-time helper used by TestCrashInjection in internal/arena/persist.
|
Command helper_test is a build-time helper used by TestCrashInjection in internal/arena/persist. |
|
horreum
command
Command horreum runs the unified horreum cache server with TCP or QUIC transport, optional persistence, and a Prometheus /metrics endpoint.
|
Command horreum runs the unified horreum cache server with TCP or QUIC transport, optional persistence, and a Prometheus /metrics endpoint. |
|
horreum-bench
command
Command horreum-bench runs soak tests against the arena allocator.
|
Command horreum-bench runs soak tests against the arena allocator. |
|
internal
|
|
|
arena
Package arena provides a contiguous mmapped arena with manual offset management for zero-allocation blob storage.
|
Package arena provides a contiguous mmapped arena with manual offset management for zero-allocation blob storage. |
|
arena/persist
checkpoint.go — HashIndex checkpoint serialisation.
|
checkpoint.go — HashIndex checkpoint serialisation. |
|
compress
Package compress provides optional value compression for the cache.
|
Package compress provides optional value compression for the cache. |
|
encrypt
Package encrypt provides optional authenticated value encryption for the cache.
|
Package encrypt provides optional authenticated value encryption for the cache. |
|
eviction
Package eviction provides a power-of-two open-addressed hash table for 4-byte fingerprints.
|
Package eviction provides a power-of-two open-addressed hash table for 4-byte fingerprints. |
|
index
Package index provides a simple open-addressing hash index for benchmarking the arena.
|
Package index provides a simple open-addressing hash index for benchmarking the arena. |
|
metrics
http.go — Prometheus exposition over HTTP.
|
http.go — Prometheus exposition over HTTP. |
|
proto
Package proto implements a minimal binary request/response protocol for horreum.
|
Package proto implements a minimal binary request/response protocol for horreum. |
|
shutdown
Package shutdown coordinates graceful shutdown of multiple long-lived components in response to OS signals.
|
Package shutdown coordinates graceful shutdown of multiple long-lived components in response to OS signals. |
|
transport
server.go — top-level Server that creates a default ShardSet when the caller does not supply one.
|
server.go — top-level Server that creates a default ShardSet when the caller does not supply one. |
|
transport/api
Package api exposes the public Transport interface and the Server factory.
|
Package api exposes the public Transport interface and the Server factory. |
|
transport/quic
Package quic — error sentinels.
|
Package quic — error sentinels. |
|
transport/tcp
init.go — register the TCP transport factory with api.
|
init.go — register the TCP transport factory with api. |
Click to show internal directories.
Click to hide internal directories.