Controlling Transactional Behavior of the InnoDB memcached Plugin
Unlike with the traditional memcached, with the InnoDB + memcached combination you can control
how “durable” are the data values produced through calls to add, set, incr, and so on. Because
MySQL places a high priority on durability and consistency of data, by default all data written through
the memcached interface is always stored to disk, and calls to get always return the most recent value
from disk. Although this default setting does not give the highest possible raw performance, it is still
very fast compared to the traditional SQL interface for InnoDB tables.
As you gain experience with this feature, you can make the decision to relax the durability settings for
non-critical classes of data, at the risk of possibly losing some updated values in case of an outage, or
returning data that is slightly out-of-date.
... zobacz całą notatkę
Komentarze użytkowników (0)