frostfs-node/pkg/local_object_storage/pilorama
Evgenii Stratonikov 3312924b82 [] 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-21 15:08:24 +03:00
..
boltdb.go [] pilorama: Use Batch for write transactions 2022-07-21 15:08:24 +03:00
forest.go [] pilorama: Cache attributes in the index 2022-07-21 15:08:24 +03:00
forest_test.go [] pilorama: Use Batch for write transactions 2022-07-21 15:08:24 +03:00
inmemory.go [] pilorama: Create new nodes in path if needed 2022-07-21 15:08:24 +03:00
interface.go [] services/tree: Implement GetOpLog RPC 2022-07-21 15:08:24 +03:00
meta.go [] local_object_storage: Implement tree service backend 2022-07-21 15:08:24 +03:00
meta_test.go [] local_object_storage: Implement tree service backend 2022-07-21 15:08:24 +03:00
types.go [] pilorama: Cache attributes in the index 2022-07-21 15:08:24 +03:00