Skip to content

Performace hit. #68

@scorpioniz

Description

@scorpioniz

Performance issue with encrypted fields in Messenger context
We're using this bundle and it generally works well. However, we encountered a performance issue when we switched to Messenger and started processing a large number of entities. We noticed that even if an encrypted field is loaded but not used, it's always decrypted.

As a temporary workaround, we moved our encrypted passwords to a separate ManyToOne table with the extra_lazy attribute. This solved the performance problem and allowed us to continue using this library.

However, it would be more logical if decryption only happened when the field is actually accessed, not every time the entity is loaded.

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