[Developers] DelayedGetter/DelayedSetter

2007-01-02 Thread Michiel Meeuwissen
I was busy with the 'poll' contribution, and figured, that for real good performance, the updating in the database could better be 'collected' during a certain amount of time, before actual persistance occurs. Turns out that something like that can be quite easily achieved using the

Re: [Developers] DelayedGetter/DelayedSetter

2007-01-02 Thread Nico Klasens
It sounds a wierd hack to me. Why would a delayed update be 10 times faster than a normal update? I would have expected it to be a little less. It can't be the database overhead so it must be code in MMbase. My guess is the eventsystem and cache updates. The example is not very realistic

Re: [Developers] DelayedGetter/DelayedSetter

2007-01-02 Thread Michiel Meeuwissen
Nico Klasens wrote: It sounds a wierd hack to me. Why would a delayed update be 10 times faster than a normal update? I would have expected it to be a little less. It can't be the database overhead so it must be code in MMbase. My guess is the eventsystem and cache updates. I mean that