ποΈ Overview
alt text
ποΈ BasicAuth
alt text
ποΈ ForwardAuth
alt text
ποΈ JWT Auth
The JWTAuth middleware is a designed to validate and process JSON Web Tokens (JWTs). It ensures that only authorized requests are forwarded to your backend services by validating the authenticity and integrity of the tokens.
ποΈ Rules
alt text
ποΈ Service Match Rules
The "Service Match Rules" feature enables dynamic routing of requests to specific services based on defined match rules. The middleware evaluates each rule in the matches list, and the first matching rule determines the service to which the request is forwarded.
ποΈ Headers
alt text
ποΈ HTTP Cache
HTTP cache
ποΈ Circuit Breaker
The circuit breaker safeguards your system by preventing excessive requests from being sent to unhealthy services, thereby avoiding cascading failures.
ποΈ CORS Headers
CORS (Cross-Origin Resource Sharing) headers can be configured similarly to custom headers, providing a straightforward way to enhance security and manage cross-origin requests. When CORS headers are enabled, preflight requests are handled directly by the middleware, which generates and sends the appropriate response back to the client without forwarding the request to any service.
ποΈ Rate Limiter
A Rate Limiter is a middleware component designed to control the flow of incoming requests to a system. It ensures the system isn't overwhelmed by traffic spikes or abusive usage patterns, maintaining optimal performance and reliability.
ποΈ Mirroring Request
When working on a new version of a microservice, refactoring code, or implementing risky changes, it can be too dangerous to deploy them live without careful testing. Issues could impact your end users if something goes wrong.
ποΈ Rest To Grpc (Experimental)
The REST to gRPC Middleware enables seamless integration between RESTful HTTP endpoints and gRPC services within JetProxy. This middleware allows forwarding incoming REST requests to a backend gRPC service, handling the necessary transformation of HTTP requests into gRPC calls.
ποΈ Idempotency Request
Idempotency ensures that no matter how many times a client sends the same request, the server will perform the action only onceβor return the same result without duplicating side effects.