mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Directories and Files (markdown)
parent
ab2db88872
commit
057f3c8b94
|
@ -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 | 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 | one directory's sub file names are stored in one key~value entry |
|
||||
| Cassandra | O(logN)| unlimited | Local or Distributed, Very Fast| |
|
||||
| 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 | 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 |
|
||||
|
||||
#### Switching between different Stores
|
||||
It is easy to switch between different filer stores (except memory store).
|
||||
|
|
Loading…
Reference in a new issue