9bfb3357f2
Most of the time we don't need locking on the higher-level stores and we drop them after Persist, so that's what private MemCachedStore is for. It doesn't improve things in any noticeable way, some ~1% can be observed in neo-bench under various loads and even less than that in chain processing. But it seems to be a bit better anyway (less allocations, less locks). |
||
---|---|---|
.. | ||
boltdb_store.go | ||
boltdb_store_test.go | ||
leveldb_store.go | ||
leveldb_store_test.go | ||
memcached_store.go | ||
memcached_store_test.go | ||
memory_store.go | ||
memory_store_test.go | ||
store.go | ||
store_config.go | ||
store_test.go | ||
storeandbatch_test.go |