• Murphy Law's avatar
    go/proxyd: Proxy requests using batch JSON-RPC (#2480) · f48bd87d
    Murphy Law authored
    * go/proxyd: Proxy requests as batched RPC
    
    We forward several RPC request objects to upstreams using the JSON-RPC
    batch functionality. This should be more efficient than serialized RPC
    request proxying the round-trip latency of the remaining request objects
    are eliminated.
    
    A new server config, `max_upstream_batch_size`, is introduced to limit
    the number of RPC request objects in a single batch request. This is to
    avoid overloading upstream as proxyd may accept a large number of
    request objects in a single request by having a large `max_body_size_bytes`
    config value.
    
    * remove flakes: no more SequencedResponseHandler
    Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    f48bd87d
Name
Last commit
Last update
..
cmd/proxyd Loading commit data...
integration_tests Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
Dockerfile Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
backend.go Loading commit data...
cache.go Loading commit data...
cache_test.go Loading commit data...
config.go Loading commit data...
entrypoint.sh Loading commit data...
errors.go Loading commit data...
example.config.toml Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
lvc.go Loading commit data...
methods.go Loading commit data...
metrics.go Loading commit data...
package.json Loading commit data...
proxyd.go Loading commit data...
rate_limiter.go Loading commit data...
rpc.go Loading commit data...
rpc_test.go Loading commit data...
server.go Loading commit data...
string_set.go Loading commit data...
tls.go Loading commit data...