[Mongrel] session caching in mongrel

Luis Lavena luislavena at gmail.com
Thu Aug 31 22:08:46 EDT 2006

On 8/31/06, Jared Brown <jaredbrown at gmail.com> wrote:
> Is there some kind of caching of session data in mongrel? What is the best
> way to get mongrel servers within a cluster to always keep their sessions
> synced?

That was discussed with mongrel and kigster at longr room the other day.

Switch from pstore (file storage) to ANY session storage, the
preferred one is memcache.

Oh, and a warning: never store externals references to global objects
into your sessions! like storing @@logger :-P

Or complex ActiveRecords.


> --
> Jared Brown
>  jaredbrown at gmail.com
> (765) 409-0875
> 7001 Central Ave
> Indianapolis, IN 46220
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users

Luis Lavena
Multimedia systems
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi

More information about the Mongrel-users mailing list