Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-08 Thread Johan Compagner
Knopp [mailto:matej.kn...@gmail.com] > Sent: Thursday, January 07, 2010 3:55 PM > To: users@wicket.apache.org > Subject: Re: DiskPageStore file increasing to max size by only > refreshing a HomePage > > SetVersioned(false) does not help with new page instances being created. >

RE: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-08 Thread Loritsch, Berin C.
It's bookmarked pages that avoid new page creation isn't it? -Original Message- From: Matej Knopp [mailto:matej.kn...@gmail.com] Sent: Thursday, January 07, 2010 3:55 PM To: users@wicket.apache.org Subject: Re: DiskPageStore file increasing to max size by only refreshing

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Matej Knopp
SetVersioned(false) does not help with new page instances being created. -Matej On Thu, Jan 7, 2010 at 9:46 PM, Wilhelmsen Tor Iver wrote: >> about "unversioned", i have just done a quick test on wicket-examples > >> helloworld, adding serialVersionUID (not informed in the examples) and >> the >

SV: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Wilhelmsen Tor Iver
> about "unversioned", i have just done a quick test on wicket-examples > > helloworld, adding serialVersionUID (not informed in the examples) and > the > result is the same: pagestore file increasing to the "infinite" (max > size of > course :) I meant Wicket's setVersioned(false); the serialVe

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread manuelbarzi
about "unversioned", i have just done a quick test on wicket-examples > helloworld, adding serialVersionUID (not informed in the examples) and the result is the same: pagestore file increasing to the "infinite" (max size of course :) stateless page is next, but limitations in this scenario should

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread manuelbarzi
that good be great! dos attack is very rude scenario? ok, a more realistic scenario would be - as happens here - an app that has a very huge amount of users during only one week per year (about 40k users connecting to this app for subscriptions and checking some personal information). let's say 1k

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Peter Ertl
Would it be a good idea to be able to specify the pagestore limits on a per-wicket-session base? So you could for example increase the page store limits once a user has successfully authenticated. DoS web clients usually don't go through the mess to authenticate first. Also multiple authentica

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Johan Compagner
what is the definition of an overloaded pagestore? if the page store can be overloaded (so more then it should load) then it is a bug of wicket. But even if you get a dos attack then max 10MB per user will be allocated yes, but thats not overloading in my point of view. you could always decrease it

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Matej Knopp
You can make your home page stateless. Of course that limits what components you can put on it. -Matej On Thu, Jan 7, 2010 at 2:42 PM, manuelbarzi wrote: > hmmm... but we are talking about something very basic: the home page! > there's no way to avoid repetition of this page in pagestore? i gues

SV: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Wilhelmsen Tor Iver
> hmmm... but we are talking about something very basic: the home page! Have you set it unversioned? How about trying to make it stateless? - Tor Iver - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread manuelbarzi
hmmm... but we are talking about something very basic: the home page! there's no way to avoid repetition of this page in pagestore? i guess pagestore does not repeat other internal pages (with extended url - not home page - if their are correctly independent, no new object references inside on each

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Matej Knopp
You have the exact same problem with every stateful application. If you want to avoid a DoS attack (which isn't really always possible) you need a good firewall. -Matej On Thu, Jan 7, 2010 at 2:29 PM, manuelbarzi wrote: > if this is the behaviour by default, then, how do you avoid a DoS attack?

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread manuelbarzi
if this is the behaviour by default, then, how do you avoid a DoS attack? i mean, to put an example, if a simple app like this receives thousand of users just refreshing the home page, then the pagestore will be overloaded... may this become a disk I/O overhead and its other possible consequences.

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Johan Compagner
if you constantly target exactly that url then that will be a new page everytime because thats just a bookmarkable url. not an instance url. On Thu, Jan 7, 2010 at 12:52, manuelbarzi wrote: > the url is this: http://localhost:9090/test/ >

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread manuelbarzi
the url is this: http://localhost:9090/test/

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Matej Knopp
Just because it's the same page class it doesn't mean it's the same page instance. How does the URL that you invoke look like? -Matej On Thu, Jan 7, 2010 at 12:32 PM, manuelbarzi wrote: > Hi, > > - the scenario is this: > > jmeter stress-testing (10 simultaneous users with no ramp-up and an > in

DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread manuelbarzi
Hi, - the scenario is this: jmeter stress-testing (10 simultaneous users with no ramp-up and an infinite-loop cycle) a wicket application (extends SpringWebApplication) by only refreshing the HomePage. - the result is: observing the disk, the pagemap file for each session (10 items), there is a