A flexible framework for accurate simulation of cloud in-memory data stores