Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Overcoming common knowledge: 100k nodes in a single folder

199 views

Published on

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.

Published in: Technology
  • Be the first to comment

Overcoming common knowledge: 100k nodes in a single folder

  1. 1. Overcoming common knowledge: 100k nodes in a single folder Oksana Kurysheva
  2. 2. Oksana Kurysheva Project Manager at ITD Systems Queen of the Bees at Order of the Bee My cat writes JavaScript for Aikau
  3. 3. Learn. Connect. Collaborate. Agenda 100k nodes in a single folder • Business use cases • Problem statement • Possible solutions • Demo
  4. 4. Use Cases
  5. 5. Learn. Connect. Collaborate. Use Case #1. Collaborative Content
  6. 6. Learn. Connect. Collaborate. Use Case #2. Transactional Content
  7. 7. Learn. Connect. Collaborate.
  8. 8. What is the problem?
  9. 9. Learn. Connect. Collaborate. Problem Statement. Alfresco Best Practices Luis Cabaceira Solution Architect, Alfresco Slide from BeeCon 2017
  10. 10. Learn. Connect. Collaborate.
  11. 11. Learn. Connect. Collaborate. Problem Statement. The reason
  12. 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. 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?
  14. 14. What can we do with it?
  15. 15. Learn. Connect. Collaborate. Our approach 1. Do not hide existence of the node from the user
  16. 16. Learn. Connect. Collaborate.
  17. 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. 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. 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. 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
  21. 21. Learn. Connect. Collaborate. Field-level security
  22. 22. Learn. Connect. Collaborate. Hidden issues • Search by sensitive data
  23. 23. Learn. Connect. Collaborate. Hidden issues
  24. 24. Learn. Connect. Collaborate. Hidden issues
  25. 25. Live Demo
  26. 26. Questions? Thank you! ok@itdhq.com https://github.com/ITDSystems/alvex-registers

×