Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flagd-RPC] implement event stream, reconnect and caching #55

Open
6 tasks
toddbaert opened this issue Feb 23, 2024 · 0 comments · May be fixed by #104 or #110
Open
6 tasks

[flagd-RPC] implement event stream, reconnect and caching #55

toddbaert opened this issue Feb 23, 2024 · 0 comments · May be fixed by #104 or #110
Labels
contribfest A good issue for Contribfest KubeCon EU '24 enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@toddbaert
Copy link
Member

toddbaert commented Feb 23, 2024

Implement flagd RPC caching as per spec. At a high level, "STATIC" flag values can be cached in an LRU cache

  • identify adequate LRU cache lib or implement one
  • implement flagd event stream in initialize
    • stream must reconnect with connection failure (some implementations include an API for listening for state changes in the underlying connection, this can be very useful for this feature)
  • shutdown event stream in shutdown.
  • use cache as per spec
  • tests
@toddbaert toddbaert added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Feb 23, 2024
@toddbaert toddbaert added this to the flagd RPC completeness milestone Feb 23, 2024
@toddbaert toddbaert changed the title [flagd-RPC] implement caching [flagd-RPC] implement event stream and caching Feb 23, 2024
@toddbaert toddbaert changed the title [flagd-RPC] implement event stream and caching [flagd-RPC] implement event stream, reconnect and caching Feb 23, 2024
@toddbaert toddbaert added the contribfest A good issue for Contribfest KubeCon EU '24 label Mar 11, 2024
@aepfli aepfli linked a pull request Nov 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribfest A good issue for Contribfest KubeCon EU '24 enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
1 participant