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 VS Client
Gregory Harris (24p/+0r)     Posted: Monday 23 Apr 2001
This post: 30 views, +0 rating

My 2 cents worth (gawd it's been awhile since I've posted to this list)

Client Variables:

When set: Stored to Registry after briefly being held in RAM When got: Gotten from Registry and (briefly) stored to RAM before sent to user

Anything before going to the Hard Drive would have at least a brief stay in RAM

Session Variables:

When set: Put in RAM When got: Retrieved from RAM

You figure on this

Gregory Harris Web Developer ____________ The Stirling Bridge Group, LLC *We Engineer Internet Business Solutions* TEL: (949) 707-1534 FAX: (949) 707-1535

----- Original Message ----- From: "Andy Ewings" {andy.e@thoughtbubble.net> To: "CF-Talk" <cf-talk@houseoffusion.com> Sent: Monday, April 23, 2001 9:50 AM Subject: RE: Session VS Client

> >Client variables are probably a better choice if you think you're going to > >cluster your application on multiple servers, but on a single server, > >session variables will perform much better, assuming that there's enough > >emory to hold them. > > Yup agree....but I think you have answered my initial question - in that > session vars are more intensive when it comes to Server RAM > > ------------------------------------------------------------------ > Andrew Ewings > Project Manager > Thoughtbubble Ltd > http://www.thoughtbubble.net > ------------------------------------------------------------------ > United Kingdom > http://www.thoughtbubble.co.uk/ > Tel: +44 (0) 20 7387 8890 > ------------------------------------------------------------------ > New Zealand > http://www.thoughtbubble.co.nz/ > Tel: +64 (0) 9 488 9131 > ------------------------------------------------------------------ > The information in this email and in any attachments is confidential and > intended solely for the attention and use of the named addressee(s). Any > views or opinions presented are solely those of the author and do not > necessarily represent those of Thoughtbubble. This information may be > subject to legal, professional or other privilege and further distribution > of it is strictly prohibited without our authority. If you are not the > intended recipient, you are not authorised to disclose, copy, distribute, or > retain this message. Please notify us on +44 (0)207 387 8890. > > > > -----Original Message----- > From: Dave Watts [mailto:dwatts@figleaf.com] > Sent: 23 April 2001 17:31 > To: CF-Talk > Subject: RE: Session VS Client > > > > the general opinion is that client vars are more efficient > > than session variable, as long as the administrator is configured > > to store client variables in a database, otherwise it stores client > > variables in the registry which is less efficient that using session > > vars. > > Either you've got the general opinion wrong, or the general opinion is > itself wrong (or at least oversimplified). > > All other things being equal, it's more efficient to store something that > will be reused in memory than it is to retrieve it from a database each time > it's needed. When you use session variables, you're storing something in the > local memory of the CF server. When you use client variables, CF has to > continually go get them whenever they're needed, if they're stored in a > database or in the registry. > > Client variables are probably a better choice if you think you're going to > cluster your application on multiple servers, but on a single server, > session variables will perform much better, assuming that there's enough > memory to hold them. > > 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 VS Client  23 Apr 2001   (32 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (34 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (32 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (36 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (22 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (43 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (38 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (25 v/ +0 r)
RE: session vs client  23 Apr 2001   (34 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (29 v/ +0 r)
Re: Session VS Client  23 Apr 2001 (this post)   (30 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (34 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (29 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (30 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (34 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (39 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (32 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (32 v/ +0 r)
RE: session vs client  23 Apr 2001   (32 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (28 v/ +0 r)
Re: Session VS Client  23 Apr 2001   (27 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (31 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (34 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (28 v/ +0 r)
RE: Session VS Client  23 Apr 2001   (23 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