mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Optimization (markdown)
parent
0dab943efe
commit
85b3420108
|
@ -136,6 +136,14 @@ Actually, the actual data files have the collection name as the prefix, e.g., "p
|
|||
|
||||
If you need to delete them later see https://github.com/seaweedfs/seaweedfs/wiki/Master-Server-API#delete-collection
|
||||
|
||||
## Optimized when the network is unstable
|
||||
|
||||
By default, if there is a slow read request caused by network problems, this request will block other requests, such as writing.
|
||||
|
||||
Set `volume.hasSlowRead` to true,this prevents slow reads from blocking other requests,but large file read P99 latency will increase.
|
||||
|
||||
Increasing `volume.readBufferSize` (for example, set to `filer.maxMB` size) can make read requests require fewer locks , which can fix the P99 latency problem caused by `volume.hasSlowRead`
|
||||
|
||||
## Logging
|
||||
|
||||
When going to production, you will want to collect the logs. SeaweedFS uses glog. Here are some examples:
|
||||
|
|
Loading…
Reference in a new issue