enable small and large file optimization (#11260)

- for large objects we found that 1MiB block for
  r/w respectively.
- for small objects we found that 128KiB block for
  r/w respectively.
This commit is contained in:
Harshavardhana
2021-01-12 10:20:39 -08:00
committed by GitHub
parent e2579b1f5a
commit 1a5775e2e8
5 changed files with 50 additions and 35 deletions

4
go.mod
View File

@@ -66,7 +66,6 @@ require (
github.com/pierrec/lz4 v2.5.2+incompatible
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.8.0
github.com/quasilyte/go-ruleguard v0.2.1 // indirect
github.com/rjeczalik/notify v0.9.2
github.com/rs/cors v1.7.0
github.com/secure-io/sio-go v0.3.0
@@ -75,8 +74,7 @@ require (
github.com/streadway/amqp v1.0.0
github.com/tidwall/gjson v1.3.5
github.com/tidwall/sjson v1.0.4
github.com/tinylib/msgp v1.1.3
github.com/ttacon/chalk v0.0.0-20160626202418-22c06c80ed31 // indirect
github.com/tinylib/msgp v1.1.5
github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a
github.com/willf/bitset v1.1.11 // indirect
github.com/willf/bloom v2.0.3+incompatible