Simulations of replication protocols