Skip to content

The local store implementation is causing a double serialization #75

@casperisfine

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

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