github bestarch-ae/cacherpc 0.2.4

latest releases: 0.2.17, 0.2.16, 0.2.15...
pre-release4 years ago

Highlights:

  1. Configurable timeouts were added. Now both request and retry timeouts can configured via command line and config files:
    --request-timeout 60s parameter specifies the request timeout for passthrough requests, gAI and gPA requests and retry timeouts can be configured via configuration file and can be reloaded during runtime.
  2. Optimized cache hits for gAI after owner program is purged from cache, but some of its accounts persist in cache with renewed ttl. Now if account request is made during program lifetime and is served from cache, then account slot info will be updated (if missing) with that of owner program (if exists), thus consequent requests still will be served from cache, even if owner program is purged from cache. Solves https://zubr-exchange.atlassian.net/browse/SOL-94.
  3. Bug-Fix for gPA requests alternating between without | with context. Now if program is present in cache but doesn't have context info, all gPA requests which require context will be forwarded to validator, as to avoid returning context = 0 to client. Solves https://zubr-exchange.atlassian.net/browse/SOL-93

What's Changed

  • Rpc module refactoring by @bobs4462 in #227
  • Added configurable timeouts for requests, and retries by @bobs4462 in #232
  • Fixed slot = 0 case for gPA requests with context by @bobs4462 in #231
  • Improved cache hit probability for accounts after owner sub ends by @bobs4462 in #230
  • chore: version bump to 0.2.4 + readme update by @bobs4462 in #233

Full Changelog: 0.2.3...0.2.4

Don't miss a new cacherpc release

NewReleases is sending notifications on new releases.