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

Database working with examples #148

Merged
merged 8 commits into from
Mar 14, 2024
Merged

Database working with examples #148

merged 8 commits into from
Mar 14, 2024

Conversation

plor
Copy link
Contributor

@plor plor commented Mar 13, 2024

Removed listeners and pushed pass thru pattern. This caches from postgres and updates at a certain frequency to catch changes. Also introduces backoff so postgres doesn't get hit with many misses.

plor added 8 commits March 3, 2024 22:03
* also pull path from request for lookup
* `Key()` used for plugin namespace, all cache writes should use this as
  a prefix
* Redis hashes are used for caching postgres entities, plugins can use
  hashes or direct counters
* Balance plugin shows how to check counter and decrement for operation
@plor plor requested a review from wtfsayo March 13, 2024 23:15
@wtfsayo wtfsayo merged commit e54a630 into develop Mar 14, 2024
@plor plor deleted the remove-listeners branch March 26, 2024 17:03
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.

Layout key format and data structure for redis datastore Create structure for pass-through cache
2 participants