Re: Page pooling (for stateless pages)

2008-05-19 Thread James Carman
stateless != static, though If you cache the results of a stateless page, you could show stale information from the database, correct? On Mon, May 19, 2008 at 1:18 AM, Erik van Oosten [EMAIL PROTECTED] wrote: Hello, I think it would probably make more sense to cache the /result/ of stateless

Re: Page pooling (for stateless pages)

2008-05-19 Thread Eelco Hillenius
On Sun, May 18, 2008 at 11:04 PM, James Carman [EMAIL PROTECTED] wrote: stateless != static, though If you cache the results of a stateless page, you could show stale information from the database, correct? True, so it depends on your use case. And obviously it wouldn't work for form

Re: Page pooling (for stateless pages)

2008-05-19 Thread Joel Halbert
[EMAIL PROTECTED] Sent: Monday, May 19, 2008 7:18 AM To: users@wicket.apache.org Subject: Re: Page pooling (for stateless pages) On Sun, May 18, 2008 at 11:04 PM, James Carman [EMAIL PROTECTED] wrote: stateless != static, though If you cache the results of a stateless page, you could show stale

Page pooling (for stateless pages)

2008-05-18 Thread Joel Halbert
Hi, I was wondering whether it was possible to implement pooling of stateless pages? Possibly using a custom PageMap implementation? Although newer JVM's are good at performing GC, pooling is a reasonable additional technique to use for achieving that extra bit of scalability. If anyone has

Re: Page pooling (for stateless pages)

2008-05-18 Thread Matej Knopp
Hi, first of all, I don't really think it's worth pooling pages. I can't imagine that page instance creation would have that much overhead. Also stateless pages doesn't mean they don't contain any state. The page is stateless because it's not kept between requests, but during request there's lot

Re: Page pooling (for stateless pages)

2008-05-18 Thread Johan Compagner
For stateless pages?? The whole point of stateless is that they arent kept in the session/memory. And pooling pages is not really what you want any way, you can only pool then for a single user/sessiion so you would have a pool for every session. And when do you decide to return a pooled page?

Re: Page pooling (for stateless pages)

2008-05-18 Thread Johan Compagner
For stateless pages?? The whole point of stateless is that they arent kept in the session/memory. And pooling pages is not really what you want any way, you can only pool then for a single user/sessiion so you would have a pool for every session. And when do you decide to return a pooled page?

Re: Page pooling (for stateless pages)

2008-05-18 Thread Joel Halbert
, Joel -- From: Johan Compagner [EMAIL PROTECTED] Sent: Sunday, May 18, 2008 12:27 PM To: users@wicket.apache.org Subject: Re: Page pooling (for stateless pages) For stateless pages?? The whole point of stateless is that they arent kept in the session

Re: Page pooling (for stateless pages)

2008-05-18 Thread Joel Halbert
be implemented. I noted that Tapestry 5 has chosen to implement stateless pages and pooling of these by default. -- From: Matej Knopp [EMAIL PROTECTED] Sent: Sunday, May 18, 2008 12:25 PM To: users@wicket.apache.org Subject: Re: Page pooling

Re: Page pooling (for stateless pages)

2008-05-18 Thread Martijn Dashorst
the a technique used by Tapestry 5 to achieve greater scalability. Rgs, Joel -- From: Johan Compagner [EMAIL PROTECTED] Sent: Sunday, May 18, 2008 12:27 PM To: users@wicket.apache.org Subject: Re: Page pooling (for stateless pages

Re: Page pooling (for stateless pages)

2008-05-18 Thread Joel Halbert
the a technique used by Tapestry 5 to achieve greater scalability. Rgs, Joel -- From: Johan Compagner [EMAIL PROTECTED] Sent: Sunday, May 18, 2008 12:27 PM To: users@wicket.apache.org Subject: Re: Page pooling (for stateless pages

Re: Page pooling (for stateless pages)

2008-05-18 Thread Martijn Dashorst
. It is also the a technique used by Tapestry 5 to achieve greater scalability. Rgs, Joel -- From: Johan Compagner [EMAIL PROTECTED] Sent: Sunday, May 18, 2008 12:27 PM To: users@wicket.apache.org Subject: Re: Page pooling (for stateless

Re: Page pooling (for stateless pages)

2008-05-18 Thread James Carman
pooling (for stateless pages) For stateless pages?? The whole point of stateless is that they arent kept in the session/memory. And pooling pages is not really what you want any way, you can only pool then for a single user/sessiion so you would have a pool for every session

Re: Page pooling (for stateless pages)

2008-05-18 Thread Igor Vaynberg
-- From: Johan Compagner [EMAIL PROTECTED] Sent: Sunday, May 18, 2008 12:27 PM To: users@wicket.apache.org Subject: Re: Page pooling (for stateless pages) For stateless pages?? The whole point of stateless is that they arent kept in the session/memory. And pooling

Re: Page pooling (for stateless pages)

2008-05-18 Thread James Carman
On Sun, May 18, 2008 at 9:47 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: do you have a benchmark that shows that pooling is indeed faster? servlets are pooled because they may require heavy initialization. wicket pages are much more lightweight in comparison. And, the more heavyweight you make

Re: Page pooling (for stateless pages)

2008-05-18 Thread Eelco Hillenius
I was wondering whether it was possible to implement pooling of stateless pages? Possibly using a custom PageMap implementation? I think you can just implement the pooling mechanism yourself, and provide a custom version of IPageFactory (which is to be set in session settings). Although

Re: Page pooling (for stateless pages)

2008-05-18 Thread Jonathan Locke
. I however keep an eye on it and let you know of any metrics that we produce. Thx, Joel -- From: Eelco Hillenius [EMAIL PROTECTED] Sent: Sunday, May 18, 2008 5:58 PM To: users@wicket.apache.org Subject: Re: Page pooling (for stateless pages

Re: Page pooling (for stateless pages)

2008-05-18 Thread Erik van Oosten
Hello, I think it would probably make more sense to cache the /result/ of stateless pages. Regards, Erik. Joel Halbert wrote: Hi, I was wondering whether it was possible to implement pooling of stateless pages? Possibly using a custom PageMap implementation? Although newer JVM's

Re: Page pooling (for stateless pages)

2008-05-18 Thread Eelco Hillenius
I think it would probably make more sense to cache the /result/ of stateless pages. Yeah, that might make quite the difference. The best place for that would be a filter, probably defined before the Wicket filter. Tons of different options as well though. And definitively something I would only