3 ms·
I think a testament to the quality of SQLite is its flexibility. I was given the task of building a distributed, HA databases that ran without human interventio
by sargun 10y ago
I think a testament to the quality of SQLite is its flexibility. I was given the task of building a distributed, HA databases that ran without human intervention. I was able to adapt SQLite to run on a different storage backend in the area of days as opposed to the weeks or more it would take with another system.
In addition to this, I was even able to port SQLite to the Linux kernel: https://github.com/sargun/ksqlite https://github.com/sargun/ksqlite -- and IMHO, it's really neat that in <1000 lines of code I could adapt this database to run in kernel space.
- Something1234 10y agoWhy would I want sqlite to run in the kernel? I'm asking out of genuine curiosity.
- sargun 10y agoFor fun. More seriously I was interested for two things: 1) Policy framework - every policy framework has its own wacky way of specifying matches, and actions. SQL turns out to be pretty good at this. 2) For some other projects I needed an in-kernel virtual machine. I needed something written in C, that had a no libc requirement. My choices were nekovm, and SQLite at the end. I decided to take out two birds with one stone.