Go Back   FlashFXP Forums > > > >

Suggestions Got a new idea or addition which would benefit IOFTPD? Post it here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-05-2003, 03:34 PM   #1
wrycat_2
Member
 
Join Date: Feb 2003
Posts: 60
Lightbulb Optimized SITE SEARCH function

I'm missing a faster sitesearch. I'm not sure if this is the job for a skript or does need some modification of ioFTPD. I noticed that SITE SEARCH on glFTPD is times faster than on ioFTPD and i'm wondering if this could be implemented for ioFTPD too?
wrycat_2 is offline   Reply With Quote
Old 12-05-2003, 04:03 PM   #2
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Afak, glftpd's site 'search' uses locate. (which is heavily optimized routine) I have no plans in implenting 'search' directly to ftpd core; just wait until someone writes a decent algorithm for the purpose (I'd imagine, that storing directory x times a day, into sql database would do the trick)
darkone is offline   Reply With Quote
Old 12-06-2003, 03:41 AM   #3
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

ioBanana has a SITE DUPE command that searches in its current_dirs.log. :banana:
Harm is offline   Reply With Quote
Old 12-06-2003, 11:33 AM   #4
wrycat_2
Member
 
Join Date: Feb 2003
Posts: 60
Default

@HARM

does SITE DUPE use all old dirs or only directories uploded with ioFTPD?
wrycat_2 is offline   Reply With Quote
Old 12-07-2003, 12:18 PM   #5
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

If not using a file to store searchdata in I dont think you can be much faster on searches than ioA is. Dont think its slow either as is. Used it to search dirtrees with 1000+ folders and 10000+ files and it still doesnt take long.
WarC is offline   Reply With Quote
Old 12-07-2003, 12:50 PM   #6
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

As I've said before... Configure it properly - don't make it go through unnecessarry subdirs (read: into every reldir). ioA search goes through my 15000+ dirs and gives me result in less than 1 second. That's on a regular IDE drive on crappy VIA controller. Who needs faster search than that?
Zer0Racer is offline   Reply With Quote
Old 12-08-2003, 03:55 AM   #7
wrycat_2
Member
 
Join Date: Feb 2003
Posts: 60
Default

Quote:
Originally posted by Zer0Racer
As I've said before... Configure it properly - don't make it go through unnecessarry subdirs (read: into every reldir). ioA search goes through my 15000+ dirs and gives me result in less than 1 second. That's on a regular IDE drive on crappy VIA controller. Who needs faster search than that?
Ok i will try to optimize my config if possible. i have about 200GB spanned over 3 IDE Drives. Most of the files are music and sorted like /cat/Artist/Album/Title so i have to scan a lot of subfolders. Maybe this slows down the search? I have to wait up to a minute for results. Ok now i give your hints a try. Thanks a lot.
wrycat_2 is offline   Reply With Quote
Reply

Tags
faster, ioftpd, search, site, times

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:56 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)