Add MEGA S4 (and other few questions, please) #6087
Replies: 6 comments 5 replies
-
Here is the specs of Mega S4.. as you can see it doesn't support a LOT of s3 headers and metadata: https://github.com/meganz/s4-specs Would it work with juicefs anyway? |
Beta Was this translation helpful? Give feedback.
-
Are you able to test a juicefs objbench command on it? |
Beta Was this translation helpful? Give feedback.
-
Juicefs mount does not depend on s3 header and metadata. |
Beta Was this translation helpful? Give feedback.
-
![]() |
Beta Was this translation helpful? Give feedback.
-
@zhijian-pro @solracsf It's really really slow. I'm using Mega S4 european server, but I'm in South East Asia. I'll try Backblaze B2. Do you think that the data server must be close? I was looking into JuiceFS for this reason. Because I have the data server in the west, so I experienced too much slowness with rclone etc, and after searching for a solution, I learned the concept of separating metadata from the data (also because Mega S4 didn't support metadata properly as a backend), and then I ended up trying JuiceFS. I tried use redis server locally in docker on my laptop, and I get 15 files for a total of 130mb uploaded in 1m40s, that's too long compared to the upload speed I have (around 80Megabit/s). I also tried to use redis server on an european VPS, but it was unusable, Finder (MacOS File Explorer) would get stuck etc and it was in general really slow. Do you think it's the distance from Europe, or just Mega being slow? I tried the command below with few variations and I also tried using --writeback etc but I felt it was too much of "an illusion" lol, I want to know when files are really finished copying etc. juicefs mount I have around 4 terabytes of data that I need to "backup" in the cloud and then I will use certain part of those data (for example some project dir) to work, or maybe a folder where I save videos or photos from the smartphone (using the S3 Gateway runned on my laptop in local wifi, for example). I don't have a big monthly budget so I was looking into cheap S3 providers. Mega S4 is the cheapest. Then I think Backblaze B2 is the cheapest after Mega. Things like AWS, Google, Azure, are too expensive, I think (I was just scared by looking at them) |
Beta Was this translation helpful? Give feedback.
-
In summary, metadata and object storage are the two main factors that slow down the speed. It is expected that these components be deployed in the nearest area to you to achieve a better experience. If the metadata latency is very high, the experience will be very poor, with almost all latency increasing. If the object storage latency is high, then reading and writing will be slower. If you resolve the metadata latency issue, then the bandwidth of the object storage is the main performance bottleneck. You can make a plan as you wish, and use Additionally, you might try our cloud service products, which may solve your problem. Cloud services have the features of data cross-region replication and mirrored file system. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Add Mega S4 please
Mega doesn't support metadata headers like for example the one used to act as mtime.
So I think it's a perfect use case for JuiceFS: it's cheap (the cheapest), it has good redundancy etc.
But I've read that it doesn't support certain metadata and/or s3 headers stuff, so I think using something like JuiceFS to separate metadata from the data would be useful
Does JuiceFS requires any headers or metadata functionality to work with S3 object storage? Because mega is s3 compatible but has some missing things for example the mtime doesn't get saved (X-Amz-Meta-Mtime this one)
And I think maybe it has also other headers that are not supported (sorry I'm not much knowledgeable about s3 storage)
But the data can be seen/used using something like rclone configured as a s3 compatible remote.. but as I said it doesn't support X-Amz-meta-Mtime so I cannot use rclone (I need to keep the mtime).
Also, I was searching for something that could handle file locks (avoid race conditions), and in general save all the metadata, be faster (rclone metadata cache is not good because it isn't persistent but stays only in RAM, and if I scroll Finder gets stuck because it starts loading all the files etc, also in general I need something fast because I basically want to have Mega S4 acting as a "storage expansion" to my laptops, server and Android smartphones. But so that it can be usable, like without losing edits if two people are editing the same file or things like that.
I just want to be able to trust the storage to act as a real filesystem which I'm used to, without "not knowing" that I will lose this or that property, and without being painfully slow or having race conditions and conflicts etc
And I also need client-side encryption so that I know I will be the only one to see the data
I want it to act as a filesystem , and from what I understood, JuiceFS serves this purpose, right?
Can JuiceFS be a solution for me?
Is Mega S4 already usable?
Also, is there anyway to use JuiceFS on android?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions