incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Nine <t...@spidertracks.co.nz>
Subject Embedded integration testing causing strage issues
Date Fri, 13 Aug 2010 01:59:15 GMT
Hi all,
  We've downloaded and used Ran's embedded Cassandra helper from the
Hector client.  It works really well for performing basic integration
testing.  We have a more advanced test that uses TCP sockets and
threading.  We send about 400 pieces of data via TCP.  This results in
~1200 writes and ~800 reads in our embedded Cassandra over 15 seconds.
Occasionally, the test will fail due to less than the 400 packets of
data being written, though the calling client code receives no errors
from Cassandra on the writes.  We see this behavior more on dual
processor systems over quad core systems.  If we change the tests to use
Cassandra running on it's own, the issues seem to disappear regardless
of the system size.  

This isn't a stress test, just a simple test with a very small input
set.  Is it possible to tweak any of the storage-conf.xml settings to
make the embedded test instance more reliable?  We don't need high
throughput only reliability to test our code and the results in simple
integration tests.

Version 0.6.3

Thanks,
Todd

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message