Closed mudgen closed 6 years ago
The Wiki for the Javascript API (https://github.com/ethereum/wiki/wiki/JavaScript-API) says this under batch requests:
"Batch requests are mainly useful to ensure the serial processing of requests."
That statement is in direct contradiction to the JSON-RPC specification (http://www.jsonrpc.org/specification) which states this:
The Server MAY process a batch rpc call as a set of concurrent tasks, processing them in any order and with any width of parallelism.
So, why would a batch request ensure the serial processing of requests? Or is this not actually true?
Also, why is a batch request not faster than sending multiple requests? Isn't it faster to make one http connection/request than many?
Why was this closed? There was no response or answer.
See https://github.com/ethereum/wiki/wiki#issues-and-pull-requests.
The Wiki for the Javascript API (https://github.com/ethereum/wiki/wiki/JavaScript-API) says this under batch requests:
That statement is in direct contradiction to the JSON-RPC specification (http://www.jsonrpc.org/specification) which states this:
So, why would a batch request ensure the serial processing of requests? Or is this not actually true?
Also, why is a batch request not faster than sending multiple requests? Isn't it faster to make one http connection/request than many?