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

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

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

Jump to solution

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 Solution

Accepted Solutions
Highlighted
Customer

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

Jump to solution

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 solution in original post

4 Replies
Highlighted
Customer

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

Jump to solution

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 solution in original post

Active Member

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

Jump to solution

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

Highlighted
Customer

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

Jump to solution

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.

Highlighted
Active Member

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

Jump to solution

thanks