frostfs-node/pkg/local_object_storage/pilorama
Evgenii Stratonikov fa57a8be44 [#1431] pilorama: Use Batch for write transactions
Helps a lot in case of concurrent request flow.

```
name                      old time/op    new time/op    delta
ApplySequential/bbolt-8     78.0µs ± 9%    59.8µs ± 4%  -23.39%  (p=0.000 n=10+9)
ApplyReorderLast/bbolt-8     143µs ± 5%     113µs ±15%  -21.06%  (p=0.000 n=10+10)

name                      old alloc/op   new alloc/op   delta
ApplySequential/bbolt-8     56.9kB ± 8%    28.9kB ± 3%  -49.22%  (p=0.000 n=10+10)
ApplyReorderLast/bbolt-8    87.3kB ± 3%    40.9kB ±10%  -53.16%  (p=0.000 n=10+10)

name                      old allocs/op  new allocs/op  delta
ApplySequential/bbolt-8        224 ±11%       262 ± 5%  +16.93%  (p=0.000 n=9+10)
ApplyReorderLast/bbolt-8       518 ± 4%       674 ±11%  +30.09%  (p=0.000 n=10+10)
```

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-07-08 13:18:55 +03:00
..
boltdb.go [#1431] pilorama: Use Batch for write transactions 2022-07-08 13:18:55 +03:00
forest.go [#1431] pilorama: Cache attributes in the index 2022-07-08 13:18:23 +03:00
forest_test.go [#1431] pilorama: Use Batch for write transactions 2022-07-08 13:18:55 +03:00
inmemory.go [#1419] pilorama: Create new nodes in path if needed 2022-07-08 13:16:16 +03:00
interface.go [#1329] services/tree: Implement GetOpLog RPC 2022-07-08 13:17:22 +03:00
meta.go [#1324] local_object_storage: Implement tree service backend 2022-07-08 12:47:40 +03:00
meta_test.go [#1324] local_object_storage: Implement tree service backend 2022-07-08 12:47:40 +03:00
types.go [#1431] pilorama: Cache attributes in the index 2022-07-08 13:18:23 +03:00