Skip to content
#

high-performance

Here are 713 public repositories matching this topic...

akka
liulinghao0421
liulinghao0421 commented Mar 8, 2021

What language are you using?

c++

What operating system (Linux, Ubuntu, …) and version?

Linux

What runtime / compiler are you using (e.g. jdk version or version of gcc)

gcc
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).

大佬,请问下DCache现在开源版本稳定吗?可以用于生产环境吗?打算接入生产环境DCache

Lukasa
Lukasa commented Sep 24, 2020

If you want to work with a complete socket address type including port, we have a helper in SocketAddress. However, the moment you want to talk only about an IP address we force you to hold an in_addr or in_addr6 structure: hardly the friendliest versions of these data types.

We should provide a helpful wrapper IPAddress type that can be converted into those types as needed. This would

yugabyte-db
rahuldesirazu
rahuldesirazu commented Mar 9, 2021

On each heartbeat, master calls TSDescriptor methods like

  void set_num_sst_files (uint64_t num_sst_files) {
    std::lock_guard<decltype(lock_)> l(lock_);
    ts_metrics_.num_sst_files = num_sst_files;
  }

that takes a write lock, sets a field, and releases the write lock. To avoid doing this many times over for each individual field, create a method that takes a lock once and

phpcyy
phpcyy commented Dec 28, 2020

As far as I know, TarsGo supports registering client filter with tars.RegisterClientFilter() method.
And if you have multiple client filter, you may have to use tars.RegisterPreClientFilter and tars.RegisterPostClientFilter.

However, I don't want to split any of them to one pre filter and one post filter when I register multiple client filters.

For example, I register client breaker

haproxy

Improve this page

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

Learn more