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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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