Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
CF-Talk
Cold Fusion - Technical
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Cold Fusion :
product's home
product's list home
 
  Archived TallyList / CF-Talk: 
Subject: RE: Session variables
Dave Watts (488p/+0r)     Posted: Monday 12 Mar 2001
This post: 42 views, +0 rating

> > Thank you Bryan - I was just consulting Ben Forta's book on > > cflock and to quote "Forcing code to single threaded use only > > can seriously impact system performance." Do you think this is > > an issue in this case? > > Not necesarily. I ran a regression test where I used different > locking methods to read 10,000 application variables (same locking > issue as session variables) and the results were somewhat > surprising; using one CFLOCK tag outside the loop it took 450 > ms while using 10,000 individual locks inside the loop took > only 600 ms. I performed this experience using CF Server 4.5 > on my laptop (Pentium 3 with 256 RAM). As you can see, the > effect of one lock or even of 20 simultaneous locks is > practically nill.

I'm assuming from the above that you're using a single script with a loop inside it, and you're calling that script once from your browser. If my assumption is incorrect, I apologize in advance.

You'll want to be extremely careful about using looping-based tests to determine server performance. Typically, they don't really tell you what you want to know. Rather than running one script which does something 1000 times, a much better test would be to have one script run by 1000 concurrent users - it'll tell you a lot more about real-world performance.

Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444


Similar Subject Line Posts (+/- two weeks of this post)
RE: Session Variables  25 Mar 2001   (49 v/ +0 r)
Session Variables  25 Mar 2001   (39 v/ +0 r)
RE: Session variables stored in SQL server  22 Mar 2001   (44 v/ +0 r)
RE: Session variables stored in SQL server  22 Mar 2001   (43 v/ +0 r)
RE: Session variables stored in SQL server  22 Mar 2001   (44 v/ +0 r)
Session variables stored in SQL server  22 Mar 2001   (36 v/ +0 r)
RE: Session variables  12 Mar 2001   (47 v/ +0 r)
RE: Session variables  12 Mar 2001 (this post)   (42 v/ +0 r)
RE: Session variables  12 Mar 2001   (42 v/ +0 r)
Session variables  12 Mar 2001   (48 v/ +0 r)
Re: Session variables  12 Mar 2001   (42 v/ +0 r)
RE: Session variables  12 Mar 2001   (37 v/ +0 r)
RE: Session variables  12 Mar 2001   (41 v/ +0 r)
RE: Session variables  12 Mar 2001   (42 v/ +0 r)
RE: Session Variables  12 Mar 2001   (48 v/ +0 r)
Session Variables  12 Mar 2001   (57 v/ +0 r)
 

Send a reply to the CF-Talk list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000