minio/internal/dsync
Harshavardhana ffd497673f
internode lockArgs should use messagepack (#13329)
it would seem like using `bufio.Scan()` is very
slow for heavy concurrent I/O, ie. when r.Body
is slow , instead use a proper
binary exchange format, to marshal and unmarshal
the LockArgs datastructure in a cleaner way.

this PR increases performance of the locking
sub-system for tiny repeated read lock requests
on same object.

```
BenchmarkLockArgs
BenchmarkLockArgs-4              6417609               185.7 ns/op            56 B/op          2 allocs/op
BenchmarkLockArgsOld
BenchmarkLockArgsOld-4           1187368              1015 ns/op            4096 B/op          1 allocs/op
```
2021-09-30 11:53:01 -07:00
..
.gitignore rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
drwmutex_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
drwmutex.go internode lockArgs should use messagepack (#13329) 2021-09-30 11:53:01 -07:00
dsync_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
dsync-server_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
dsync.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
lock-args_gen_test.go internode lockArgs should use messagepack (#13329) 2021-09-30 11:53:01 -07:00
lock-args_gen.go internode lockArgs should use messagepack (#13329) 2021-09-30 11:53:01 -07:00
lock-args.go internode lockArgs should use messagepack (#13329) 2021-09-30 11:53:01 -07:00
rpc-client-impl_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
rpc-client-interface.go internode lockArgs should use messagepack (#13329) 2021-09-30 11:53:01 -07:00