Writes go to the cache, which synchronously writes them to the database, so cache and database stay in step.