Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 2.29 KB

step7.md

File metadata and controls

52 lines (42 loc) · 2.29 KB
Internode Messaging Improvements ℹ️ For technical support, please contact us via email or LinkedIn.
⬅️ Back Step 7 of 7 Next ➡️
Do the metrics add up?

Since there are only two nodes, you would expect that the number of bytes sent from one node should be equal to the number of bytes received by the other node. Let's see if we can demonstrate that.

✅ Get inbound metrics from the first node and outbound metrics from the second node:

cqlsh localhost 9042 -e "SELECT received_count, received_bytes FROM system_views.internode_inbound;" &
cqlsh localhost 9043 -e "SELECT sent_count, sent_bytes FROM system_views.internode_outbound;"

We are only looking at two fields: the number of operations and the number of bytes. Isolating these metrics makes it a little easier to compare the results across nodes.

Often, the number of bytes written will exceed the number of bytes read. You can make sense of this by considering the number of operations. You see that the number of write operations often exceeds the number of read operations (until the read node catches up).

Re-run the queries (by clicking above) until the number of operations is the same for both nodes. You see that the number of bytes transferred also matches.

⬅️ Back Next ➡️