diff --git a/Directories-and-Files.md b/Directories-and-Files.md index 1890223..f6f318f 100644 --- a/Directories-and-Files.md +++ b/Directories-and-Files.md @@ -57,12 +57,15 @@ We can take the following steps to map a full file path to the actual data block #### Architecture For file reads: +1. Filer lookup metadata from Filer Store, which can be Cassandra/Mysql/Postgres/Redis/LevelDB. +2. Filer lookup the volume id locations if not in the cache. +3. Filer read from volume servers and pass along to the read request. ![](FilerRead.png) For writes: 1. Client stream files to Filer 2. Filer uploads data to Weed Volume Servers, and break the large files into chunks. -3. Filer writes the metadata and chunk information into Filer database. +3. Filer writes the metadata and chunk information into Filer store. ## Filer Store