cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Huss <johnth...@gmail.com>
Subject Re: Further on modeler problems and a Question..
Date Mon, 20 May 2019 16:25:58 GMT
Just by querying the table at startup you can load it into the Object cache
(if your shared cache is enabled, which it is by default). However if you
exceed the size of the shared cache it will eventually evict those objects
and re-fetch them one at a time as needed (which is bad).

On Mon, May 20, 2019 at 11:09 AM Tony Giaccone <tony@giaccone.org> wrote:

> I also have Cayenne Modeler at version 4.01 and that starts up with out a
> problem. So I am even more confused.  The 4.0 release version seems to work
> fine and keeps the same version number in the model files so I'll be using
> that.
>
> Now the question that started this whole process.  I have a table in the
> database that's essentially a look up table, it has several thousand rows,
> and I'd like to just read it in once and then use it across different
> incoming requests.  Is there a best practice for this use case?
>
>
> Tony
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message