After a long time having problems with performance going down in our Zope/Storm applications I could now figure out where it is coming from. In my latest app using tornado and Storm I have the same problem.<br><br>When using <span class="gI">List or Pickle properties (both are derived from MutableValueVariable) I found that any time a property is read a flush event hook is added but never removed. The longer the app runs the more hooks are registered</span> which result in low perfomance in store.flush.<br>
The flush event hook is unhooked on the 'stop-tracking-changes' event which is only emited if an object is removed from the database.<br><br>-- <br>Jürgen Kartnaller, senior developer<br><br>Lovely Systems AG<br>Telefon +43 5572 908060, Fax +43 5572 908060-77<br>
Schmelzhütterstraße 26a, 6850 Dornbirn, Austria<br><br>