libsqlfs
databases-intuition
libsqlfs | databases-intuition | |
---|---|---|
10 | 3 | |
581 | 45 | |
1.7% | - | |
0.0 | 7.1 | |
6 months ago | 7 months ago | |
C | Go | |
GNU Lesser General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libsqlfs
-
The File Filesystem
Closest I found: https://github.com/guardianproject/libsqlfs
> The libsqlfs library implements a POSIX style file system on top of an SQLite database. It allows applications to have access to a full read/write file system in a single file, complete with its own file hierarchy and name space. This is useful for applications which needs structured storage, such as embedding documents within documents, or management of configuration data or preferences. Libsqlfs can be used as an shared library, or it can be built as a FUSE (Linux File System in User Space) module to allow a libsqlfs database to be accessed via OS level file system interfaces by normal applications.
-
Why you should probably be using SQLite
- Use clone file to duplicate the cached data directory to give to individual tests.
One thing I'd like to pursue is to store the Postgres data dir in SQLite [1]. Then, I can reset the "file system" using SQL after each test instead of copying the entire datadir.
[1]: https://github.com/guardianproject/libsqlfs
-
SQLite: 35% Faster Than the Filesystem
Not sure about compression but somebody could probably hack it in an afternoon using this:
https://github.com/guardianproject/libsqlfs
or something similar to check the potential for speed up.
- Libsqlfs: A Posix-style file system on top of an SQLite database
- FUSE based Posix style file system on top of an SQLite database
-
Why the Windows Registry sucks technically (2010)
Maybe there isn't a database engine that explicitly supports file system daya structures, but you could implement a filesystem in the application layer using SQLite as a storage mechanism.
Here's an example of someone doing that very thing.
https://github.com/guardianproject/libsqlfs
- Is it time to remove reiserfs?
- SQLite Archive Files
-
A Future for SQL on the Web
now let's see what it takes to make absurd-fs, where we use https://github.com/guardianproject/libsqlfs to make a filesystem on top of sqlite on top of the File System Access API.
gotta keep ourselves fully looped. ⥀
databases-intuition
-
Why you should probably be using SQLite
Without too much difficulty you can get into the 100,000s inserts per second range, and even near 1M inserts per second.
https://github.com/eatonphil/databases-intuition#go-mattngo-...
-
Batch size one billion: SQLite insert speedups, from the useful to the absurd
I've done some comparisons for inserts of various data sizes on mariadb, postgres, and sqlite without indexes.
I didn't have the patience of OP though to push it to 1B.
https://github.com/eatonphil/databases-intuition
- Show HN: Building intuition about primitive database operations
What are some alternatives?
sqlite-zstd - Transparent dictionary-based row-level compression for SQLite
pocketbase - Open Source realtime backend in 1 file
sqlitefs - sqlite as a filesystem
marmot - A distributed SQLite replicator built on top of NATS
dirs-rs - a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows
StorX - PHP library for flat-file data storage
sqlfs - Sqlite FUSE filesystem with sqlcipher support
nix-1p - A (more or less) one page introduction to Nix, the language.
certificate-transparency - Auditing for TLS certificates.
datasette - An open source multi-tool for exploring and publishing data
sqlite-utils - Python CLI utility and library for manipulating SQLite databases
idb - IndexedDB, but with promises