Batch mapper in RailsEventStore - how initial idea evolved into experimental feature Some time ago, Bert who uses RES in his project has reached out to us with a performance issue. The data in his event store database are encrypted. RailsEventStore provides an EncryptionMapper to handle encryption/decryption of domain events’ data. However, in this case the simple use of it caused performance issues.