Version 1.3 - The Synchronization Update
📦 Release v1.3.0 - The Synchronization Update
This version introduces a high-performance data orchestration layer, focusing on real-time synchronization, modularity, and automated memory management.
🌟 New Features
- Live Protocol Support: Full integration of real-time data streaming and cross-instance communication protocols.
- Dynamic Cache TTL (Time-To-Live): Every
DataAddonnow defines its owngetCacheTTL(), allowing granular, module-specific memory control. - Auto-Invalidating Cache (L1/L2 Sync): Integrated Redis Keyspace Notifications (
notify-keyspace-events Ex). Nexus now automatically purges local RAM (L1) when a key expires in Redis (L2). - Sliding Expiration: Implemented "touch-to-renew" logic; active data stays in cache while inactive data is automatically evicted after its TTL.
⚡ Performance & Optimizations
- Dual-Queue Worker Logic: Refined Inbound and Outbound worker threads to ensure non-blocking operations under heavy load.
- Reflection Caching: Optimized field and annotation scanning within
DataAddonto minimize serialization overhead. - Pool Stability: Enhanced
JedisPoolconfiguration for better stability in high-concurrency environments.
🛠 Technical Improvements
- Protocol Refactoring: The
DataAddonabstract class now enforces strict TTL management. - Smart Logging: Improved console feedback for cache invalidation events to assist in debugging.
- Automatic Configuration: Redis settings are now automatically updated to support keyspace events upon connection.