Previously George Gozadinos wrote:
> Hi,
> I'm developing a kss-based live chat product to be released as open  
> source.
> While the basic functionality is working, I have the following problem.
> I would like to avoid storing messages sent by users to the chat room  
> object, as this easily leads to ZODB conflicts. But I need a thread- 
> safe way to store this messages. There are alternatives such as using  
> sql or some external xmlrpc server but is there a way to actually  
> store them in memory AND have them available to all threads? Is  
> threading.lock possible and if yes any examples of use within zope?

There is a structural problem with storing them in memory: that will not
work for sites which use multiple Zope instances.

Wichert.

-- 
Wichert Akkerman <[EMAIL PROTECTED]>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to