[ZODB-Dev] weird conflicts with BTrees
Chris McDonough
chrism at plope.com
Thu Dec 1 00:26:14 UTC 2011
On Wed, 2011-11-30 at 19:19 -0500, Stephan Richter wrote:
> On Wednesday, November 30, 2011 06:11:16 PM Chris McDonough wrote:
> > Faster is a zope product that is the basis for repoze.session.
> > repoze.session explains itself here:
> >
> > http://docs.repoze.org/session/internals.html
>
> Hi Chris,
>
> thanks for the answer. The approach in repoze.session looks very interesting
> indeed and I think it could be used in a Zope 3 project without much effort.
>
> Since the bucket type can be replaced, I am not worried about the BTree. BTW,
> you mention an AppendOnlyDict (or AppendDict?). Does this really exist? I
> assume the PersistentDict class should be sufficient, since all you need to
> ensure is that the key -> data mapping is in one persistent object.
An implementation of AppendOnlyDict remains in Faster I think... I don't
recall what the tradeoffs were between using that and using what we use
now, though.
- C
>
> Regards,
> Stephan
More information about the ZODB-Dev
mailing list