buffer the writes to the ringbufferentity, apply them in a transaction in the put() method