Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Resource management
Resource management [message #66973] Tue, 18 December 2007 18:40 Go to next message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

hi!

i have a few questions about the resource management of rap/equinox. since
one project is going to be tested in a productive environment soon, i
wanted to ask whether i have to take some aspects into consideration or if
rap/equinox deals with them already.

for example, i added a beforeDestroy listener to the session which simply
does a system.out.println, i noticed that the session is not destroyed as
soon as the user closes the browser window. what about the object that are
created within this session?
does the "default" configuration (which means no special configuration
regarding the servlet-side) already scale well or do i have to take some
precautions? i just ask because i don't know much about the
resource/session management of rap/equinox and i'm afraid that the jvm
might run out of memory, and i don't know how much memory i should assign
to the jvm :)).

maybe someone can give me a short overview or if there are links regarding
this topic i'd be very grateful if someone can contribute some.

thx in advance!

-ben
Re: Resource management [message #69502 is a reply to message #66973] Wed, 09 January 2008 18:20 Go to previous message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

it's true that the session isn't destroyed immediately if the user closes
the browser window. To keep it short - RAP relies on the session timeout
mechanism of the underlying servlet container (configuration via web.xml, in
case of running equinox standalone there's a system parameter). And there is
not a general answer to the question of the optimal timeout settings for
webapps - it depends on your application, number of concurrent users,
available memory etc.


Ciao
Frank


"Ben W." <benjamin.wolff@web.de> schrieb im Newsbeitrag
news:bf84c5dd9f0809b1e7b574b6f4299573$1@www.eclipse.org...
> hi!
>
> i have a few questions about the resource management of rap/equinox. since
> one project is going to be tested in a productive environment soon, i
> wanted to ask whether i have to take some aspects into consideration or if
> rap/equinox deals with them already.
>
> for example, i added a beforeDestroy listener to the session which simply
> does a system.out.println, i noticed that the session is not destroyed as
> soon as the user closes the browser window. what about the object that are
> created within this session? does the "default" configuration (which means
> no special configuration regarding the servlet-side) already scale well or
> do i have to take some precautions? i just ask because i don't know much
> about the resource/session management of rap/equinox and i'm afraid that
> the jvm might run out of memory, and i don't know how much memory i should
> assign to the jvm :)).
>
> maybe someone can give me a short overview or if there are links regarding
> this topic i'd be very grateful if someone can contribute some.
> thx in advance!
>
> -ben
Previous Topic:Child menu action gets fired when its parent menu is clicked
Next Topic:Text widget on Linux with russian characters
Goto Forum:
  


Current Time: Fri Apr 26 20:55:06 GMT 2024

Powered by FUDForum. Page generated in 0.02575 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top