<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Thanks Zhang.<br>
I was just wondering as I'm building a photo site as well and expect
the number of images to grow over time to be large. I also have
directories for s/ m/ p/ l/ f/ - and was thinking I may split into
subdirectories but just wasn't sure it made any difference. I'd be
interested to know if you ever find info about that. I do know that
some command line tools are hard to use with large numbers of files but
I didn't really expect to have to go in manually to browse them. Also
my files are replicated up onto Amazon S3.<br>
Chris :)<br>
</font><br>
Zhang Yining wrote:
<blockquote cite="mid:48BEC53E.4050801@gmail.com" type="cite">
  <pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Chris,

Chris Savery wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I'm curious about your breaking up the filename into a path like that.
If using ext3 filesystem is there any advantage speed wise to doing
that? I thought it could handle large file counts without a problem
using indexing but I may be wrong and I am quite interested as I expect
to have thousands of image files as well and if it's going to be slow on
ext3 then I would also want to split up directories like this.
Chris :)
    </pre>
  </blockquote>
  <pre wrap=""><!---->
First of all, I simplified the question a little, all url's are actually
ended with "-(L|M|S|Q|T)" denoting different sizes (large, medium,
small, square, thumbnail), so that's multiplication by five :-)

Secondly, yes, it's ext3 (on my dev pc), but I split files this way is
more for ease of management and some flexibility instead of from purly
performance stand point.

I don't have hard data and facts right now, but in my understanding,
splitting up does help in terms of performance. I will share more info
when I have some more.


- --
Zhang Yining
URL:         <a class="moz-txt-link-freetext" href="http://www.zhangyining.net">http://www.zhangyining.net</a> | <a class="moz-txt-link-freetext" href="http://www.yining.org">http://www.yining.org</a>
mailto:      <a class="moz-txt-link-abbreviated" href="mailto:yining@zhangyining.net">yining@zhangyining.net</a> | <a class="moz-txt-link-abbreviated" href="mailto:zhang.yining@gmail.com">zhang.yining@gmail.com</a>
Fingerprint: 25C8 47AE 30D5 4C0D A4BB  8CF2 3C2D 585F A905 F033
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a>

iD8DBQFIvsU8PC1YX6kF8DMRAk5NAKCJh/2C3xGHwgIsZDkJpeV9UmDQyQCfVAU1
nos9cAElZSsXHS/0zt1q0Uo=
=4LIA
-----END PGP SIGNATURE-----


  </pre>
</blockquote>
</body>
</html>