Look at DiskPageStore constructor. But i think the defaults should be
sane enough for you usecase. Although 1000 concurrent users would IMHO
require quite a beefy server, on which 5gb pagestore should not be
problematic.

-Matej

On Tue, Nov 18, 2008 at 4:16 AM, Graeme Knight <[EMAIL PROTECTED]> wrote:
>
> Thanks Matej!
>
> That's awesome! I will look into it!
>
> Regards, Graeme.
>
>
> Matej Knopp-2 wrote:
>>
>> Hi,
>>
>> the maximal file size of each pagemap file is configurable.
>>
>> -Matej
>>
>> On Tue, Nov 18, 2008 at 3:06 AM, Graeme Knight <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> I guess I can answer my own question:
>>>
>>> So let's say our page is 50k. We have 1000 users on a server. With each
>>> user
>>> having 100 click throughs before cleanup.
>>>
>>> So I figure roughly (51200x100) * 1000 = 5,120,000,000
>>>
>>> So 1000 users clicking 100 times each on a 50k page will take up 5 GB of
>>> space.
>>>
>>> The above scenario is pretty far fetched!
>>>
>>> Does anyone know how page cleanup occurs?
>>>
>>> Thanks, Graeme.
>>>
>>>
>>> Graeme Knight wrote:
>>>>
>>>> Hi. I hope this appropriate for this forum.
>>>>
>>>> I am writing a fairly heavy AJAX rich application with two pages - A
>>>> login
>>>> page and a work page. I was interested in progress so far regarding
>>>> serialized page state, so I tracked the size of my page map file as I
>>>> clicked around the application. Below is the size change in the file for
>>>> my single user. I would like to know if this is as expected as I have no
>>>> metrics from any other place - perhaps you have experience.
>>>>
>>>> Each value is the size of the page file in kilobytes after each click of
>>>> a
>>>> link:
>>>>
>>>> 5.9
>>>> 25.5
>>>> 49.3
>>>> 71.9
>>>> 95.7
>>>> 116.4
>>>> 140.2          <-------- so I see my page map file is growing as I
>>>> assumed
>>>> it would.
>>>>
>>>> My file therefore changed by the following amount each click, indicating
>>>> that my page is around the 22 kilobyte mark:
>>>>
>>>> 19.6
>>>> 23.8
>>>> 22.6
>>>> 23.8
>>>> 20.7
>>>> 23.8
>>>>
>>>> Does this sound about right? Is there something wrong with the growth of
>>>> the file? Is it excessive?
>>>>
>>>> When does the file cleanup?
>>>>
>>>> Thanks for any input, Graeme.
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Page-Map-File-Sizes.-tp20551680p20552286.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]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Page-Map-File-Sizes.-tp20551680p20552886.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]
>
>

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

Reply via email to