Adjust documents for distributed filer metadata store.

This commit is contained in:
Chris Lu 2015-01-05 23:16:59 -08:00
parent 44f53cba1d
commit 8d9a77c9b7

View file

@ -44,7 +44,7 @@ To start a weed filer in distributed mode:
# assuming you already started weed master and weed volume # assuming you already started weed master and weed volume
weed filer -cassandra.server=localhost weed filer -cassandra.server=localhost
Now you can add/delete files, and even browse the sub directories and files Now you can add/delete files
.. code-block:: bash .. code-block:: bash
@ -73,6 +73,10 @@ A flat namespace would take more space because the parent directories are
repeatedly stored. But disk space is a lesser concern especially for repeatedly stored. But disk space is a lesser concern especially for
distributed systems. distributed systems.
The Cassandra table is a simple file_full_path ~ file_id mapping. Actually
it is a file_full_path ~ list_of_file_ids mapping with the hope to support
easy file appending for streaming files.
Complexity Complexity
################### ###################
@ -83,14 +87,15 @@ take longer than the Cassandra internal lookup.
Use Cases Use Cases
######################### #########################
Clients can assess one "weed filer" via HTTP, list files under a directory, create files via HTTP POST, read files via HTTP POST directly. Clients can assess one "weed filer" via HTTP, create files via HTTP POST,
read files via HTTP POST directly.
Although one "weed filer" can only sits in one machine, you can start multiple "weed filer" on several machines, each "weed filer" instance running in its own collection, having its own namespace, but sharing the same Seaweed-FS storage.
Future Future
################### ###################
The Cassandra implementation can be switched to other distributed hash table. SeaweedFS can support additional distributed databases. It will be better
if that database can support prefix search, in order to list files
under a directory.
Helps Wanted Helps Wanted
######################## ########################