mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Super Large Directories (markdown)
parent
98ca3bd6ad
commit
4deb66fd0e
|
@ -1,6 +1,6 @@
|
||||||
# Why need a super large directory?
|
# Why need a super large directory?
|
||||||
|
|
||||||
This is actually a common case. For example, entity ids, such as user name, id, IP address, URLs, or UUID can be used as sub directory names. And under the sub directory, more unstructured data can be colocated together, such as user avatar, access logs, URL text, images, audio, video, etc.
|
This is actually a common case. For example, entity ids, such as user name, id, IP address, URLs, or UUID can be used as sub directory names. And under the sub directory, more unstructured data can be colocated together, such as user avatar, uploaded files, access logs, URL text, images, audio, video, etc.
|
||||||
|
|
||||||
If using a separate lookup to translate the entity id to file id, and use file id to access data, this would give up all the convenience from a file system.
|
If using a separate lookup to translate the entity id to file id, and use file id to access data, this would give up all the convenience from a file system.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue