You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a proper caching framework (Caffeine or similar) for hot data paths beyond basic ConcurrentHashMap. Profile first to identify actual bottlenecks before optimizing.
Motivation
HyperFactions stores significant state across features (factions, members, claims, power, relations, combat tags, zones). As server scale grows, read-heavy operations on frequently accessed data would benefit from tiered caching with TTL and eviction policies.
Proposed Cache Tiers
Hot (Frequent Access)
Faction memberships — Player → faction lookup (every protection check)
Activity