planetarium / libplanet-explorer

Libplanet Explorer now belongs to the Libplanet monorepo. This repository remains read-only as historical archive.
https://github.com/planetarium/libplanet/tree/main/Libplanet.Explorer
10 stars 20 forks source link

feat(rich-store): support MySQLRichStore #140

Closed moreal closed 3 years ago

moreal commented 3 years ago

In short ways, it provides a new IRichStore implementation, MySQLRichStore.

Currently, IRichStore requires the order function for desc option. And I tried to use ColumnFamily of RocksDB to acheive the requirements but it has an issue to be too slow when the number of column families became bigger than some point. So I thought what database can provide the order feature and can operate stablely. I knew MySQL provides the feature and I had the full trust for that it can operate stablely. I thought also it will provide expandability and opened this pull request.

moreal commented 3 years ago

I added new commit 9ad1282 to avoid already-in-use connection problem.