erigon-pulse/common/dbutils
Alex Sharov f00f4b5dff
KV: Tx objects pool (#637)
* Lmdb internal objects reuse (built-in feature of lmdb):
- lmdb read transactions pool
- lmdb also support cursors reuse, but not implemented in this PR

And kv abstraction objects reuse:
- lmdbKV pool of all tx objects
- boltKV pool of all tx objects
- badgerKV pool of all tx objects

* switch makefile back to bolt

* switch makefile back to bolt

* lmdb test run

* switch makefile back to bolt

* cursors pool

* run lmdb tests

* make kv objects pool global

* switch makefile back to bolt

* remove badgers GOMAXPROC setup, because our app tunned for sequential read/writes, not for random throughput

* simplify code
2020-06-08 11:53:03 +01:00
..
bucket.go KV: Tx objects pool (#637) 2020-06-08 11:53:03 +01:00
composite_keys_test.go Staged Sync: Execution phase should use "plain state" (#548) 2020-05-15 08:52:45 +01:00
composite_keys.go Misc GC optimisations (#619) 2020-06-04 19:30:28 +01:00
helper.go Mgr schedule iterator (#566) 2020-05-28 12:33:05 +01:00
history_index_test.go Index bits to mark creation of accounts or storage items (#483) 2020-04-25 15:50:32 +01:00
history_index.go Plain state index (#595) 2020-05-31 07:57:47 +01:00
suffix_type.go geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00