-
Some part of the flow that I’m building might need to have multiple processes mount the same volume to different mountpoints on the same machine as /tmp/run_dir.pid. I’m wondering how much underneath (JuiceFS+FUSE+Redis:metadata) flow difference (and performance degradation) between the following two scenarios. Thanks!
I guess, a somewhat related question is, does JuiceFS deploy high or low level FUSE APIs? I’m wondering if JuiceFS deploys high level FUSE APIs, “Scenario #2” could use caching outside of JuiceFS flow (e.g. hardware caching). If any of my elaboration is incorrect, please advise. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
JuiceFS is implemented using low level FUSE API. Each JuiceFS process introduce some overhead, so we'd suggest you to go with #1 to share the same mount point to different applications (processes). If the application process need some isolation, then can still use different directories in JuiceFS. |
Beta Was this translation helpful? Give feedback.
JuiceFS is implemented using low level FUSE API.
Each JuiceFS process introduce some overhead, so we'd suggest you to go with #1 to share the same mount point to different applications (processes). If the application process need some isolation, then can still use different directories in JuiceFS.