>> That was ages ago. Modern filesystems don't have this problem

>> In contrary - Hundred thousand images in one directory are not problem
for Satchmo,


Cool~ Thank you Christian and Hynek for tips.

Hynek, thanks for the patch also, and probably will implement it on the new
site.

DL


On Tue, Jan 25, 2011 at 7:51 AM, hynekcer <[email protected]> wrote:

> If you have really big number of images, you may need my patch which I
> sent to Chris some time ago.
> https://bitbucket.org/hynekcer/satchmo-outgoing/changeset/5478f6ced325
>
> It is especially usefull if you have many images and also many
> products without any image.
>
> In contrary - Hundred thousand images in one directory are not problem
> for Satchmo, nevertheles I upload only little number of images
> manually by admin to the default directory and big number of products
> I import in bulk by a script. Then it is easy to divide thousands
> images from every mass upload to its own subdirectory. The result of
> both is the same for Satchmo.
>
> Hynek
>
> On 25 led, 08:24, Cristian Ciupitu <[email protected]> wrote:
> > On Tue, Jan 25, 2011 at 12:55 AM, davidl <[email protected]> wrote:
> >
> > > I read somewhere that having more than a thousand images in a single
> > > directory is a bad idea, because all the common filing system has a
> > > linear search( need to look up every single file until it finds the
> > > match) and slows down the system.
> >
> > That was ages ago. Modern filesystems don't have this problem, they
> > use data structures better than a list. For example ext3 has the
> > following feature:
> >
> >   dir_index
> >     Use  hashed  b-trees  to  speed  up lookups in large
> >     directories.
> >
> > Cheers,
> > Cristian
>
> --
> You received this message because you are subscribed to the Google Groups
> "Satchmo users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<satchmo-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to