[Gluster-users] Gluster limits and best practices

Drew Kutcharian drew at venarc.com
Thu Jan 12 19:21:14 UTC 2012


Thanks Amar, so what are the hard limits of Gluster as far as number of directories and files in directories and i-nodes?


On Jan 12, 2012, at 3:41 AM, Amar Tumballi wrote:

> 
> 
> We are evaluating Gluster as the filesystem for a large scale web application where users upload many images. I wanted to see what are the limitations of Gluster as far as number of files/directories and more importantly what are some best practices?
> 
> We are thinking of using distributed + replicated mode with 3 copies of each file. Is that the best approach?
> 
> Best option for number of copies is 2 (considering the performance), but if your use case requires 3 copies, then that should work fine too. But modification/creation time would be more with replica count 3.
>  
> In addition, how should we store the files, can we have one huge flat namespace (i.e. UUIDs for names) or should we have a hierarchical directory structure just like a regular filesystem to distribute the files into many sub-directories?
> 
> We recommend using directory structure as regular filesystem, because having millions of files in a same directory would make the directory listing/crawling operation to perform poorly.
>  
> 
> Regards,
> Amar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120112/f145779d/attachment.html>


More information about the Gluster-users mailing list