Open-source serverless enterprise CMS. Includes a headless CMS, page builder, form builder, and file manager. Easy to customize and expand. Deploys to AWS.
When a model references other models, the permissions are verified one by one in Lambda, retrieved by list, and in the case of AACL, this is where it becomes very time-consuming.
Version
5.39.3
Operating System
n/a
Browser
n/a
What are the steps to reproduce this bug?
What is the expected behavior?
Queries should return as quickly as before the introduction of AACL.
What do you see instead?
Below are the results of preparing equivalent content for each version and measuring query response times.
v5.39.3 (DynamoDB, Lambda: 512 MB)
v5.38.1 (DynamoDB + Elasticsearch (t3.medium.search x 2), Lambda: 1024 MB)
v5.36.0 (DynamoDB + Elasticsearch (m5.large.search x 2), Lambda: 512 MB)
Additional information
The following is a script for preparing content for the above measurements.
Possible solution
When a model references other models, the permissions are verified one by one in Lambda, retrieved by list, and in the case of AACL, this is where it becomes very time-consuming.