Re: DataContexts, sessions, and sharing data

From: Jim Menard (jim..o.com)
Date: Wed Feb 11 2004 - 17:00:00 EST

  • Next message: Andrus Adamchik: "Re: DataContexts, sessions, and sharing data"

    Andriy,

    > I think you could achieve acceptable results even with Cayenne 1.0
    > refreshing the data cached in users' data contexts from the database,
    > say,
    > every couple of minutes or so (depends on average amounts of data to
    > invalidate). This will ensure the users see the reasonably fresh data
    > and,
    > at the same time, won't build up the high pressure on your JDBC
    > connection
    > and JVM. Sharing a context among sessions is quite dangerous.

    Yeah, but my users want to see their pretty pictures NOW! :-)

    Seriously, that's a good suggestion. If moving to 1.1 is too risky,
    perhaps I'll take that approach.

    Jim

    -- 
    Jim Menard, jim..o.com, http://www.io.com/~jimm/
    "Build a man a fire and he's warm for the rest of the evening.
    Set a man on fire and he's warm for the rest of his life."
         -- Steve Taylor, in comp.lang.smalltalk
    



    This archive was generated by hypermail 2.0.0 : Wed Feb 11 2004 - 17:00:07 EST