I was surprised to find little discussion of this anywhere and no mention in issues or code, so I wonder if I'm using the wrong search terms - I'm wondering what a recommended redis maxmemory_policy is. I'm guessing noeviction is not a good idea.
claude says
The volatile-lru recommendation is logical since Rack Attack uses expiring keys, but it's not formally documented by the project
deepseek says
If you are unsure or don't use TTLs, start with allkeys-lru.
If you confidently set TTLs on all Rack::Attack keys, use volatile-ttl.
I was surprised to find little discussion of this anywhere and no mention in issues or code, so I wonder if I'm using the wrong search terms - I'm wondering what a recommended redis maxmemory_policy is. I'm guessing noeviction is not a good idea.
claude says
The volatile-lru recommendation is logical since Rack Attack uses expiring keys, but it's not formally documented by the project
deepseek says
If you are unsure or don't use TTLs, start with allkeys-lru.
If you confidently set TTLs on all Rack::Attack keys, use volatile-ttl.