[ic] howto do if file exists

Mike Heins interchange-users@icdevgroup.org
Thu Apr 17 20:48:00 2003


Quoting Stefan Hornburg (Racke) (racke@linuxia.de):
> On Thu, 17 Apr 2003 12:20:38 -0400
> Mike Heins <mike@perusion.com> wrote:
> 
> > Quoting Nicholas Cook (ncook@gryphon.net):
> > > 
> > > I hadn't thought about using apache. I'll try that approach because
> > > I am talking about 20,000+ images.
> > > 
> > 
> > Warning -- Apache can't repeal the laws of physics either. It still
> > has to do directory lookups just like IC does.
> > 
> > You will be much happier if you hash your directories (like IC does
> > with the session directory) and keep maximum entries down to a
> > thousand or less.
> 
> Using a filesystem suited for this should be an option as well, right ?

Which one would you suggest? I am not aware of any mainstream Linux
B-tree (or such) filesystems....

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.513.523.7621      <mike@perusion.com>

Fast, reliable, cheap.  Pick two and we'll talk.  -- unknown