Skip to content
#

distributed-database

Here are 221 public repositories matching this topic...

cockroach
ClickHouse
yunchat
yunchat commented Nov 13, 2018

Now insert and query share the resource ( Max Process Count control) 。 When the query with high TPS,the insert will get error (“error: too many process”). I think separator the resource for Insert and Query will makes sense. Ensure enough resource for insert。It looks like Use Yarn, Insert and Query use the different resource quota。
Or the simple way , Can we set Ratio for Insert and

JeanGolang
JeanGolang commented Feb 7, 2017

Hello Philip!
I think there is an issue with this part of the code of rqlite (store/store.go).

func (s *Store) Database(leader bool) ([]byte, error) {
	if leader && s.raft.State() != raft.Leader {
		return nil, ErrNotLeader
	}
	// Ensure only one snapshot can take place at once, and block all queries.
	s.mu.Lock()
	defer s.mu.Unlock()

	f, err := ioutil.TempFile("", "rqlilte-snap-
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

Improve this page

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

Learn more