peerplays-network / peerplays

The Peerplays Blockchain
https://www.peerplays.com
MIT License
34 stars 18 forks source link

ElasticSearch Plugin to support for Peerplays #161

Closed bobinson closed 4 years ago

bobinson commented 4 years ago

ElasticSearch Plugin to support various dApps, API end points, REST APIs, demux etc.

User Story

The Elastic Search plugin can help Peerplays to scale easily at the same time providing easy to access, familiar end point to end users.

Impacts

Additional Context (optional) REST API can be made easily available with Elastic Search Plugin

Community / PBSA check list

gladcow commented 4 years ago

ElasticSearch plugin tracks operations and allows witnesses to use less RAM. To track specific objects (proposals, accounts, Peerplays-specific objects) es-objects plugin is used.

Related Bitshares pull requests to backport:

  1. ElasticSearch plugin: https://github.com/bitshares/bitshares-core/pull/444 https://github.com/bitshares/bitshares-core/pull/873 https://github.com/bitshares/bitshares-core/pull/1201 https://github.com/bitshares/bitshares-core/pull/1458 https://github.com/bitshares/bitshares-core/pull/1693/commits/376f0317d66f70e0daa3a5c9e29d17544bcdb583 https://github.com/bitshares/bitshares-core/pull/1725

  2. ES-objects plugin: https://github.com/bitshares/bitshares-core/pull/500 https://github.com/bitshares/bitshares-core/pull/1271 https://github.com/bitshares/bitshares-core/pull/1429 https://github.com/bitshares/bitshares-core/pull/1541 https://github.com/bitshares/bitshares-core/pull/1717

gladcow commented 4 years ago

ElasticSearch 7.5.0 (the latest version at the moment) is working with BitShares plugin, as far as I can see. Version 7.4 was tested by BitShares: https://github.com/bitshares/bitshares-core/wiki/ElasticSearch-Plugin#installation . I think we can use the latest version of the ElasticSearch.

gladcow commented 4 years ago

Peerplays-specific objects to add to es-objects plugin indecies: betting markets, bets operations, sports, tournaments, games operations, btc operations.

pbattu123 commented 4 years ago

Elasticsearch plugin introduced into peerplays and it is available from release @1.4.3