overcoming common knowledge: 100k nodes in a single folder
TRANSCRIPT
Oksana Kurysheva
Project Manager at ITD Systems
Queen of the Bees at Order of the Bee
My cat writes JavaScript for Aikau
Learn. Connect. Collaborate.
Agenda
100k nodes in a single folder
• Business use cases
• Problem statement
• Possible solutions
• Demo
Learn. Connect. Collaborate.
Problem Statement. Alfresco Best Practices
Luis Cabaceira
Solution Architect, Alfresco
Slide from BeeCon 2017
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
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?
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
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
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
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
Questions?
Thank you!
https://github.com/ITDSystems/alvex-registers