The best way to have your app scale across clustered servers is to use the
central database for client variable storage.
-----Original Message-----
From: Ryan Wood [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 7:34 AM
To: Fusebox
Subject: Speed for Persistant Variables
I am developing a fusebox app that will need a large user structure on each
page. That nested structure could be fairly large housing security,
preferences, user data, etc. What is a best (most efficient) way of
persisting that variable. I currently have a couple of options.
1. Use the session scope [downside = locking; upside = persisent in memory]
2. convert structure to WDDX packet and store as a client variable (using a
database). Then in myGlobals (XFB) de-serialize the packet into a request
scoped structure. [downside = need to de-serialize and set the request scope
variable at the top of each page. upside = no locking]
which option would provide the best speed, scalability, and use of memory?
Is there another option that I am not seeing?
Thanks.
__
Ryan Wood
[EMAIL PROTECTED]
SourceScape | www.sourcescape.com
864.346.3342
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists