Skip to content

Commit

Permalink
docs: Update wording (#5253)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaitinChen authored Oct 25, 2024
1 parent 3426d8d commit 54dad73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/introduction/comparison/juicefs_vs_seaweedfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ In terms of data access, SeaweedFS implements a similar approach to Haystack. A
Data write and read process in SeaweedFS:

1. Before a write operation, the client initiates a write request to the master server.
2. SeaweedFS returns a File ID (composed of Volume ID and offset) based on the current data volume. During the writing process, basic metadata information such as file length and chunk details is also written together with the data.
2. SeaweedFS returns a File ID based on the current data volume. This ID is composed of three parts: \<volume id, file key, file cookie\>. During the writing process, basic metadata information such as file length and chunk details is also written together with the data.
3. After the write is completed, the caller needs to associate the file with the returned File ID and store this mapping in an external system such as MySQL.
4. During a read operation, since the File ID already contains all the necessary information to compute the file's location (offset), the file content can be efficiently retrieved.
4. When reading data, since the volume index is already loaded in memory, the system can use the File ID to quickly retrieve all necessary information about the file's location (offset). This enables efficient file reading.

On top of the underlying storage services, SeaweedFS offers a component called filer, which interfaces with the volume server and the master server. It provides features like POSIX support, WebDAV, and the S3 API. Like JuiceFS, the filer needs to connect to an external database to store metadata information.

Expand Down

0 comments on commit 54dad73

Please sign in to comment.