[Moin-user] Very slow page saving caused by notifications

Steve McIntyre steve at einval.com
Wed Apr 25 10:29:04 EDT 2012


On Mon, Apr 23, 2012 at 06:11:16PM +0200, Paul Boddie wrote:
>On Monday 23 April 2012 15:11:47 Steve McIntyre wrote:
>> On Sun, Apr 22, 2012 at 02:27:16PM +0200, Thomas Waldmann wrote:
>>
>> >caching
>> >=======
>> >sometimes stuff can be accelerated by adding a cache. but if you have a
>> >cache, you always have to make sure it is consistent with the real data.
>> >
>> >i had a quick look at the subscribed users caching patch and I suspect
>> >that might not be the case there.
>>
>> Hmmm. It seems to work fine for me in testing, but it's possible that
>> testing hasn't exercised all paths yet. Any suggestions on where to
>> check?
>
>I had the impression that the cache was updated when a user saves their 
>profile but not when the user subscribes or unsubscribes using the 
>appropriate action, but I may have missed something.

They still go through the user.save() path in the end, so no problem
there AFAICS.

-- 
Steve McIntyre, Cambridge, UK.                                steve at einval.com
"Since phone messaging became popular, the young generation has lost the
 ability to read or write anything that is longer than one hundred and sixty
 characters."  -- Ignatios Souvatzis





More information about the Moin-user mailing list