Flagsmith / Flagsmith/edge-proxy-rs

Add shared state for environment document between edge proxy instances

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2
Forks
1
Avg merge
4h 20m
Merged PRs (30d)
1

Description

Currently each Edge Proxy instance maintains a local cache of the environment document, and polls the core API itself.

As part of this issue, we'd like to centralise the environment document, ideally without sacrificing performance.

This issue is closely related to a couple of other issues:

- https://github.com/Flagsmith/edge-proxy/issues/195 - without shared state, implementing this issue means that each Edge Proxy instance needs a connection to the Core API
- https://github.com/Flagsmith/edge-proxy-rs/issues/14 - whatever persistence layer we arrive at for this issue, will likely be re-usable for the other (or vice versa).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the Edge Proxy issue alongside Flagsmith/edge-proxy issue 195 and Flagsmith/edge-proxy-rs issue 14. Compare the current per-instance environment-document cache and Core API polling described here, then investigate persistence options that centralize the document without sacrificing performance. Done means the shared-state approach is defined and addresses reuse for the related issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.