From 8d9a77c9b7e90723a2eedb4a35992d2159fc5bd3 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 5 Jan 2015 23:16:59 -0800 Subject: [PATCH] Adjust documents for distributed filer metadata store. --- docs/distributed_filer.rst | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/distributed_filer.rst b/docs/distributed_filer.rst index 278347481..29055c73e 100644 --- a/docs/distributed_filer.rst +++ b/docs/distributed_filer.rst @@ -44,7 +44,7 @@ To start a weed filer in distributed mode: # assuming you already started weed master and weed volume 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 @@ -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 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 ################### @@ -83,14 +87,15 @@ take longer than the Cassandra internal lookup. 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. - -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. +Clients can assess one "weed filer" via HTTP, create files via HTTP POST, +read files via HTTP POST directly. 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 ########################