Alfresco Best Practices tell us "Don't store more than 2000 nodes in a single folder". But in many use cases having thousands of nodes on one logical level is natural. Let's see why best practices tell us so, how to overcome it, limitations and benefits of the implementation.
12. Learn. Connect. Collaborate.
Do we really need to hide the fact of document
existence from users?
• Alice thinks that there are 30 documents
• Mike thinks that there are 50 documents
• Administrator knows that there are 60 documents
13. Learn. Connect. Collaborate.
Do we really need to hide the fact of document
existence from users?
• Invoice #1
• Invoice #3
• Where is invoice #2? Can I create Invoice #4 or does it exist?
17. Learn. Connect. Collaborate.
Our approach
1. Do not hide existence of the node from the user
2. Apply search and sort at DB level, make them really fast
18. Learn. Connect. Collaborate.
Our approach
1. Do not hide existence of the node from the user
2. Apply search and sort at DB level, make them really fast
3. Load single page of data into RAM
19. Learn. Connect. Collaborate.
Our approach
1. Do not hide existence of the node from the user
2. Apply search and sort at DB level, make them really fast
3. Load single page of data into RAM
4. Process this page with permissions, custom logic etc
20. Learn. Connect. Collaborate.
Our approach
1. Do not hide existence of the node from the user
2. Apply search and sort at DB level, make them really fast
3. Load single page of data into RAM
4. Process this page with permissions, custom logic etc
5. Return the data to the browser