3 ms·
To be fair, idexes are redundant structures so data will not be lost permanently in this case.
by DenisM 18y ago
To be fair, idexes are redundant structures so data will not be lost permanently in this case.
- fhars 18y agoNo, they will magically reappear the next time memcached is restarted. The way the article describes the idea the same thing will happen when there is a database error during user deletion: The user will be gone from the cache, but may reappear later. To make this scheme work, both the database and memcached must be made to support two phase commit, or the application must try to get the shard information from the database if it isn't in the cache.