Fwd: [kpax-devel] Are sessions serializable?

Sven Van Caekenberghe scaekenberghe at common-lisp.net
Thu May 24 12:13:55 UTC 2007


For the record ;-)

Begin forwarded message:

> From: Sven Van Caekenberghe <scaekenberghe at common-lisp.net>
> Date: Mon 7 May 2007 11:00:05 GMT+02:00
> To: B W <ps.misc at gmail.com>
> Subject: Re: [kpax-devel] Are sessions serializable?
>
> Hi Bob,
>
> On 29 Apr 2007, at 09:08, B W wrote:
>
>> Hi,
>>
>> I am a newbie.  I was wondering if the session objects are  
>> serializable to disk or database, so that they can be shared among  
>> multiple images.
>>
>> Thanks!
>>
>> Bob
>
> At the moment, there is no explicit support for this in KPAX, nor  
> have I experimented with this, although I would want to do this,  
> given enough incentive (scaling problems) and time.
>
> On the other hand, it would not have to be very hard. There are  
> explicit classes for SESSION and SESSION-MANAGER, with consistently  
> used protocols to keep the dependencies under control. But in order  
> to do this, you need a sharing technology: I find Ruby on Rails'  
> default way of storing all session in an RDBMS or file all the time  
> quite stupid since you'll hit the DB or filesystem much too often.  
> There are better ways, but they get more complicated quite quickly  
> (especially if you want to make them failsafe).
>
> HTH,
>
> Regards,
>
> Sven
>
> PS: You have to subscribe to this mailinglist in order to post; I  
> have allowed this posting manually but can't keep doing this.
>




More information about the kpax-devel mailing list