fsnotify
gcsfuse
Our great sponsors
fsnotify | gcsfuse | |
---|---|---|
23 | 31 | |
7,047 | 1,977 | |
- | 1.6% | |
6.8 | 9.7 | |
almost 2 years ago | 4 days ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
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.
fsnotify
-
GitHub - no-src/gofs: A cross-platform real-time file synchronization tool out of the box based on Golang
Like monitored_rsync, gofs use the fsnotify module to monitor file changes, and use inotify under linux.
-
How to detect new files or moved files
https://github.com/fsnotify/fsnotify (may not be supported in unraid with the overlay fs)
-
fanotify in x/sys/unix and file_handle structure in C
You may want to check out https://github.com/fsnotify/fsnotify and see how they handle it.
-
Hello everyone, I created an Emacs-independent (doesn't require Emacs to be running) agenda notification app. I tested it under Doom Emacs and vanilla Emacs, and it worked fine, please try it and report any possible issues at GitHub. Thanks!
i don't use org-agenda but i was looking at you code and you may want to use fsnotify instead of a timer that may use more CPU than it should:
-
Running command when file is written to drive
I think you can try fsnotify altrough you will need Go do build the cmd part. Once built you can attach it folder and pipe output to other command.
-
fsnotify has been archived
See https://github.com/fsnotify/fsnotify/issues/413
-
GoNetNinja: Days 1 and 2
https://github.com/gobuffalo/buffalo/issues/510 https://github.com/fsnotify/fsnotify/issues/152
- Fsnotify - Cross-platform file system notifications for Go.
-
When to run arbitrary/shell commands in go program.
Why not one of the native Go file watching libs (e.g. fsnotify/notify/etc)? In general you're much more likely to get better control over behaviour from native code than from shelling out.
gcsfuse
-
Gcsfuse: A user-space file system for interacting with Google Cloud Storage
It uses FUSE and there's three types of Kernel cache you could use with FUSE (although, it seems like gcsfuse is exposing only one):
1. Cache of file attributes in the Kernel (this is controlled by "stat-cache-ttl" value - https://github.com/GoogleCloudPlatform/gcsfuse/blob/7dc5c7ff...)
-
Does Cloud file store have life cycle management feature ?
You're looking at Filestore because your software can only write to a mounted file system? If so, you could mount a Google Cloud Storage bucket with Fuse. I haven't used Fuse myself in production, but it may be worth trying out for your workload.
-
Google Cloud Storage FUSE
Is this the same gcsfuse that's been around for years, only now with official Google support?
https://github.com/GoogleCloudPlatform/gcsfuse
- Suggestions on data transfer between VM instances
-
RANT: MICROSOFT'S INABILITY TO SUPPORT THEIR OWN HARDWARE IS GOING TO KILL ME
I'm pretty sure the storage for a stopped VM vs a disk image will be the same. Cheaper if you can store your data in GCS bucket? Take a look at GCS-Fuse to mount storage buckets into a VM.
-
Ongoing Incident in Google Cloud
Currently being tracked here: https://github.com/GoogleCloudPlatform/gcsfuse/issues/961
What are some alternatives?
juicefs - JuiceFS is a distributed POSIX file system built on top of Redis and S3.
google-drive-ocamlfuse - FUSE filesystem over Google Drive
reflex - Run a command when files change
goofys - a high-performance, POSIX-ish Amazon S3 file system written in Go
notify - File system event notification library on steroids.
afero - A FileSystem Abstraction System for Go
go-systemd - Go bindings to systemd socket activation, journal, D-Bus, and unit files
modd - A flexible developer tool that runs processes and responds to filesystem changes
csi-gcs - Kubernetes CSI driver for Google Cloud Storage