Skip to content
#

grpc

Here are 2,977 public repositories matching this topic...

johanbrandhorst
johanbrandhorst commented Jul 16, 2020

🐛 Bug Report

The TestTimeout test is sometimes failing randomly.

To Reproduce

$ go test -run TestTimeout -count 100 ./examples/internal/integration

Expected behavior

Test not to be flaky

Actual Behavior

The tests fails with an incorrect status code error:

integration_test.go:1395: resp.StatusCode = 500; want 504

See https://app.circle

Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. The service engine supports http, TCP, WS,Grpc, Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service governance to ensure reliable RPC communication, the engine contains Diagnostic, link tracking for protocol and middleware calls, and integration SkyWalking Distributed APM

  • Updated Aug 9, 2020
  • C#
armeria
ikhoon
ikhoon commented Mar 19, 2020

In our codebase, we push RequestContext and immediately run some code with try-with-resources.
For example:

try (SafeCloseable ignored = ctx.push()) {
    logger.trace(decorate(msg));
}

If RequestContext provides run(Runnable) or call(Callable) we can reduce boilerplate code and simplify it.

ctx.run(() -> logger.trace(decorate(msg));

This is inspired by g

tonic

Improve this page

Add a description, image, and links to the grpc topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the grpc topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.