Built-in Official Plugins
XyPriss ships with a suite of production-grade, high-performance plugins designed to handle critical security, routing, and maintenance tasks out of the box. For a technical breakdown of the hooks these plugins use, see the .
Official Plugin Stack
All official plugins leverage XHSC primitives for maximum throughput.
Built-in plugins are pre-signed and automatically trusted by G3.
1. XEMS (Encrypted Memory Store)
XEMS is the foundational security plugin for session management. It replaces traditional cookie-based JWTs with a server-side encrypted store, mitigating client-side tampering risks.
AES-256-GCM Encryption
All session data is encrypted at rest in a native XHSC sidecar process.
Atomic Rotation
Opaque tokens are automatically rotated on every request to prevent replay attacks.
XEMS configuration is handled within the server.xems block of your configuration file.
2. Route Optimization Plugin
This plugin analyzes real-time traffic patterns and dynamically optimizes the framework's internal radix routing tree for maximum throughput.
Hot-Route Analysis
Identifies most frequent endpoints.
Radix Tuning
Reorganizes tree for hot routes.
Hit Thresholds
Balances CPU vs throughput.
Optimization thresholds and analysis intervals can be tuned in the plugins.routeOptimization block.
3. Server Maintenance Plugin
Ensures the health and stability of the server through automated resource monitoring and graceful recovery protocols.
Resource thresholds and recovery actions are configured via the plugins.serverMaintenance entry.
Configuring Built-in Plugins
For detailed examples and a step-by-step guide on how to activate and tune these plugins in your project, refer to the Usage Tutorial.
Explore the complete list of hook signatures and prioritized execution levels.
