The Smart Relay Hub
FluxPort isn't just a proxy—it's a distributed request-transformation engine. We call it the "Smart Relay Hub," and it operates at the edge of your development environment.
Request Lifecycle Analysis
01 / Unified Ingress
Every request sent via the FluxPort UI or the Relay CLI enters the internal dispatcher. Here, we normalize the payload, headers, and protocol (REST or GraphQL) before routing.
- Normalization
- Validation
- Header Parsing
- Protocol Detection
POST /relay/auth/v1/login
Host: gateway.fluxport.io
Content-Type: application/json
Authorization: Bearer test_key_443
{ "user": "admin", "pass": "••••" }02 / Smart Interception
Our interceptor engine matches the request against your defined workspace rules using high-efficiency regex clustering.
THEN inject header x-api-key: {{PROD_KEY}}
03 / Payload Mutation
The resolver replaces all environment placeholders with raw secrets in a secure, isolated sub-process. The request is then rewritten to its final destination URL.
No data is cached during transformation to ensure zero-persistence of secrets.
X-TRANSFORMED: true x-api-key: sk_prod_••••••••283 Host: production-auth.cloud.com
04 / Asynchronous Audit
Finally, a deep audit object is generated and pushed to our PostgreSQL timeseries log system without delaying the original request response.
Relay Engine v2.0 Specifications
Our unified routing engine is designed to handle enterprise workloads with zero overhead. Every line of code is optimized for the V8 runtime.
Sub-6ms Parse
Internal request normalization and route mapping takes less than 6 milliseconds at full throttle.
Cross-Origin Engine
Automatic CORS bypass and pre-flight handling ensures you never hit browser security blockers in dev.
Protocol Agnostic
Handles raw REST, complex GraphQL schemas, and soon, WebSocket and bidirectional gRPC streams.
Zero-Persistence
Tokens are parsed from memory buffers and cleared instantly via surgical V8 garbage collection pinning.
Relay_Node_V20_Native_Module
End of Technical Specification — FluxPort Engineering Suite