Skip to content

The local store implementation is causing a double serialization #75

Description

@casperisfine

When fetching a value from Memcached we deserialize it with the actual coder, but then it is put into the local cache and there it's serialized again but with Marshal to make a copy

Capture d’écran 2023-06-02 à 17 16 55

This is wasteful, we should be able to store the payload we got from Memcached directly.

Ref: rails/rails#48302

cc @felix-d @Shopify/rails

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions