Download & Extend

Avoid using variable_set() for storing cache flush times.

Project:Mongodb
Version:7.x-1.x-dev
Component:Cache
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Avoid using variable_set() for storing cache flush times. #926062: Avoid variable_set() on bin and wildcard flushes

Comments

#1

Title:Optimise minimum cache lifetime mode» Avoid using variable_set() for storing cache flush times.

removed

#2

fwiw I went a different way in memcache, adding memcache-specific versions of variable set so that it's write through.

There were two main reasons for this:

- storing it in memcache risks losing it if there's an eviction or partial restart of a memcache cluster. That's not an issue for mongo though.
- having an extra request to memcache to check expiry had a noticeable performance impact on raw page caching performance. This makes sense since you're talking about only a handful (or in D7 potentially 1) requests - so adding one is not small in that context.

nobody click here