Howard Chu @ Symas on Nostr: Speaking of encrypting data at rest, I just finished up integrating #LMDB's ...
Speaking of encrypting data at rest, I just finished up integrating #LMDB's encryption support into #OpenLDAP slapd. https://git.openldap.org/openldap/openldap/-/merge_requests/721
Using libsodium's chacha20poly1305 cipher, writes are about 20% slower than without encryption. Reads are a bit slower still. OpenSSL's chacha20poly1305 is a bit faster than libsodium's, though I only measured these in single-threaded workloads. Not sure if OpenSSL's internal locking affects multithreaded workloads here.
Using libsodium's chacha20poly1305 cipher, writes are about 20% slower than without encryption. Reads are a bit slower still. OpenSSL's chacha20poly1305 is a bit faster than libsodium's, though I only measured these in single-threaded workloads. Not sure if OpenSSL's internal locking affects multithreaded workloads here.