But all access to the session is serialised?  I don't see where a version
could be lost

Normal request for page A: store in memory (not serialised)
Ajax request for page A: alter the page in memory (still only in memory, no
new version)
Normal request for page B: serialise A to disc and place B in memory
Normal request to change page B: serialise B0 to disc and place new version
B1 in memory

Where could the version be lost?


Johan Compagner wrote:
> 
> but you could change the page ... before the previous change is stored
> then we loose a version
> 
> 
> On Wed, Aug 20, 2008 at 6:48 PM, John Patterson <[EMAIL PROTECTED]> wrote:
> 
>>
>> But if the next request changes the same page that is fine as it is still
>> stored in memory.  When the next page is requested it could bump the
>> current
>> page out of memory and onto disc.  At least that is how I assumed would
>> work.
>>
>>
>> Johan Compagner wrote:
>> >
>> > no we need always the latest version on disk before the next request
>> comes
>> > in
>> > This is because if your next request comes in it can change the page
>> then
>> > if
>> > you go to another page
>> > and back again we loose a version if it isnt saved yet.
>> >
>> > i guess matej can also come up with some other reason for it
>> >
>> >
>> > On Wed, Aug 20, 2008 at 6:30 PM, John Patterson <[EMAIL PROTECTED]>
>> wrote:
>> >
>> >>
>> >> Is that the only reason?  I imagine most sites will be running on one
>> >> server
>> >> with no failover.  Is there a way to switch the serialisation of the
>> >> current
>> >> page off if failover support is not required?
>> >>
>> >>
>> >> Martijn Dashorst wrote:
>> >> >
>> >> > Failover support needs the updates done by the ajax request.
>> >> >
>> >> > Martijn
>> >> >
>> >> > On Wed, Aug 20, 2008 at 6:13 PM, John Patterson <[EMAIL PROTECTED]>
>> >> wrote:
>> >> >>
>> >> >> Hi, this might be a really obvious question but... why are pages
>> >> >> serialised
>> >> >> for every ajax request?  I thought the latest page was always
>> stored
>> >> in
>> >> >> the
>> >> >> PageMap?
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/Page-serialisation-tp19072319p19073257.html
>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Page-serialisation-tp19072319p19073619.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Page-serialisation-tp19072319p19074066.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to