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/721Using 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.
Published at
2024-10-18 17:51:02Event JSON
{
"id": "8ddc16c96cb577d1f96166da3fb640061ab8cfc1334d2e540110428042841302",
"pubkey": "5aeb250b3075a12bd05e16c8a3c40da91a553fa92164a39915a3a0615fe51864",
"created_at": 1729273862,
"kind": 1,
"tags": [
[
"e",
"c9b113b26c092758d9ca6531a8def58a31d3e46e9fdfedf8583e1746f1f75b6e",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"lmdb"
],
[
"t",
"openldap"
],
[
"proxy",
"https://mastodon.social/users/hyc/statuses/113329691830950654",
"activitypub"
]
],
"content": "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\n\nUsing 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.",
"sig": "e2617cef262424aa25e16056e772f3139b2cad48938b971263821ca3b18058089cdbb955f400c181d7cb71ad202df2d2a4f6f1395a33a185a76fc53187f98cca"
}