Netatalk / netatalk

Netatalk is a Free and Open Source AFP fileserver. A *NIX or BSD system running Netatalk is capable of serving many Macintosh clients simultaneously as an AppleShare file server.
https://netatalk.io
GNU General Public License v2.0
357 stars 87 forks source link

CNID backend using modern database tech #1177

Open rdmark opened 4 months ago

rdmark commented 4 months ago

This is a feature wishlist item about creating a new CNID backend that uses a modern light-weight database.

Our primary backend, dbd (database daemon), relies on BerkeleyDB which is by most measures abandoned software.

All in all, staying with BDB isn't future proof.

We have the mysql backend, but it relies on a separately managed database instance to use. What we need is something that can be spun up on demand, be fast and highly reliable.

Sqlite has been brought up in the past as a potentially strong contender.

rdmark commented 4 months ago

As a side note, I learned today that Bloomberg actively maintains a BerkeleyDB fork as the key store backend bundled with their in-house SQL database called comdb2. But it doesn't look like it can be built as a separate package without modification.

rdmark commented 4 months ago

WIP branch: https://github.com/Netatalk/netatalk/tree/dgsga-cnid-sqlite

rdmark commented 10 hours ago

Two data points regarding obsolescence:

While it is still available in both stable releases, there's a risk of removal in any future release version.