mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Data Structure for Large Files (markdown)
parent
b9df2c0361
commit
4b58edc827
|
@ -24,6 +24,11 @@ SeaweedFS adds a manifest chunk to hold 1000 pieces of chunk info. This manifest
|
|||
|
||||
For example, one super large file with 1000 manifest chunks is still 400KB in meta data in the key value store, but it can address a file of 8MB * 1000 * 1000 = 8TB in size.
|
||||
|
||||
This manifest chunk can also be easily implemented recursively, which can leads to even larger file size limit. But given the size limit is already very high and is beyond most common use cases, we will add the recursion later when really necessary.
|
||||
|
||||
The 8TB for one file is not a real limit, but only used for this discussion. However, if you have the need for files more than 8TB, please prepare some consulting fee and we will help you. :) Or you probably should already split the large files into smaller files.
|
||||
|
||||
## Note
|
||||
|
||||
This manifest chunk can also be easily implemented recursively, which can leads to even larger file size limit. But there are a few reasons of not going there:
|
||||
|
||||
* The recursion leads to multi-level of indirection, and make the access time unpredictable. SeaweedFS tries to minimize this as much as possible.
|
||||
* The size limit is already very high. It is way beyond what most common use cases would ever need. We will add the recursion later when really necessary.
|
||||
|
|
Loading…
Reference in a new issue