This was the first use case we thought of, when we thought of the cfml
gateway. I think it's a great use of the gateway.
---nimer 

-----Original Message-----
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 16, 2005 4:04 PM
To: CF-Talk
Subject: Asynchronous logging

A thought just came to me. Many people use CF for logging and the
logging 'takes up' time on a page, slowing it down. Why bother? Most
logging is just posting information to a DB and returns nothing to the
page. Here's my solution to logging being a bottleneck: Asynchronous
logging.

When you want to log a page, you just call an asynchronous gateway on CF
7 and pass it all the info you want to log. If it fails, it fails. If it
succeeds then it has all the info it needs to go through. No real 'hit'
to the page being called other than the calling of the gateway. The page
does not wait for a result, it does not care if the logging table times
out or fails, it just goes on.

What do you think? Any flaws in my logic? Will an asynchronous gateway
used for logging be a different form of bottleneck? Too much overhead
(as its another page being run)? 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199050
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to