Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
PaulKD #1
How high up a structure should you name your locks?
This is another one of those late night "locking - do i need them?" questions:-
I use application variables extensively - based on userids
e.g. application["user"]["u#userid#"]["LastAccess"]
When I want to change the LastAccess I normally use a named lock -
name="u#userid#"
Should I be calling the lock "user" or given that userids are unique and the
chance of a user managing to corrupt their application variables is remote - do
i even need the lock?
Good answers greatly appreciated.
PaulKD Guest
-
Class::Struct - want to access structure within structure
I want to access a structure within a structure. Below is what I had in mind. Please help. #!/perl/bin/perl use Class::Struct; struct Step... -
High run queue, high idle cpu percentage
Hey - I have a werid situation: vmstat shows high r (always r>0, sometimes r>10), but id > 90%. The rest of the values are nominal. Any... -
DW MX Locks Up
What's the size of your image folder? "juane moore" <webforumsuser@macromedia.com> wrote in message news:bfoiq8$he$1@forums.macromedia.com...... -
"get snapshot for locks" memory structure
On Wed, 23 Jul 2003 09:09:37 -0700, Bruce Pullen wrote: No, UTIL_HEAP_SZ is for things like backups, reorgs and other utilities. The area used... -
Too many Locks
Hi, I'm having a major decrease in performance, and I'm wondering if the number of spin locks are contributing to this. Enviroment Informix... -
Adam Cameron #2
Re: How high up a structure should you name your locks?
> This is another one of those late night "locking - do i need them?" questions:-
The most common answer these days is "no".
Read this:
[url]http://www.houseoffusion.com/cf_lists/index.cfm/method=reply&forumid=4&threadid=39328&messagecount er=201028[/url]
application["user"]["u#userid#"]["LastAccess"] = now(); // is this what you> I use application variables extensively - based on userids
> e.g. application["user"]["u#userid#"]["LastAccess"]
> When I want to change the LastAccess I normally use a named lock -
> name="u#userid#"
mean?
If you're using CFMX or above, you don't need to lock that. Java does it
under the hood for you.
--
Adam
Adam Cameron Guest



Reply With Quote

