While I really like ColdFusion, I have to agree with Tom. When it comes
to heavy text parsing it can be a real dog. Even using a ton of tricks
to try and optimize (big variables, CFScript, and lots of regular
expression functions) it's still pretty slow. Unfortunately, I don't do
perl well at all, so I can't whip out the little things that he can!

If you have any choices at all, find something other than CF to do the
job.

   --- Ed

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Tom Baker |
Netsmith Inc
Sent: Tuesday, July 23, 2002 11:12 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [Declude.JunkMail] OT Cold Fusion log parser


If you have a decent load on your imail server, your declude logs are
fairly
large (mine are about 20-30MB per day, low logging).

It has been my experience with cold fusion that it is VERY inefficient
for
parsing large amounts of data like large text files. I have started
writing
many scripts in cold fusion that lock up the CPU on the web-server
trying to
parse the text data ( for example a 700k .reg export parser to extract
imail
data about virtual domains and decrypt passwords )

I've re-written the same programs in perl which completes the tasks in
about
10 seconds.

I would recommend against writing a log parser in cold fusion, it just
does
not parse text efficiently from what I have seen.



-----Original Message-----
From: Craig Gittens [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 23, 2002 10:02 AM
To: [EMAIL PROTECTED]
Subject: [Declude.JunkMail] OT Cold Fusion log parser



Anyone ever wrote a cold fusion log parser for dec####.log files? I am
thinking of one that will easily search for entries like WEIGHTXX test
and
return all the info for the particular Q#######(or more in Imail7) file.

Craig.

---
[This E-mail was scanned for viruses by Declude Virus
(http://www.declude.com)]

---

This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe,
just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe
Declude.JunkMail".  You can E-mail [EMAIL PROTECTED] for assistance.
You
can visit our web site at http://www.declude.com .
---
[This E-mail was scanned for viruses by Declude Virus
(http://www.declude.com)]

---

This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  You can E-mail
[EMAIL PROTECTED] for assistance.  You can visit our web
site at http://www.declude.com .

---
[This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]

---

This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  You can E-mail
[EMAIL PROTECTED] for assistance.  You can visit our web
site at http://www.declude.com .

Reply via email to