describe file reads

Chris Lu 2018-06-17 17:32:50 -07:00
parent d108605dea
commit 888ac4a798

@ -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