mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 21:20:23 +03:00
optimize startup sequence performance (#19009)
- bucket metadata does not need to look for legacy things anymore if b.Created is non-zero - stagger bucket metadata loads across lots of nodes to avoid the current thundering herd problem. - Remove deadlines for RenameData, RenameFile - these calls should not ever be timed out and should wait until completion or wait for client timeout. Do not choose timeouts for applications during the WRITE phase. - increase R/W buffer size, increase maxMergeMessages to 30
This commit is contained in:
@@ -45,7 +45,7 @@ const (
|
||||
maxBufferSize = 64 << 10
|
||||
|
||||
// If there is a queue, merge up to this many messages.
|
||||
maxMergeMessages = 20
|
||||
maxMergeMessages = 30
|
||||
|
||||
// clientPingInterval will ping the remote handler every 15 seconds.
|
||||
// Clients disconnect when we exceed 2 intervals.
|
||||
|
||||
Reference in New Issue
Block a user