erigon-pulse/ethdb
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
..
abstractbench Run tests on lmdb and badger (#624) 2020-06-05 10:25:33 +01:00
codecpool Use local db in analytics (#308) 2020-01-15 19:47:13 +07:00
dbtest geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00
remote Run tests on lmdb and badger (#624) 2020-06-05 10:25:33 +01:00
typedbucket Use local db in analytics (#308) 2020-01-15 19:47:13 +07:00
AbstractKV.md [wip] Lmdb: AbstractKV and DB interfaces (#589) 2020-05-30 09:12:21 +01:00
badger_db.go KV: Tx objects pool (#637) 2020-06-08 11:53:03 +01:00
bolt_db.go Run tests on lmdb and badger (#624) 2020-06-05 10:25:33 +01:00
boltdb_test.go [THIN_HISTORY] Decouple changesets and history from ethdb.Database (mutation/bolt_db/badger_db) (#432) 2020-04-09 18:23:29 +01:00
database_test.go Lmdb and Badger tests (#630) 2020-06-06 11:29:11 +01:00
history.go Fix RestAPI for tx_retrace and make it work for local boltdb (#584) 2020-05-27 17:24:34 +01:00
id.go Restore Ethash mining (#231) 2019-12-10 16:12:21 +03:00
interface.go Run tests on lmdb and badger (#624) 2020-06-05 10:25:33 +01:00
iterator.go geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00
kv_abstract_test.go implement cursor put (#617) 2020-06-04 12:19:59 +01:00
kv_abstract.go implement cursor put (#617) 2020-06-04 12:19:59 +01:00
kv_badger.go KV: Tx objects pool (#637) 2020-06-08 11:53:03 +01:00
kv_bolt.go KV: Tx objects pool (#637) 2020-06-08 11:53:03 +01:00
kv_lmdb.go KV: Tx objects pool (#637) 2020-06-08 11:53:03 +01:00
kv_remote.go KV: Tx objects pool (#637) 2020-06-08 11:53:03 +01:00
memory_database.go Run tests on lmdb and badger (#624) 2020-06-05 10:25:33 +01:00
mutation_puts.go [wip] Lmdb: AbstractKV and DB interfaces (#589) 2020-05-30 09:12:21 +01:00
mutation.go Run tests on lmdb and badger (#624) 2020-06-05 10:25:33 +01:00
object_db.go KV: Tx objects pool (#637) 2020-06-08 11:53:03 +01:00
remote_bolt_db.go [Breaking change in db!] UI for Buckets stat (#607) 2020-06-04 16:35:42 +07:00
rewind.go "Unwind" for the execution phase when plain state is selected (#571) 2020-05-25 12:11:56 +01:00
walk.go [wip] Lmdb: AbstractKV and DB interfaces (#589) 2020-05-30 09:12:21 +01:00