Meeseeker Handling JSON-RPC Batch - 0.0.9

avatar
(Edited)

I added the ability for meeseeker to degrade gracefully if the node does not support json-rpc-batch. This is determined by an error response code 413 (Request Entity Too Large), which will cause meeseeker to retry the original request, but with a maximum request size of 1, instead of the default of 50 defined by steem-ruby.

This should allow meeseeker to work with more nodes, or even a private node, that is not configured with jussi as a reverse proxy.

Typically, meeseeker doesn't need to use json-rpc-batch under normal circumstances. Usually, batched requests would be a solution for when meeseeker falls behind on blocks. But as long as it doesn't fall too far behind, avoiding batched requests shouldn't impact performance.

What Changed ...

There's only one commit for 0.0.9.

Degrade gracefully if the node doesn't support json-rpc-batch a62c98e

This adds a fallback handler that sets the number of requests in a batch to one.


To update your gem:

gem update meeseeker

Previous posts:



0
0
0.000
6 comments
avatar

Mr Meeseeks please make my account a dolphin! :)

0
0
0.000
avatar

Good day for announcement with rick and morty s4 being announced earlier.

0
0
0.000
avatar

Hi, @inertia!

You just got a 0.93% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

0
0
0.000