Elektrine lite

← Feed

@hyc@mastodon.social

Post #3921870

2026-07-18 19:54 UTC

The entry and DN caches will churn a lot during any normal workload, which leads to heap fragmentation, which will cause server performance to degrade the longer it runs. That's why I went to such pains to ensure zero mallocs in LMDB's read path, so it's possible to service an LDAP query with zero heap use, and thus zero chance of heap fragmentation issues. Apparently issues they just didn't think about. http://highlandsun.com/hyc/malloc/

Replies (1)

  • @hyc@mastodon.social 2026-07-18 21:18

    Which reminds me - the distinction between "application programmer" and "system programmer" is bogus IMO. If you don't understand how operating systems and your programming language and its runtime work, then you can't be a good application programmer.

    Open ##3921869