Skip to content

Instantly share code, notes, and snippets.

@mrniko
Last active July 29, 2024 12:33
Show Gist options
  • Save mrniko/7afd7984e3aed7813573111da5f47983 to your computer and use it in GitHub Desktop.
Save mrniko/7afd7984e3aed7813573111da5f47983 to your computer and use it in GitHub Desktop.
redisson:
single-server-config:
address: "redis://127.0.0.1:6379"
local-caches:
my-cache1:
expire-after-write: 10s
expire-after-access: 3s
max-size: 1000
codec: org.redisson.codec.Kryo5Codec
store-сache-miss: true
eviction-policy: `LFU`
cache-size: 5000
time-to-live: 1s
max-idle: 1s
my-cache2:
expire-after-write: 200s
expire-after-access: 30s
eviction-policy: `LFU`
cache-size: 5000
time-to-live: 10s
max-idle: 5s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment