← Back to context

Comment by sspiff

2 years ago

Would you put sqlite in the kernel? Or using something like FUSE?

It seems to me that all the extra indirection from using FUSE would lead to more than a 35% performance hit.

Statically linking an sqlite into a kernel module and providing it with filesystem access seems like something non trivial to me.

Could we expect performance gains from Sqlite being in the kernel?

  • The idea of embedding SQLite in the kernel, reminds me of IBM OS/400 (the operating system of the IBM AS/400, nowadays known as IBM i). It contains a built-in relational database, although exactly how deeply integrated it is, is not entirely clear, due to lack of details of its inner workings.

    Putting a relational database in the OS kernel is an interesting violation of standard layering. Obviously has the potential to unleash a lot of issues, but also could possibly enable novel features.