Choosing the persistence method for stateful services