Updated Directories and Files (markdown)

Chris Lu 2019-03-30 23:13:17 -07:00
parent 7948b46e86
commit e4bd36f458

@ -76,14 +76,14 @@ For directory renaming, it will be O(N) operations, with N as the number of file
The Filer Store persists all file metadata and directory information.
| Filer Store Name | Lookup | number of entries in a folder | Scalability | TTL | Note |
| ---------------- | -- | -- | -- | -- | -- |
| memory | O(1) | limited by memory | Local, Fast | | for testing only, no persistent storage |
| LevelDB | O(logN)| unlimited | Local, Very Fast | | Default, fairly scalable |
| Redis | O(1) | limited | Local or Distributed, Fastest |Yes| one directory's sub file names are stored in one key~value entry |
| Cassandra | O(logN)| unlimited | Local or Distributed, Very Fast|Yes| |
| MySql | O(logN)| unlimited | Local or Distributed, Fast | | Easy to manage, export |
| Postgres | O(logN)| unlimited | Local or Distributed, Fast | | Easy to manage, export |
| Filer Store Name | Lookup | number of entries in a folder | Scalability | Renaming | TTL | Note |
| ---------------- | -- | -- | -- | -- | -- | -- |
| memory | O(1) | limited by memory | Local, Fast | | | for testing only, no persistent storage |
| LevelDB | O(logN)| unlimited | Local, Very Fast | | | Default, fairly scalable |
| Redis | O(1) | limited | Local or Distributed, Fastest ||Yes| one directory's sub file names are stored in one key~value entry |
| Cassandra | O(logN)| unlimited | Local or Distributed, Very Fast||Yes| |
| MySql | O(logN)| unlimited | Local or Distributed, Fast |Atomic| | Easy to manage, export |
| Postgres | O(logN)| unlimited | Local or Distributed, Fast |Atomic| | Easy to manage, export |
#### Switching between different Stores
It is easy to switch between different filer stores (except memory store).