Skip to content

[Prepared statements] Add LFU cache and make it configurable #1530

Description

@levkk

We currently use LRU (lru crate) for prepared statements per-connection caching. We should add support for LFU and make it configurable.

Sometimes LFU is better than LRU, especially when the cardinality of statements is very high and some are more popular than others.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedThe issue is added to our backlog.

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions