It’s History Time with Attic Lab

Attic Lab
Attic Lab
Feb 13 · 2 min read

Maintaining Full History API nodes has become a burdensome and expensive task for any BP who has committed to doing so. However, their disappearance would seriously complicate things for dApp developers as this is the only way to efficiently query blockchain data. Attic Lab have been following the situation closely while also working on our own solution that would be scalable, efficient and cheap. So today, after 2 months of work we are happy to present our open-source Full EOS History API running on Elasticsearch cluster.

When designing a full history solution, our main goal was to keep the cost of building and maintaining the cluster at a reasonable level. Therefore, we preferred using several items of commodity level hardware over a single item of a top-notch gear. Applying such an approach gives us more scalability and higher speed of parallel processing.

Out current setup is: 7 servers, ~10Tb of disk space, 448Gb of RAM, 3 shards per rollover index, and replicas=1.

We have built and synchronized the elasticsearch cluster and developed API in Go for interaction with it. The API supports native requests as well.

https://github.com/atticlab/eos-es-historyapi

https://github.com/EOSLaoMao/elasticsearch_plugin

Although GO API is in the beta-testing stage now, we are already working with real requests. During the benchmark testing the cluster was able to seamlessly handle 2500 req/sec at the peak of activity.

As of now there are two main areas that we plan to work on:

First of all, we are focusing on increasing the processing speed by means of optimizing traffic and caching requests. Secondly, a lot of work is done on expanding the cluster itself and increasing its fault-tolerance.

https://eosbp.atticlab.net/v1/chain/get_info

Besides, we have already started development of our own solution, . More information on the progress will be released a little later, so stay tuned!

We would like to thank the guys from https://eoslaomao.com/ and from https://blockmatrix.network/ for their support and suggestions. This achievement wouldn’t have been possible without them.

Follow us!

Twitter: https://twitter.com/atticlab_it
Reddit: https://www.reddit.com/user/atticlab_it
Website: http://atticlab.net/eos/
Facebook: https://www.facebook.com/atticlab/
Steemit: https://steemit.com/eos/@attic-lab
Medium: https://medium.com/eosatticlab
Golos: https://golos.io/@atticlab
Telegram Chat: https://t.me/atticlabeosb

Attic Lab

Attic Lab - EOS Block Producer, that develops the best solutions for EOS ecosystem!

Attic Lab

Written by

Attic Lab

Attic Lab

Attic Lab

Attic Lab - EOS Block Producer, that develops the best solutions for EOS ecosystem!