You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Antoine van Wel <an...@gmail.com> on 2011/03/01 16:27:37 UTC
Re: Just 100K per session? That would be my dream come true! (Anyone
here who has tuned session size before?)
*bump*
I'm one of those people who is reading :-)
Antoine
On Mon, Feb 21, 2011 at 3:11 PM, Per <pe...@hamburg.de> wrote:
>
>
> Hi,
>
> I am measuring it in a profiler after the request has been completed,
> but thanks for the hint.
>
> In case anyone else is reading, I have been playing with the
> onComponentTag() and onComponentTagBody() methods on the weekend, and
> I've been able to reduce my page sizes significantly. Admittedly, this
> comes at the expense of flexibility and beauty, but I'm only doing this
> in the inner loops of very few pages, so who cares :-) Will write a
> summary with a couple of hints once I stop drowning in work.
>
> Cheers,
> Per
>
>
>> > Reading in the other thread that a session size of 100K or less
>> > is achievable, I'll admit defeat now: I have not been able to shrink
>> some of
>> > my pages(!) to less than 200K, not to mention the sessions. Despite
>> LDMs,
>> > CompoundPropertyModels, and no, there are no domain objects in
>> there, and no
>> > finals.
>>
>> How are you measuring this? Keep in mind that if you calculate when a
>> request is still processing, you might still be measuring temporary
>> data (e.g. for LoadableDetachableModel, you would also measure the
>> transientModelObject, and same for any proxies (Spring/ Guice) you
>> might use.
>>
>> Eelco
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> </user/SendEmail.jtp?type=node&node=3316743&i=0>
>> For additional commands, e-mail: [hidden email]
>> </user/SendEmail.jtp?type=node&node=3316743&i=1>
>>
>>
>>
>> ------------------------------------------------------------------------
>> If you reply to this email, your message will be added to the
>> discussion below:
>> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3316743.html
>>
>> To unsubscribe from Just 100K per session? That would be my dream come
>> true! (Anyone here who has tuned session size before?), click here
>> <http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0>.
>>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3317403.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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Just 100K per session? That would be my dream come true! (Anyone
here who has tuned session size before?)
Posted by nino martinez wael <ni...@gmail.com>.
Hi Per
Very nice article. It's good for newcommers and I even saw a thing or two
thats new for me.
About the "avoid visible()!" part have you tried shiro or wicket security
to manage rendering of your components, I dont know if they just do a set
visible but if they don't it would sure make the code a lot nicer.. Now
thinking of it, one could make a simple annotation or maybe something else
that would replace all components that had setVisible(false) with a
webmarkup container..
Btw are you using IOC preferly guice and have any tips for optimizing this?
regards Nino
2011/3/1 Per <pe...@hamburg.de>
> Hi Antoine,
>
> I have started collecting my hints over here:
>
> http://www.small-improvements.com/blog/technical/tuning-wicket-session-size
>
> Please note that much of it may be considered hacks and bad practice (I
> am just a Wicket user, not a Wicket master). There may be better ways to
> achieve the same results. I'd love to get feedback on these suggestions!
> So give it a shot and tell me how you went!
>
> Good luck!
> Per
>
>
> > *bump*
> >
> > I'm one of those people who is reading :-)
> >
> >
> > Antoine
> >
> >
> > On Mon, Feb 21, 2011 at 3:11 PM, Per <[hidden email]
> > </user/SendEmail.jtp?type=node&node=3330006&i=0>> wrote:
> >
> > >
> > >
> > > Hi,
> > >
> > > I am measuring it in a profiler after the request has been completed,
> > > but thanks for the hint.
> > >
> > > In case anyone else is reading, I have been playing with the
> > > onComponentTag() and onComponentTagBody() methods on the weekend, and
> > > I've been able to reduce my page sizes significantly. Admittedly, this
> > > comes at the expense of flexibility and beauty, but I'm only doing this
> > > in the inner loops of very few pages, so who cares :-) Will write a
> > > summary with a couple of hints once I stop drowning in work.
> > >
> > > Cheers,
> > > Per
> > >
> > >
> > >> > Reading in the other thread that a session size of 100K or less
> > >> > is achievable, I'll admit defeat now: I have not been able to shrink
> > >> some of
> > >> > my pages(!) to less than 200K, not to mention the sessions. Despite
> > >> LDMs,
> > >> > CompoundPropertyModels, and no, there are no domain objects in
> > >> there, and no
> > >> > finals.
> > >>
> > >> How are you measuring this? Keep in mind that if you calculate when a
> > >> request is still processing, you might still be measuring temporary
> > >> data (e.g. for LoadableDetachableModel, you would also measure the
> > >> transientModelObject, and same for any proxies (Spring/ Guice) you
> > >> might use.
> > >>
> > >> Eelco
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: [hidden email]
> > >> </user/SendEmail.jtp?type=node&node=3316743&i=0>
> > >> For additional commands, e-mail: [hidden email]
> > >> </user/SendEmail.jtp?type=node&node=3316743&i=1>
> > >>
> > >>
> > >>
> > >>
> > ------------------------------------------------------------------------
> > >> If you reply to this email, your message will be added to the
> > >> discussion below:
> > >>
> >
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3316743.html
> > <
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3316743.html?by-user=t
> >
> > >>
> > >> To unsubscribe from Just 100K per session? That would be my dream come
> > >> true! (Anyone here who has tuned session size before?), click here
> > >>
> > <
> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0
> > <
> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0&by-user=t
> >>.
> >
> > >>
> > >
> > >
> > > --
> > > View this message in context:
> >
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3317403.html
> > <
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3317403.html?by-user=t
> >
> > > Sent from the Users forum mailing list archive at Nabble.com.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [hidden email]
> > </user/SendEmail.jtp?type=node&node=3330006&i=1>
> > > For additional commands, e-mail: [hidden email]
> > </user/SendEmail.jtp?type=node&node=3330006&i=2>
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > </user/SendEmail.jtp?type=node&node=3330006&i=3>
> > For additional commands, e-mail: [hidden email]
> > </user/SendEmail.jtp?type=node&node=3330006&i=4>
> >
> >
> >
> > ------------------------------------------------------------------------
> > If you reply to this email, your message will be added to the
> > discussion below:
> >
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330006.html
> >
> > To unsubscribe from Just 100K per session? That would be my dream come
> > true! (Anyone here who has tuned session size before?), click here
> > <
> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0
> >.
> >
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330425.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: Just 100K per session? That would be my dream come true! (Anyone
here who has tuned session size before?)
Posted by Antoine van Wel <an...@gmail.com>.
Hi Per,
easy to read, good advice... Even the easiest stuff made me wonder
whether I did that right... Excellent to see all these tips together.
Thanks a bunch!
Antoine
On Tue, Mar 1, 2011 at 8:21 PM, Per <pe...@hamburg.de> wrote:
> Hi Antoine,
>
> I have started collecting my hints over here:
>
> http://www.small-improvements.com/blog/technical/tuning-wicket-session-size
>
> Please note that much of it may be considered hacks and bad practice (I
> am just a Wicket user, not a Wicket master). There may be better ways to
> achieve the same results. I'd love to get feedback on these suggestions!
> So give it a shot and tell me how you went!
>
> Good luck!
> Per
>
>
>> *bump*
>>
>> I'm one of those people who is reading :-)
>>
>>
>> Antoine
>>
>>
>> On Mon, Feb 21, 2011 at 3:11 PM, Per <[hidden email]
>> </user/SendEmail.jtp?type=node&node=3330006&i=0>> wrote:
>>
>> >
>> >
>> > Hi,
>> >
>> > I am measuring it in a profiler after the request has been completed,
>> > but thanks for the hint.
>> >
>> > In case anyone else is reading, I have been playing with the
>> > onComponentTag() and onComponentTagBody() methods on the weekend, and
>> > I've been able to reduce my page sizes significantly. Admittedly, this
>> > comes at the expense of flexibility and beauty, but I'm only doing this
>> > in the inner loops of very few pages, so who cares :-) Will write a
>> > summary with a couple of hints once I stop drowning in work.
>> >
>> > Cheers,
>> > Per
>> >
>> >
>> >> > Reading in the other thread that a session size of 100K or less
>> >> > is achievable, I'll admit defeat now: I have not been able to shrink
>> >> some of
>> >> > my pages(!) to less than 200K, not to mention the sessions. Despite
>> >> LDMs,
>> >> > CompoundPropertyModels, and no, there are no domain objects in
>> >> there, and no
>> >> > finals.
>> >>
>> >> How are you measuring this? Keep in mind that if you calculate when a
>> >> request is still processing, you might still be measuring temporary
>> >> data (e.g. for LoadableDetachableModel, you would also measure the
>> >> transientModelObject, and same for any proxies (Spring/ Guice) you
>> >> might use.
>> >>
>> >> Eelco
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [hidden email]
>> >> </user/SendEmail.jtp?type=node&node=3316743&i=0>
>> >> For additional commands, e-mail: [hidden email]
>> >> </user/SendEmail.jtp?type=node&node=3316743&i=1>
>> >>
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------
>> >> If you reply to this email, your message will be added to the
>> >> discussion below:
>> >>
>> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3316743.html
>> <http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3316743.html?by-user=t>
>> >>
>> >> To unsubscribe from Just 100K per session? That would be my dream come
>> >> true! (Anyone here who has tuned session size before?), click here
>> >>
>> <http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0
>> <http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0&by-user=t>>.
>>
>> >>
>> >
>> >
>> > --
>> > View this message in context:
>> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3317403.html
>> <http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3317403.html?by-user=t>
>> > Sent from the Users forum mailing list archive at Nabble.com.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [hidden email]
>> </user/SendEmail.jtp?type=node&node=3330006&i=1>
>> > For additional commands, e-mail: [hidden email]
>> </user/SendEmail.jtp?type=node&node=3330006&i=2>
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> </user/SendEmail.jtp?type=node&node=3330006&i=3>
>> For additional commands, e-mail: [hidden email]
>> </user/SendEmail.jtp?type=node&node=3330006&i=4>
>>
>>
>>
>> ------------------------------------------------------------------------
>> If you reply to this email, your message will be added to the
>> discussion below:
>> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330006.html
>>
>> To unsubscribe from Just 100K per session? That would be my dream come
>> true! (Anyone here who has tuned session size before?), click here
>> <http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0>.
>>
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330425.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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Just 100K per session? That would be my dream come true! (Anyone
here who has tuned session size before?)
Posted by Cristi Manole <cr...@gmail.com>.
I found this useful also :
http://www.small-improvements.com/10-things-about-apache-wicket-i-love/wicket:pageMapName/wicket-8
[same site, same author, kudos Per]
On Tue, Mar 1, 2011 at 3:13 PM, <MZ...@osc.state.ny.us> wrote:
> Great stuff, could you let us know when you have completed a 'final'
> version so I can check back?
>
>
>
> From: Per <pe...@hamburg.de>
> To: users@wicket.apache.org
> Date: 03/01/2011 02:22 PM
> Subject: Re: Just 100K per session? That would be my dream come
> true! (Anyone here who has tuned session size before?)
>
>
>
> Hi Antoine,
>
> I have started collecting my hints over here:
>
> http://www.small-improvements.com/blog/technical/tuning-wicket-session-size
>
>
> Please note that much of it may be considered hacks and bad practice (I
> am just a Wicket user, not a Wicket master). There may be better ways to
> achieve the same results. I'd love to get feedback on these suggestions!
> So give it a shot and tell me how you went!
>
> Good luck!
> Per
>
>
> > *bump*
> >
> > I'm one of those people who is reading :-)
> >
> >
> > Antoine
> >
> >
> > On Mon, Feb 21, 2011 at 3:11 PM, Per <[hidden email]
> > </user/SendEmail.jtp?type=node&node=3330006&i=0>> wrote:
> >
> > >
> > >
> > > Hi,
> > >
> > > I am measuring it in a profiler after the request has been completed,
> > > but thanks for the hint.
> > >
> > > In case anyone else is reading, I have been playing with the
> > > onComponentTag() and onComponentTagBody() methods on the weekend, and
> > > I've been able to reduce my page sizes significantly. Admittedly, this
> > > comes at the expense of flexibility and beauty, but I'm only doing
> this
> > > in the inner loops of very few pages, so who cares :-) Will write a
> > > summary with a couple of hints once I stop drowning in work.
> > >
> > > Cheers,
> > > Per
> > >
> > >
> > >> > Reading in the other thread that a session size of 100K or less
> > >> > is achievable, I'll admit defeat now: I have not been able to
> shrink
> > >> some of
> > >> > my pages(!) to less than 200K, not to mention the sessions. Despite
> > >> LDMs,
> > >> > CompoundPropertyModels, and no, there are no domain objects in
> > >> there, and no
> > >> > finals.
> > >>
> > >> How are you measuring this? Keep in mind that if you calculate when a
> > >> request is still processing, you might still be measuring temporary
> > >> data (e.g. for LoadableDetachableModel, you would also measure the
> > >> transientModelObject, and same for any proxies (Spring/ Guice) you
> > >> might use.
> > >>
> > >> Eelco
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: [hidden email]
> > >> </user/SendEmail.jtp?type=node&node=3316743&i=0>
> > >> For additional commands, e-mail: [hidden email]
> > >> </user/SendEmail.jtp?type=node&node=3316743&i=1>
> > >>
> > >>
> > >>
> > >>
> > ------------------------------------------------------------------------
> > >> If you reply to this email, your message will be added to the
> > >> discussion below:
> > >>
> >
>
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3316743.html
>
> > <
>
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3316743.html?by-user=t
> >
> > >>
> > >> To unsubscribe from Just 100K per session? That would be my dream
> come
> > >> true! (Anyone here who has tuned session size before?), click here
> > >>
> > <
>
> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0
>
> > <
>
> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0&by-user=t
> >>.
> >
> > >>
> > >
> > >
> > > --
> > > View this message in context:
> >
>
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3317403.html
>
> > <
>
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3317403.html?by-user=t
> >
> > > Sent from the Users forum mailing list archive at Nabble.com.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [hidden email]
> > </user/SendEmail.jtp?type=node&node=3330006&i=1>
> > > For additional commands, e-mail: [hidden email]
> > </user/SendEmail.jtp?type=node&node=3330006&i=2>
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > </user/SendEmail.jtp?type=node&node=3330006&i=3>
> > For additional commands, e-mail: [hidden email]
> > </user/SendEmail.jtp?type=node&node=3330006&i=4>
> >
> >
> >
> > ------------------------------------------------------------------------
> > If you reply to this email, your message will be added to the
> > discussion below:
> >
>
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330006.html
>
> >
> > To unsubscribe from Just 100K per session? That would be my dream come
> > true! (Anyone here who has tuned session size before?), click here
> > <
>
> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0
> >.
> >
>
>
>
> --
> View this message in context:
>
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330425.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
>
>
>
>
>
>
> Notice: This communication, including any attachments, is intended solely
> for the use of the individual or entity to which it is addressed. This
> communication may contain information that is protected from disclosure
> under State and/or Federal law. Please notify the sender immediately if
> you have received this communication in error and delete this email from
> your system. If you are not the intended recipient, you are requested not
> to disclose, copy, distribute or take any action in reliance on the
> contents of this information.
>
--
*Cristi Manole*, PMP Dream Leader
+40 (721) 437 497 cristimanole@novacreator.com
Nova Creator Software www.novacreator.com
Re: Just 100K per session? That would be my dream come true! (Anyone here
who has tuned session size before?)
Posted by MZ...@osc.state.ny.us.
Great stuff, could you let us know when you have completed a 'final'
version so I can check back?
From: Per <pe...@hamburg.de>
To: users@wicket.apache.org
Date: 03/01/2011 02:22 PM
Subject: Re: Just 100K per session? That would be my dream come
true! (Anyone here who has tuned session size before?)
Hi Antoine,
I have started collecting my hints over here:
http://www.small-improvements.com/blog/technical/tuning-wicket-session-size
Please note that much of it may be considered hacks and bad practice (I
am just a Wicket user, not a Wicket master). There may be better ways to
achieve the same results. I'd love to get feedback on these suggestions!
So give it a shot and tell me how you went!
Good luck!
Per
> *bump*
>
> I'm one of those people who is reading :-)
>
>
> Antoine
>
>
> On Mon, Feb 21, 2011 at 3:11 PM, Per <[hidden email]
> </user/SendEmail.jtp?type=node&node=3330006&i=0>> wrote:
>
> >
> >
> > Hi,
> >
> > I am measuring it in a profiler after the request has been completed,
> > but thanks for the hint.
> >
> > In case anyone else is reading, I have been playing with the
> > onComponentTag() and onComponentTagBody() methods on the weekend, and
> > I've been able to reduce my page sizes significantly. Admittedly, this
> > comes at the expense of flexibility and beauty, but I'm only doing
this
> > in the inner loops of very few pages, so who cares :-) Will write a
> > summary with a couple of hints once I stop drowning in work.
> >
> > Cheers,
> > Per
> >
> >
> >> > Reading in the other thread that a session size of 100K or less
> >> > is achievable, I'll admit defeat now: I have not been able to
shrink
> >> some of
> >> > my pages(!) to less than 200K, not to mention the sessions. Despite
> >> LDMs,
> >> > CompoundPropertyModels, and no, there are no domain objects in
> >> there, and no
> >> > finals.
> >>
> >> How are you measuring this? Keep in mind that if you calculate when a
> >> request is still processing, you might still be measuring temporary
> >> data (e.g. for LoadableDetachableModel, you would also measure the
> >> transientModelObject, and same for any proxies (Spring/ Guice) you
> >> might use.
> >>
> >> Eelco
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]
> >> </user/SendEmail.jtp?type=node&node=3316743&i=0>
> >> For additional commands, e-mail: [hidden email]
> >> </user/SendEmail.jtp?type=node&node=3316743&i=1>
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------
> >> If you reply to this email, your message will be added to the
> >> discussion below:
> >>
>
http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3316743.html
> <
http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3316743.html?by-user=t
>
> >>
> >> To unsubscribe from Just 100K per session? That would be my dream
come
> >> true! (Anyone here who has tuned session size before?), click here
> >>
> <
http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0
> <
http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0&by-user=t
>>.
>
> >>
> >
> >
> > --
> > View this message in context:
>
http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3317403.html
> <
http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3317403.html?by-user=t
>
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> </user/SendEmail.jtp?type=node&node=3330006&i=1>
> > For additional commands, e-mail: [hidden email]
> </user/SendEmail.jtp?type=node&node=3330006&i=2>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> </user/SendEmail.jtp?type=node&node=3330006&i=3>
> For additional commands, e-mail: [hidden email]
> </user/SendEmail.jtp?type=node&node=3330006&i=4>
>
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
>
http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330006.html
>
> To unsubscribe from Just 100K per session? That would be my dream come
> true! (Anyone here who has tuned session size before?), click here
> <
http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0
>.
>
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330425.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
Notice: This communication, including any attachments, is intended solely
for the use of the individual or entity to which it is addressed. This
communication may contain information that is protected from disclosure
under State and/or Federal law. Please notify the sender immediately if
you have received this communication in error and delete this email from
your system. If you are not the intended recipient, you are requested not
to disclose, copy, distribute or take any action in reliance on the
contents of this information.
Re: Just 100K per session? That would be my dream come true! (Anyone
here who has tuned session size before?)
Posted by Cristi Manole <cr...@gmail.com>.
yup, nice read. tks for sharing
onComponentTag saved my arse too in the past. Probably that's why I don't
think it's that ugly anymore :)
On Tue, Mar 1, 2011 at 2:41 PM, robert.mcguinness <
robert.mcguinness.iii@gmail.com> wrote:
> Per,
>
> Awesome summary. Much obliged.
>
> Rob
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330455.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: Just 100K per session? That would be my dream come true!
(Anyone here who has tuned session size before?)
Posted by "robert.mcguinness" <ro...@gmail.com>.
Per,
Awesome summary. Much obliged.
Rob
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330455.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: Just 100K per session? That would be my dream come true!
(Anyone here who has tuned session size before?)
Posted by Per <pe...@hamburg.de>.
Hi Antoine,
I have started collecting my hints over here:
http://www.small-improvements.com/blog/technical/tuning-wicket-session-size
Please note that much of it may be considered hacks and bad practice (I
am just a Wicket user, not a Wicket master). There may be better ways to
achieve the same results. I'd love to get feedback on these suggestions!
So give it a shot and tell me how you went!
Good luck!
Per
> *bump*
>
> I'm one of those people who is reading :-)
>
>
> Antoine
>
>
> On Mon, Feb 21, 2011 at 3:11 PM, Per <[hidden email]
> </user/SendEmail.jtp?type=node&node=3330006&i=0>> wrote:
>
> >
> >
> > Hi,
> >
> > I am measuring it in a profiler after the request has been completed,
> > but thanks for the hint.
> >
> > In case anyone else is reading, I have been playing with the
> > onComponentTag() and onComponentTagBody() methods on the weekend, and
> > I've been able to reduce my page sizes significantly. Admittedly, this
> > comes at the expense of flexibility and beauty, but I'm only doing this
> > in the inner loops of very few pages, so who cares :-) Will write a
> > summary with a couple of hints once I stop drowning in work.
> >
> > Cheers,
> > Per
> >
> >
> >> > Reading in the other thread that a session size of 100K or less
> >> > is achievable, I'll admit defeat now: I have not been able to shrink
> >> some of
> >> > my pages(!) to less than 200K, not to mention the sessions. Despite
> >> LDMs,
> >> > CompoundPropertyModels, and no, there are no domain objects in
> >> there, and no
> >> > finals.
> >>
> >> How are you measuring this? Keep in mind that if you calculate when a
> >> request is still processing, you might still be measuring temporary
> >> data (e.g. for LoadableDetachableModel, you would also measure the
> >> transientModelObject, and same for any proxies (Spring/ Guice) you
> >> might use.
> >>
> >> Eelco
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]
> >> </user/SendEmail.jtp?type=node&node=3316743&i=0>
> >> For additional commands, e-mail: [hidden email]
> >> </user/SendEmail.jtp?type=node&node=3316743&i=1>
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------
> >> If you reply to this email, your message will be added to the
> >> discussion below:
> >>
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3316743.html
> <http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3316743.html?by-user=t>
> >>
> >> To unsubscribe from Just 100K per session? That would be my dream come
> >> true! (Anyone here who has tuned session size before?), click here
> >>
> <http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0
> <http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0&by-user=t>>.
>
> >>
> >
> >
> > --
> > View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3317403.html
> <http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3317403.html?by-user=t>
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> </user/SendEmail.jtp?type=node&node=3330006&i=1>
> > For additional commands, e-mail: [hidden email]
> </user/SendEmail.jtp?type=node&node=3330006&i=2>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> </user/SendEmail.jtp?type=node&node=3330006&i=3>
> For additional commands, e-mail: [hidden email]
> </user/SendEmail.jtp?type=node&node=3330006&i=4>
>
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330006.html
>
> To unsubscribe from Just 100K per session? That would be my dream come
> true! (Anyone here who has tuned session size before?), click here
> <http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3308014&code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0>.
>
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330425.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