You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Sharad Raut <ra...@gmail.com> on 2014/02/07 15:06:54 UTC

What is the default size of max per session in wicket

What is the default size of max per session in wicket 

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-is-the-default-size-of-max-per-session-in-wicket-tp4664307.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: What is the default size of max per session in wicket

Posted by Francois Meillet <fr...@gmail.com>.
There is no simple response.
It depends on your non-functional requirements, on what you are trying to achieve, on the pages's size, on the types of model you use.

The api says:
IStoreSettings 
setMaxSizePerSession
Sets the maximum size of the File where page instances per session are stored. 
After reaching this size the DiskDataStore will start overriding the oldest pages at the beginning of the file.

I would say that 10mb is a good compromise.

François Meillet
Formation Wicket - Développement Wicket





Le 8 févr. 2014 à 09:58, Sharad Raut <ra...@gmail.com> a écrit :

> Thanks for replay.
> By default it shows value 10MB.
> Is it sufficient 
> 
> 
> 
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-is-the-default-size-of-max-per-session-in-wicket-tp4664307p4664315.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 


Re: What is the default size of max per session in wicket

Posted by Sharad Raut <ra...@gmail.com>.
Thanks for replay.
By default it shows value 10MB.
Is it sufficient 



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-is-the-default-size-of-max-per-session-in-wicket-tp4664307p4664315.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: What is the default size of max per session in wicket

Posted by francois meillet <fr...@gmail.com>.
Have a look to setMaxSizePerSession() in the IStoreSettings interface
application.getStoreSettings().setMaxSizePerSession(Bytes.megabytes(30));

François


On Fri, Feb 7, 2014 at 3:06 PM, Sharad Raut <ra...@gmail.com> wrote:

> What is the default size of max per session in wicket
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/What-is-the-default-size-of-max-per-session-in-wicket-tp4664307.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>