Pablo Fischer wrote:
>
> This maybe its not a Perl question.
>
> I have a system (with 3 classes), that works in this order:
>
>
> * Check in FTP for new files
> * Download new Files
> * Unzip those files (.zip files)
> * Each file has 3000 lines, and there are like 10 files (30,000 lines), So I
> need to parse the 30,000 lines and order them
> * Parse File by File, and save the parssed file in a DB (MySql)
> * Check to see if I need a backup of the Zip File
> * Finish
>
> How good its to do this in 10 seconds?
> Exists a website with benckmark running times in Perl?

Hi Pablo.

I'm not clear whether you already have this software written. But
as Oliver says, never think about trying to speed anything up
unless it's too slow. If you're trying to commit to a certain
performance level in a specification that you're writing, then go
and ask the people who care what the slowest acceptable performance
is. Whatever they say, look troubled, shake your head, mumble something
technical, and try to negotiate the required speed as low as you can.
Then when you go away and write it and it and it runs ten times faster
you'll be applauded as a hero.

By far the largest overhead here is going to be the FTP transfer,
which will depend on the type, quality and contention of your
connection. The next heaviest load will be the database access. Since
both of these are probably out of your control your best bet is to
just write the program, make it work, and publish it. It's very
unlikely that you'll be able to make much difference to the running
speed.

Good luck,

Rob



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to