5 ms·
I do it the other way around, filesystem as database: http://root.rupy.se http://root.rupy.se Just learned to partition the SD card for my RPi 2 cluster proper
by bullen 7y ago
I do it the other way around, filesystem as database: http://root.rupy.se http://root.rupy.se
Just learned to partition the SD card for my RPi 2 cluster properly with ext4 type "small" so I don't run out of inodes.
Also purchased 6x 256GB Toshiba for 40$ each, I have been waiting for large and cheap microSD cards since 2015!
- flukus 7y agoTMSU (https://tmsu.org/ https://tmsu.org/) is another one like this. It's simple and inter-operates with everything that currently exists and it offers most features you'd want out of a database file system.
- bullen 7y agoOk, do you know how tmsu stores it's metadata? I found references to sqlite3 in the source. ROOT actually uses the filesystem AS database, it has no separate index files except the "link" ones and those only store a binary list of long id's to other files. ROOT has some features that are missing from tmsu though; like distributed real-time replication over async. HTTP (scales across continents). HTTP API with JSON support. User management and security. All of that within ~4000 lines of code. I built it to have a MMO database that doesn't need manual moving of data for region switching and backup while avoiding the sync. bottleneck of all other databases. Here are two sites that use it: http://talk.binarytask.com http://talk.binarytask.com and http://fuse.rupy.se http://fuse.rupy.se