On Mon, Mar 10, 2008 at 11:46 AM, Mark Fuller <[EMAIL PROTECTED]> wrote: > BTW: I didn't understand the part in the Catalyst documentation saying > the benefit of sending the session in the cookie is that you don't > have to access the disk. I assume that's supposed to be a performance > benefit. But, after two encodings and an encryption, and two decodings > and a decryption? I don't see how that could be much of a performance > boost.
It's worth benchmarking, but it seems likely to me that even strong encryption is faster than fetching data from a database. Removing one or more database hits from every page access could be significant. Most web servers have tons of idle CPU because they're constantly waiting for I/O operations. The real win in my mind is scalability -- you no longer have to worry about how to share the data across your cluster. No matter how many servers you add, your cost for session storage never goes up. - Perrin ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################