Files
Aether/apps/aether-gateway/src/cache/mod.rs
T
elky fc92c4f431 perf(gateway): scale request hot paths for 20k streams
Shard and singleflight hot-path caches, batch and prioritize candidate and usage lifecycle persistence, and extend database and pressure-test instrumentation for 20k concurrent streams.
2026-07-22 02:11:08 +08:00

37 lines
1.8 KiB
Rust

mod auth_api_key_last_used;
mod auth_context;
mod auth_runtime;
mod candidate_page;
mod dashboard_response;
mod direct_plan_bypass;
mod scheduler_affinity;
mod system_config;
pub(crate) use auth_api_key_last_used::AuthApiKeyLastUsedCache;
pub(crate) use auth_context::{
AuthContextCache, AuthContextCacheGeneration, AuthContextInflightRegistration,
};
pub(crate) use auth_runtime::{
AuthApiKeyFeatureCacheKey, AuthApiKeyIdentityCacheKey, AuthSnapshotCache, AuthSnapshotCacheKey,
CacheLoadObserver, JsonValueCache, ValueCache,
};
pub(crate) use candidate_page::{
candidate_page_cache_metric_samples, candidate_page_cache_stale_ttl,
candidate_page_cache_ttl_from_env, record_candidate_page_cache_follower_wait,
record_candidate_page_cache_hit, record_candidate_page_cache_load,
record_candidate_page_cache_miss, record_candidate_page_cache_none,
record_candidate_page_resolve_cache_follower_wait, record_candidate_page_resolve_cache_hit,
record_candidate_page_resolve_cache_load, record_candidate_page_resolve_cache_miss,
record_candidate_row_page_cache_follower_wait, record_candidate_row_page_cache_hit,
record_candidate_row_page_cache_load, record_candidate_row_page_cache_miss,
record_candidate_row_page_cache_none, CandidatePageCache, CandidatePageCacheKey,
CandidatePageSnapshot, CandidateResolvedPageCache, CandidateResolvedPageCacheKey,
CandidateResolvedPageSnapshot, CandidateRowPageCache, CandidateRowPageCacheKey,
};
pub(crate) use dashboard_response::DashboardResponseCache;
pub(crate) use direct_plan_bypass::DirectPlanBypassCache;
pub(crate) use scheduler_affinity::{
SchedulerAffinityCache, SchedulerAffinitySnapshotEntry, SchedulerAffinityTarget,
};
pub(crate) use system_config::{SystemConfigCache, SystemConfigInflightRegistration};