Skip to content

client is not dynamic #8

@robbyt

Description

@robbyt

According to the Django docs, cached_property will "will persist as long as the instance does". This means it will not dynamically discover changes to the elasticache cluster without the django app restarting.

This is not ideal, since the size of the elasticache cluster may change, and nodes in the cluster may be replaced.

The fix for this would be to add a TTL to the cache, which would require a different memoization scheme for the property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions