2023 12 03


Tags: fuse python
Reading time: less than 1 minute

FUSE filesystem in Python

In order to take advantage of powerful queries, and existing backup systems, I moved some data from the filesystem to a database. This works well, but it’s just too convenient to have everything in the filesystem.

So I wrote my first FUSE filesystem in Python. I used the python-fuse library which is an easy-to-use wrapper around the C library. It’s probably okay to use since it’s from the same people who wrote the C library.

Where does the data live? In my ClickHouse database, of course. It gets a tiny bit laggy, I should probably do a local cache. But then you have to worry about getting stale data if someone else modifies the database.

Citation

If you find this work useful, please cite it as:
@article{yaltirakli,
  title   = "2023 12 03",
  author  = "Yaltirakli, Gokberk",
  journal = "gkbrk.com",
  year    = "2024",
  url     = "https://www.gkbrk.com/journal/2023-12-03"
}
Not using BibTeX? Click here for more citation styles.
IEEE Citation
Gokberk Yaltirakli, "2023 12 03", November, 2024. [Online]. Available: https://www.gkbrk.com/journal/2023-12-03. [Accessed Nov. 12, 2024].
APA Style
Yaltirakli, G. (2024, November 12). 2023 12 03. https://www.gkbrk.com/journal/2023-12-03
Bluebook Style
Gokberk Yaltirakli, 2023 12 03, GKBRK.COM (Nov. 12, 2024), https://www.gkbrk.com/journal/2023-12-03

Comments

© 2024 Gokberk Yaltirakli