Skip to content

recommended redis maxmemory_policy? #699

Description

@jjb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions