咋样解决磁盘碎片的问题呢?

38 views
Skip to first unread message

乌鸦树人

unread,
Jul 23, 2020, 5:38:13 AM7/23/20
to Seaweed File System
我们有个需求,经常会删除或者过期,这样就会产生大量的碎片,这个在Seaweed 有那些优化点呢?

Chris Lu

unread,
Jul 23, 2020, 1:29:32 PM7/23/20
to Seaweed File System
In SeaweedFS, the deletion, together with updates and insertion, are appended to the end of the dat file, and are compacted periodically. So there are no fragmentations.

You can also use the TTL feature, which compacts faster.

On Thu, Jul 23, 2020 at 2:38 AM 乌鸦树人 <air...@gmail.com> wrote:
我们有个需求,经常会删除或者过期,这样就会产生大量的碎片,这个在Seaweed 有那些优化点呢?

--
You received this message because you are subscribed to the Google Groups "Seaweed File System" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seaweedfs+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/seaweedfs/0c33cba7-dd67-4ee0-8aab-de95b16deceao%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages