Skip to content

Conversation

@rolodato
Copy link
Contributor

Adds a GET /environment-document endpoint for use by server-side SDKs in local evaluation mode.

Using the Edge Proxy this way introduces more polling (SDKs polling Edge Proxy, and Edge Proxy polling API), but at least it's polling that customers are not charged for. This lets customers scale their applications independently from their Edge Proxies.

This implementation could be more efficient, since we're iterating through all environment key pairs to find the matching server-side key. In any case, the number of environment key pairs served by a single Edge Proxy tends to be small.

@rolodato rolodato requested a review from matthewelwell March 17, 2025 13:38
@matthewelwell matthewelwell removed their request for review April 15, 2025 11:15
@matthewelwell matthewelwell merged commit a269be8 into main Jul 18, 2025
2 checks passed
@matthewelwell matthewelwell deleted the feat/serve-env-doc branch July 18, 2025 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants