Launching Visual Studio...

Updating FS<->Redis state works for me, but live updating may
put the OS dirent cache into a strange state sometimes. Potentially.
Again, use redisfuse for initial DB population and not for editing live
mission-critical, revenue-impacting data.

README.md

redisfuse: Redis-as-FS

Usage

Warning/Disclaimer: This is awesome, but very young, software. It could destroy all your redis data. It can pollute your redis data set with .DS_Store and other OS-specific keys (vim .swp files, .lock files, .tmp files, etc). On startup, it will read a large part of your redis data set to determine sizes of non-string keys. It's recommended you set up an isolated redis instance for redisfuse testing or point it to a read-only instance of production data.

Test hashes

Test directory keys

History

Why does this exist? I wanted to make a site where all templates and data gets stored in redis. This presents a problem of, if everything is stored in redis, how do you make the webpage enabling you to upload stuff and store it in redis?

You could create a file and cat it into a key using redis-cli, but that's not
elegant. Why not edit files in redis directly using your favorite text editor?
So, that's what redisfuse does. We can edit strings and hashes directly in redis using your favorite text editor.

Notable things absent from redisfuse: any sense of file locking, consistency, or knowledge of keyspace changes once the FS is mounted. If you have a redis key open in your editor and someone else writes a different version, you have no way of knowing you are going to obliterate their changes when you save your file. If someone creates a key after your FS is mounted, you can't see the key until you umount and remount redisfuse.

Other than that, it should work fine for most simple bootstrap purposes. I can use dd on it, I can git init, and I can clone git repositories stored entirely in redis. Nifty.