github bestarch-ae/cacherpc 0.1.37

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

Highlights:

  1. WAF rules are now applied to batch requests as well. Every single requests in batch will be subjected to evaluation before further processing can be performed, and in case if one of the requests fail to satisfy checks, entire batch request will be rejected.
  2. Subscriptions deduplication has been improved. Now before creating a new subscription for account, cacher first checks whether there's already exists a subscription for that account's owner (given one is present). Also when creating a subscription for a program, we unsubscribe from all of it's child accounts, if separate subscriptions exist for them.
  3. New metric was added subscriptions_skipped for counting the number of skipped subscriptions, because of improved subscriptions tracking feature.
  4. New metric was added streaming_errors for counting the number of connection drops or other error which occur in the middle of streaming the response from validator to client.
  5. Control interface was implemented in order to make changes to dynamic settings a bit more convenient. Right now control interface supports 4 commands:
    • cacherpc config-reload - forces running instance of cacherpc to reload its configuration file
    • cacherpc subscriptions on - allows running instance of cacherpc to create new websocket subscriptions
    • cacherpc subscriptions off - prevent running instance of cacherpc from creating any new websocket subscriptions
    • cacherpc subscriptions status - get current status of whether subscriptions are on or off
      If command succeeds, it returns exits with code 0, code 1 is returned otherwise, along with description of what has gone wrong

What's Changed

  • Added WAF support for batch requests by @bobs4462 in #199
  • chore: commited Cargo.lock by @bobs4462 in #200
  • Added logic to deduplicate subscriptions by @bobs4462 in #185
  • feat: count streaming errors by @polachok in #201
  • Implemented control interface to issue commands to running instance by @bobs4462 in #198
  • chore(ci): add all-targets/all-features for clippy by @polachok in #203
  • chore: bump version to 0.1.37 by @bobs4462 in #202

Full Changelog: 0.1.36...0.1.37

Don't miss a new cacherpc release

NewReleases is sending notifications on new releases.