Skip to content
#

rpc

Here are 1,942 public repositories matching this topic...

advanced-java

😮 互联网 Java 工程师进阶知识完全扫盲:涵盖高并发、分布式、高可用、微服务、海量数据处理等领域知识,后端同学必看,前端同学也可学习

  • Updated Nov 29, 2020
  • Java
zyearn
zyearn commented Aug 19, 2020

HealthCheckThread is replaced by StartHealthCheck function in socket.cpp, but some of the docs/comments are not modified correspondingly. There are 3 files that HealthCheckThread is involved in:

  • test/brpc_socket_unittest.cpp(3 occurrences)
  • docs/cn/load_balancing.md(1 occurrence)
  • src/brpc/socket.h(1 occurrence)

All sentences with 'HealthCheckThread' should be rewritten to sync with the

adriancole
adriancole commented Aug 29, 2018

Let's support at least reading "b3" header from a single string, most commonly traceid-spanid-1
It would also be nice to support optionally writing this, especially in message providers or others with constrained environments.

Expected behavior

As discussed on openzipkin/b3-propagation#21 and first implemented here: https://github.com/openzipkin/brave/blob/master/brave/src/main/java/bra

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

Improve this page

Add a description, image, and links to the rpc 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 rpc topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.