High performance, in-memory and distributed cache system with integrated persistence on inexpensive systems