Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I really agree with jandrewrogers' point about the insularity of the database domain. While working on a custom C++ engine to handle 10M vectors in minimal RAM, I’ve noticed that many 'mainstream' concurrency patterns simply don't scale when cache-locality is your primary bottleneck.

In the DB world, we often trade complex locking for deterministic ordering or latch-free structures, but translating those to general-purpose app code (like what this Rust crate tries to do) is where the friction happens. It’s great to see more 'DB-style' rigour (like total ordering for locks) making its way into library design.

 help



An example of this is Linux adopting wait-die locks:

https://docs.kernel.org/locking/ww-mutex-design.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: