Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performace hit. #68

Open
scorpioniz opened this issue Jan 8, 2025 · 0 comments
Open

Performace hit. #68

scorpioniz opened this issue Jan 8, 2025 · 0 comments

Comments

@scorpioniz
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant