chain-indexer-thread-pool

command module
v0.0.0-...-26dab60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

README

Chain Indexer Thread Pool

This project is an experiment in high performance blockchain indexing.

Current Results

Indexing 970,000 blocks from local node into local DB

  • total time: 2m24.509831517s
  • blocks per second: 6718.227656343288

Note: these results were obtained on a machine with

  • 18cores/36threads
  • 32GB RAM
  • M.2 NVME

Additional performance tuning is required for Postgres and these commands are included in the docker-compose.yml file

Getting Started

Create a config file and adjust parameters as needed cp config-example.toml config.toml

Run

go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL