Record and replay experiment