Sorry for not responding earlier. My laptop was stolen. A big mess.

I'm on a shared host so the RAM is somewhat limited. However the client is a
small clothing and jewelry business. They have two stores and this is their
first venture into on-line sales. Currently they get about 200 unique
visitors a week. I don't think they will have over 10 concurrent users of
their shopping site for quite a while.

gil






-----Original Message-----
From: Martin Parry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 29, 2004 1:26 PM
To: CF-Talk
Subject: RE: shopping cart, session variables - best practices


I think we should really find out the capabilities of Mayo's server/host
before we can truly suggest one method over another. In high traffic
eComm sites I have seen superb performance using the method described.

If, however RAM is not a problem, he isn't experiencing high volumes and
is not on another server with xxx websites who all make excessive use of
session variables, then yes - maybe he should use session variables..

Mayo - please advise.

Martin Parry
Macromedia Certified Developer
http://www.BeetrootStreet.co.uk

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 29 December 2004 18:02
To: CF-Talk
Subject: RE: shopping cart, session variables - best practices

> Use a structure for storing the basket contents by all means, however
> instead of session.basketContents, convert the structure to a WDDX
> object and store it as client.basketContents - That way you're not
using
> precious RAM but cheap disk space.

Storing application- and user-specific data is what precious RAM is for!

In an application environment with a single application server, you will
typically achieve significantly higher performance under load by storing
things in memory rather than fetching them from the database for each
page
request. You may need to provision your server's RAM adequately to
ensure
you have enough for the number of concurrent users you need to support,
but
RAM is comparatively cheap.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189159
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to