Hi, I've got two clients accessing the same object at the same time (one is Zope and the other is a worker interfacing to another system). In the worker client I need to detect a change to the value of an attribute made by the Zope client. I can do this by polling the value of the attribute that I'm interested in but I am wondering if there is a more elegant and efficient way of doing this. Any ideas? Thanks, Rowan
Rowan Woodhouse wrote:
Hi,
I've got two clients accessing the same object at the same time (one is Zope and the other is a worker interfacing to another system). In the worker client I need to detect a change to the value of an attribute made by the Zope client. I can do this by polling the value of the attribute that I'm interested in but I am wondering if there is a more elegant and efficient way of doing this.
Any ideas?
Perhaps try hooking into the ZEO cache invalidation mechanism. Laurence
Laurence Rowe wrote:
Rowan Woodhouse wrote:
Hi,
I've got two clients accessing the same object at the same time (one is Zope and the other is a worker interfacing to another system). In the worker client I need to detect a change to the value of an attribute made by the Zope client. I can do this by polling the value of the attribute that I'm interested in but I am wondering if there is a more elegant and efficient way of doing this.
Any ideas?
Perhaps try hooking into the ZEO cache invalidation mechanism.
Laurence
Thanks, I'll give that a go and get back to the list with what I work out. Rowan
participants (2)
-
Laurence Rowe -
Rowan Woodhouse