[Zope] Object without Undo?
Dieter Maurer
dieter@handshake.de
Sun, 14 Apr 2002 23:45:17 +0200
Terry Hancock writes:
> I'm creating an "infinite-set" type product which generates
> objects on-the-fly based on their URL. In general many
> more objects are possible than are reasonable to store,
> yet relatively few would be used at any one time. Hence,
> a sensible approach is to provide a cache of recently
> requested objects and serve from the cache whenever
> feasible.
>
> ... ZODB based cache ...
You can use "temp_folders" that come with Zope 2.5.
They provide temporary storage (in RAM).
Alternatively, you can look at "MountableStorage" (or something
like that) and a BerkeleyStorage (it is non-undoable, file based).
Dieter