

GitHub - KonstantinSchubert/zero: Local file system transparently swapping to th...
source link: https://github.com/KonstantinSchubert/zero
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Readme.md
Zero
Fuse filesystem backed by backblaze cloud storage and transparent local persistent hard-drive cache.
Ideally, it feels like an infinite local file system because it keeps those files local that are used while moving those files to the remote storage that haven't been accessed in a long time.
State of Development
There are a few known issues and race conditions. For example, the ctime on the files may be newer than the correct value. Do not use in production.
However, the code is a mess and needs to be refactored and cleaned up significantly.
This, in turn, requires better test coverage. Thus, the next step to improve this software is by extending test coverage.
Setup
Create a config.yml:
accountId: [...]
applicationKey: [...]
bucketId: [...]
sqliteFileLocation: [...]
and save in ~/.config/zero/
Here, accountId
, applicationKey
and bucketId
are the corresponding backblaze settings and sqliteFileLocation
is simply the path to a place where the sqlite databases containing the state of the virtual file system can be stored.
Testing
Run the tests with pytest
like this:
py.test
There are 3 categories of tests:
- Unit tests are testing the code on the function level
- Integration tests are testing the interactions between bigger parts of the code and outside APIs. They may use the internet.
- System tests are testing the software as a black box. They should continue working through a big refactor or even if everything was re-written in a different programming language. (There are no system tests yet as of now.)
Recommend
-
81
dtrt-indent - A minor mode that guesses the indentation offset originally used for creating source code files and transparently adjusts the corresponding settings in Emacs, making it more convenient to edit foreign files.
-
58
A maven plugin that allows jar files to be executed transparently (no java -jar ...)
-
49
README.md linuxify Transparently transform the macOS CLI into a fresh GNU/Linux CLI experience by installing missing GNU programs ...
-
70
vpnify - transparently route traffic of a process through VPN - laserbat/vpnify
-
30
Snapchat's new gender-bending filter is a source of endless fun and laughs at parties. The results are very pleasing to look at. As someone who is used to working with machine learning algorithms, it's almost magical how...
-
28
If your MariaDB or MySQL database system is swapping it can have a significant impact on your database query performance! Further it can also slow down your database shutdown and thus influence the whole reboot of your mac...
-
59
README.md
-
75
README.md GoWorld Scalable Distributed Game Server Engine with Hot Reload in Golang
-
6
README This is a mirror of
-
6
Multiple AI models help robots execute complex plans more transparently A multimodal s...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK