Re: [Zope] ZODB caching issue

2005-05-12 Thread Dieter Maurer
David Chandek-Stark wrote at 2005-5-12 10:49 -0400:
> ...
>   Previously used RDFSummary 2.4
>
>Symptom:
>   When a new item is added to the RSS feed (b/c a news item was 
>published), my ZPT displays the RSS data inconsistently with each 
>browser refresh -- sometimes the new item appears, sometimes not.

A bug in "RDFSummary" which uses a ZODB cache to maintain
the fetched items.
Unfortunately, each connection has its own independent ZODB cache

Using a ZODB cache for this use case is both inefficient
and error prone.

You should contact the "RDFSummary" authors.

-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] ZODB caching issue

2005-05-12 Thread David Chandek-Stark
Setup:
  Zope 2.7.0
  Python 2.3.3
  Linux2
  CMF 1.4.4
Problem Area:
  ZPT which contains a call to a ZPT macro
  The ZPT macro gets data from a parsed RSS feed
  Now using CMFSin 0.6.1
  Previously used RDFSummary 2.4
Symptom:
  When a new item is added to the RSS feed (b/c a news item was 
published), my ZPT displays the RSS data inconsistently with each 
browser refresh -- sometimes the new item appears, sometimes not.

At first I thought this was a problem with the RDFSummary product, but I 
have the same issue with CMFSin. Finally, I at least discovered 
something that "fixes" the problem: flushing the ZODB cache. Obviously, 
I don't want to flush the ZODB cache every time my news feed is updated. 
Is this a known problem that has been resolved in later versions of Zope 
2.7/CMF? Since it's not technically an error, I don't have a traceback.

Thanks for any help,
David
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )