Writing same key on two nodes using ONE consistency

2013-10-26 Thread Mohammad Hajjat
nd up with same key having two different values on the two nodes)? Or would each node forward the write request to the node responsible to hold that key (determined by the hash function)? Thanks! -- *Mohammad Hajjat* *Ph.D. Student* *Electrical and Computer Engineering* *Purdue University*

Re: Socket buffer size

2013-07-21 Thread Mohammad Hajjat
the nodes and the latter > for communication between nodes themselves as evident by the name of the > property. Please feel free to correct me if I am wrong. > > Regards, > Shahab > > > On Saturday, July 20, 2013, Mohammad Hajjat wrote: > >> Hi, >> >&g

Re: CPU Bound Writes

2013-07-21 Thread Mohammad Hajjat
ert-heavy workloads will actually be > CPU-bound in Cassandra before being memory-bound"? > What is the source of the quote ? > > Cheers > - > Aaron Morton > Cassandra Consultant > New Zealand > > @aaronmorton > http://www.thelastpickle.

Socket buffer size

2013-07-20 Thread Mohammad Hajjat
they have to be equal, one less than another, etc.? The documentation here is not really helping much! http://www.datastax.com/docs/1.2/configuration/node_configuration#rpc-send-buff-size-in-bytes Thanks! -- *Mohammad Hajjat* *Ph.D. Student* *Electrical and Computer Engineering* *Purdue University*

Re: CPU Bound Writes

2013-07-20 Thread Mohammad Hajjat
: > Everything is written to the commit log. In the case of a crash, cassandra > recovers by replaying the log. > > > On Sat, Jul 20, 2013 at 9:03 AM, Mohammad Hajjat wrote: > >> Patricia, >> >> Thanks for the info. So are you saying that the *whole* data is b

Re: CPU Bound Writes

2013-07-20 Thread Mohammad Hajjat
tually be CPU-bound in Cassandra before >> being memory-bound” >> >> ** ** >> >> Can someone explain why the internals of why writes are CPU bound ? >> >> ** ** >> >> ** ** >> > > -- *Mohammad Hajjat* *Ph.D. Student* *Electrical and Computer Engineering* *Purdue University*

Re: Recommended data size for Reads/Writes in Cassandra

2013-07-18 Thread Mohammad Hajjat
; USER = ColumnFamily(POOL, 'User') >>> USER.insert('Ali', {'data': >>> >>> data},write_consistency_level=pycassa.cassandra.ttypes.ConsistencyLevel.ALL) >>> >>> >>> >>> >>> -- >>> View this message in context: >>> http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Recommended-data-size-for-Reads-Writes-in-Cassandra-tp7589141.html >>> Sent from the cassandra-u...@incubator.apache.org mailing list archive >>> at Nabble.com. >>> >> >> > > > -- > Tyler Hobbs > DataStax <http://datastax.com/> > -- *Mohammad Hajjat* *Ph.D. Student* *Electrical and Computer Engineering* *Purdue University*