github bestarch-ae/cacherpc 0.2.12

latest releases: 0.2.17, 0.2.16, 0.2.15...
4 years ago

Highlights

  1. Added new command for forcing re-connection of websockets. The command for re-connection has three modes, namely:
    • cache-rpc force-reconnect init <delay sec> <interval sec> - will initiate re-connection, starting after delay seconds, and performing 1 re-connection every interval seconds
    • cache-rpc force-reconnect status - get status of reconnection, i.e. whether it's running, number of re-connection done/remaining
    • cache-rpc force-reconnect abort - stop re-connection process, reports how many have been performed and how many remain
  2. Added 2 metrics to indicate re-connection progress: forced_reconnections_remaining - number of re-connection to perform yet, forced_reconnections_finished - number of re-connections already performed
  3. Made wide-filter based program accounts prefetching (#243) to be an optional feature, now by default cache-rpc will start with this feature disabled, while superset based request serving will still be enabled without an option to turn it off
  4. Added new command for turning on the feature for wide-filter based getProgramAccounts requests, which has 3 modes of operation:
    • cache-rpc wide-filters on - turns the account prefetching for given program with wider filter
    • cache-rpc wide-filters off - turns the above feature off
    • cache-rpc wide-filters status - shows the current status of the feature
  5. Added new metric for counting the number of self initiated getProgramAccounts requests - self_initiated_gpa

What's Changed

  • Implemented support for additional ws-reconnection command by @bobs4462 in #245
  • Made wide filters based gpa requests optional by @bobs4462 in #246

Full Changelog: 0.2.11...0.2.12

Don't miss a new cacherpc release

NewReleases is sending notifications on new releases.