What are native transport requests in Cassandra?

青春壹個敷衍的年華 提交于 2019-12-02 05:15:08

问题


When looking at node details in Datastax OpsCenter:

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

  • Could someone explain what is native transport request? What is that in relation to mutation?
  • Is it normal that they are being blocked and what does it mean?

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


回答1:


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 ...

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.



来源:https://stackoverflow.com/questions/32456843/what-are-native-transport-requests-in-cassandra

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!