Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / March 2008



Tip: Looking for answers? Try searching our database.

300 requests per hour reading from Application scope Good/Bad idea

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sankalpah - 26 Mar 2008 19:12 GMT
I am saving some html in application scope & reading with <cflock readonly.
Will it be a problem if more than 5 requests are made per second?
Does deadlocks occurs with readonly-cflock?
Thanks
Oguz.Demirkapi - 27 Mar 2008 05:14 GMT
While creating/changing application scope variables in a lock, I think there
must be an exclusive lock. You must be careful not to set any shared variable
such as application inside a read only cflock tag.

I also would suggest to check the usage of Application.cfc and
onApplicationStart method. You can set application default variables and
constants in onApplicationStart method in your Application.cfc.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.