For simple variables you're right, request should be faster than application
because the set is fast and you don't need locking.

For complex large variables like an array, structure or query it's more
efficient in application scope as the set is long and many times involves a
db hit, so locking is a small performance penalty especially with read only
locks.

HTH,
Noam

        ----------
        From:  Douglas M. Smith [SMTP:[EMAIL PROTECTED]]
        Sent:  Wednesday, 27 September 2000 22:57
        To:  Fusebox
        Subject:  Re: Why use shared scope variables?

        Hi Stephen, 

        So, request variables are only in memory for as long as the HTML
page request is actually happening.  As soon as the page request is over,
they go away.

        What is your opinion on the performance drain of using request
variable vs. application variables on a very large site?

        Since request variables don't have to be locked, as long as you have
enough memory on your server, the performance should be superior to
application variables, no?

        What is your opinion?

        Thanks,

        Douglas Smith

        
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to