DEV Community


Discussion on: Filesystem versus SQLite performance

jrbrtsn profile image
John Robertson

If you really hate SQL, and I do too, you can use Berkely DB. This library provides basic key-value storage and retrieval. It is very mature, robust, and efficient.
If you require transactional integrity, about the only practical approach is using an SQL database engine which supports transactions.
I've had the best luck setting up SQL tables to resemble C structs, and then writing a class for each table. I wish I had a better idea than SQL.