From 888ac4a7981ee7777f634994e90788896cfd13cd Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 17 Jun 2018 17:32:50 -0700 Subject: [PATCH] describe file reads --- Directories-and-Files.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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