Skip to main content

Relay Proxy

The FlagTGL Relay Proxy is a lightweight server that sits between your SDKs and the FlagTGL backend. It caches flag configurations locally, reducing latency and ensuring your application continues to work even if the FlagTGL API is temporarily unavailable.

The relay proxy exposes evaluation endpoints that are compatible with the LaunchDarkly SDK protocol, so existing LaunchDarkly SDKs can connect to FlagTGL without code changes. It handles server-sent events (SSE) for real-time flag updates and serves client-side and server-side SDK endpoints.

Deploy the relay proxy close to your application servers for the best performance. It is included as part of the FlagTGL backend binary and can be enabled via configuration.