cancel
Showing results for 
Search instead for 
Did you mean: 

Standard way of keeping folder(folder structure ) for best performance of application?

sachindac75
Champ on-the-rise
Champ on-the-rise

Can anyone Tell me the standard way of keeping folder(folder structure ) for best performance of application.Right now i have 3000 folder under one folder.

1 ACCEPTED ANSWER

cesarista
World-Class Innovator
World-Class Innovator

Hi:

You can save your documents in a yyyy/MM/dd folder structure based on date creation under your application rootpath, for example. This is estimating that you will add up to 1000 documents daily. If you have several thousands per day (+10k), you should create an addition hour directory (hh). This strategy is not valid if you plan to migrate 1M documents in two days for example, but it should be valid for a daily homogeneus distribution of created documents. This is more or less how Alfresco save the binaries in filesystem.

Other possibility is to create volume folders for each thousand of documents (00000, 00001, 00002...), instead of date creation based structures. In each volume, you should add no more than 1k documents. This strategy is valid even in the case of an initial massive creation.

Regards.

--C.

View answer in original post

4 REPLIES 4

cesarista
World-Class Innovator
World-Class Innovator

Hi:

You can save your documents in a yyyy/MM/dd folder structure based on date creation under your application rootpath, for example. This is estimating that you will add up to 1000 documents daily. If you have several thousands per day (+10k), you should create an addition hour directory (hh). This strategy is not valid if you plan to migrate 1M documents in two days for example, but it should be valid for a daily homogeneus distribution of created documents. This is more or less how Alfresco save the binaries in filesystem.

Other possibility is to create volume folders for each thousand of documents (00000, 00001, 00002...), instead of date creation based structures. In each volume, you should add no more than 1k documents. This strategy is valid even in the case of an initial massive creation.

Regards.

--C.

Thanks for reply how much folder can we keep inside a folder?

cesarista
World-Class Innovator
World-Class Innovator

Hi:

A basic recomendation may be around 1k objects in a folder level (this includes folders and documents), and maximum 4-5 depth. 

Regards.

--C.

thanks