Cassandra中的本机传输请求是什么? [英] What are native transport requests in Cassandra?

查看:199
本文介绍了Cassandra中的本机传输请求是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Datastax OpsCenter中查看节点详细信息时:

When looking at node details in Datastax OpsCenter:

我们可以看到有34903422个本地运输请求",但有1072个被阻止.

We can see that there were 34903422 "native-transport-requests", but 1072 were blocked.

  • 有人可以解释什么是本机传输请求吗?与突变有什么关系?
  • 被阻止正常吗?

顺便说一句.我们还可以看到删除了93个突变,我们知道这意味着什么: cassandra中的突变是什么?.

BTW. We can also see that there were 93 mutations dropped and we know what that means: What is mutation in cassandra?.

推荐答案

本机传输是CQL本机协议(与Thrift协议相对),是所有现代Cassandra驱动程序与服务器通信的方式.这包括所有读/写/schemachanges/etc ...

The native transport is the CQL Native Protocol (as opposed to the Thrift Protocol) and is the way all modern Cassandra Driver's communicate with the server. This includes all reads/writes/schemachanges/etc ...

被阻止的请求是一个等待着其他请求完成才能运行的请求.实际上很少有C *操作被阻塞,因此被阻塞的总数应该非常低.总计数就是所有被阻止的请求的超时总和.

A blocked request is one that is sitting around waiting for something else to complete before it can run. Very few C* operations are actually blocking so the total blocked number should be very low. The total count is just the over time sum of all requests that were blocked.

这篇关于Cassandra中的本机传输请求是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆