Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/ryanhendricks/chain-indexer-thread-pool

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ryanhendricks/chain-indexer-thread-pool

  • v0.0.0-20201014180732-26dab60b4c91
  • Source
  • Go
  • Socket score

Version published
Created
Source

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

FAQs

Package last updated on 14 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc