How does one node communicate with the other node?

2011-03-15 Thread Joshua Partogi
Hi there,

I am trying to understand the underlying architecture of cassandra.
How does one node communicate with other node? Does cassandra use
Thrift or JMX to communicate with other node?

Kind regards,
Joshua.
-- 
http://twitter.com/jpartogi


Re: How does one node communicate with the other node?

2011-03-15 Thread aaron morton
The internode messages are custom binary format. In the code it's in the  
o.a.c.net package, the Message class is the thing sent around. MessageService 
is the main guy handling incoming and outgoing messages. 

The node listens on the storage_port and listen_address as set in 
conf/cassandra.yaml

Hope that helps. 
Aaron

On 16 Mar 2011, at 12:44, Joshua Partogi wrote:

 Hi there,
 
 I am trying to understand the underlying architecture of cassandra.
 How does one node communicate with other node? Does cassandra use
 Thrift or JMX to communicate with other node?
 
 Kind regards,
 Joshua.
 -- 
 http://twitter.com/jpartogi