[codec-memcache] change to gathering writes.