Description
The current implementation reads a stream of all entries back from the database, and sometimes even looks them up via the realm and the cache. This is not necessary and should be optimized.
Value Proposition
Faster and near-constant time when joining a group or role.
Goals
Better performance
Non-Goals
Analyzing similar problems
Discussion
No response
Notes
This came up when analyzing a different performance problem, so I'll submit my findings as a pull request.
Description
The current implementation reads a stream of all entries back from the database, and sometimes even looks them up via the realm and the cache. This is not necessary and should be optimized.
Value Proposition
Faster and near-constant time when joining a group or role.
Goals
Better performance
Non-Goals
Analyzing similar problems
Discussion
No response
Notes
This came up when analyzing a different performance problem, so I'll submit my findings as a pull request.