joao-fontenele / stable-cache

A redis cache library, with producer resilience easily configurable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

redis get epic

joao-fontenele opened this issue · comments

as a user, I want to make a simple redis get by key with:

  • have an option to compress producer results? or is it producer responsibility? if it's the producer responsibility, who is responsible for decompressing on read?
  • e2e tests
  • have an option to avoid thundering producer calls, or is it producer responsibility?
  • have an option to set prefixes to the key? (maybe just expect the user to pass the key correctly)
  • have an option to call producer directly in case of redis faults, circuit break redis?
  • ci
  • docs
  • have an option to rta the performance of producers and cache
  • have an option to refresh keys automatically once a ttl threshold is crossed
  • an optional producer
  • set an optional ttl to the key
  • have an option of in case of cache miss, make the producer call and cache set in background
  • have an option to await the producer and cache set before
  • have an option to override the cache and renew the key with producer data
  • have an option to throw a timeout on the whole get, but request producer and set key in background
  • have an option to circuit break the producer in case of errors? or is it producer responsibility