Re: Faking Entity Beans in Tomcat?

From: Murray (parps_at_SPAMOFFoptusnet.SPAMMAGE.com.au)
Date: 07/16/04


Date: Fri, 16 Jul 2004 21:49:42 +1000


> 1. It has to be possible to update any user in real time or to create a
new
> one and have them function immediately.

If it wasn't for this requirement, you could simply stick the user data into
the session. I assume you mean you want to be able to modify the user's
state from some other "place" in the application, i.e. outside the user's
session by an admin user or something along those lines. Is that what you
mean?

> 2. I don't know if there would be too much information being stored at
> application level?

Well obviously that depends on the amount of data involved, how many users
will be using the site concurrently, and the amount of memory available on
the server. All things that only you know at the moment ;-) But if the
queries to grab the data take a while, then I'd say it's an acceptable
compromise to store the data in memory to improve performance, as long as
it's not a massive amount of data.



Relevant Pages

  • Re: memory leak in asp 2.0
    ... Almost certainly the problem is in storing large amount of data in session ... I expected that it will get some amount of memory, ... I call each time 'Page unload' when I load new page but never when I close ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Faking Entity Beans in Tomcat?
    ... I have an admin application which allows me add/change/delete users' ... Surely the data couldn't be held in session level as each user creates a new ... > Well obviously that depends on the amount of data involved, ... > will be using the site concurrently, and the amount of memory available on ...
    (comp.lang.java.programmer)
  • Re: True odds bets? Clams
    ... chance to end the one hour session a winner, I don't care how much, just ... We are just talking about this one session. ... dollars will be on the zero expectation odds and your combined flat ...
    (rec.gambling.craps)
  • Re: Dataset and datatable
    ... when I call on datagrid next page I reload page. ... Or I save it in session collection. ... the amount of memory for aspnet.exe grows 2kb each 5-10 sec. ... ADO.NET uses something called connection pooling which means that many small database reads will always perform much better then a few large database reads. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Greater than 1371 Bytes Output Hangs Session
    ... Commands that display a small amount of output ... am able to duplicate the session and re-login. ... from a computer on the "inside" network, ...
    (comp.os.linux.misc)