What is Nostr?
Peter / Peter Gerstbach
npub1pe5…w0zr
2023-12-29 17:27:34
in reply to nevent1q…vul6

Peter on Nostr: Great, I will try that. Would it be okay for the app to use the following redis ...

Great, I will try that.
Would it be okay for the app to use the following redis config:
maxmemory 2mb
maxmemory-policy allkeys-lru

From the docs: "all the keys will be evicted using an approximated LRU algorithm as long as we hit the 2 megabyte memory limit."
Source: https://redis.io/docs/management/config/#configuring-redis-as-a-cache
Author Public Key
npub1pe5q9k9hetczq6ca77up6fpp5fajm4dr89hhf070ukaw3xtujkdqulw0zr