Services/Sync/Server/Archived/HereComesEverybody/Cassandra: Difference between revisions

Line 18: Line 18:
* Simple setup
* Simple setup
** For a simple bakeoff, Cassandra should work fine with a single node.
** For a simple bakeoff, Cassandra should work fine with a single node.
** 1 webapp frontend
** [http://pastebin.mozilla.org/706953 Notes from an initial test on 06 Mar 2010].
** 1 webapp frontend (mv-weavetest03)
*** Make sure to install [http://incubator.apache.org/thrift/download/ Apache Thrift] and [https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP#UsingCassandrawithPHP-BuildingandinstallingthenativePHPextension the native PHP extension]
*** Make sure to install [http://incubator.apache.org/thrift/download/ Apache Thrift] and [https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP#UsingCassandrawithPHP-BuildingandinstallingthenativePHPextension the native PHP extension]
*** [http://hg.mozilla.org/users/lorchard_mozilla.com/weaveserver-sync/ weaveserver-sync] with Cassandra and [http://hg.mozilla.org/labs/weaveserver-registration/ weaveserver-registration] with MySQL
*** [http://hg.mozilla.org/users/lorchard_mozilla.com/weaveserver-sync/ weaveserver-sync] with Cassandra and [http://hg.mozilla.org/labs/weaveserver-registration/ weaveserver-registration] with MySQL
*** [http://hg.mozilla.org/users/lorchard_mozilla.com/weaveserver-sync/file/6aaeb20df0ad/1.0/weave_storage/cassandra.php#l41 Cassandra config defines for default_constants.php] (ie. mainly the hostname)
*** [http://hg.mozilla.org/users/lorchard_mozilla.com/weaveserver-sync/file/6aaeb20df0ad/1.0/weave_storage/cassandra.php#l41 Cassandra config defines for default_constants.php] (ie. mainly the hostname)
** 1 Cassandra node
** 1 Cassandra node (mv-weavetest04)
*** Use a [http://hudson.zones.apache.org/hudson/job/Cassandra/lastSuccessfulBuild/artifact/cassandra/build/ nightly build] or [https://svn.apache.org/repos/asf/incubator/cassandra/trunk/ build from trunk]
*** Use a [http://hudson.zones.apache.org/hudson/job/Cassandra/lastSuccessfulBuild/artifact/cassandra/build/ nightly build] or [https://svn.apache.org/repos/asf/incubator/cassandra/trunk/ build from trunk]
*** Needs Java 1.6+ to [http://wiki.apache.org/cassandra/GettingStarted#Step_2:_Running_a_single_node get started].
*** Needs Java 1.6+ to [http://wiki.apache.org/cassandra/GettingStarted#Step_2:_Running_a_single_node get started].
*** [http://hg.mozilla.org/users/lorchard_mozilla.com/weaveserver-sync/file/6aaeb20df0ad/1.0/weave_storage/cassandra.php#l62 Storage config in cassandra.php comments]
*** [http://hg.mozilla.org/users/lorchard_mozilla.com/weaveserver-sync/file/6aaeb20df0ad/1.0/weave_storage/cassandra.php#l62 Storage config in cassandra.php comments]
** 1 load source
** 1 load source (mv-weavetest02)
*** Use [http://hg.mozilla.org/labs/weave-loadtest/ weave-loadtest] (what command options?)
*** Use [http://hg.mozilla.org/labs/weave-loadtest/ weave-loadtest] (what command options?)
** [http://pastebin.mozilla.org/706953 Initial results from 08 Mar 2010].


* Cluster setup
* Cluster setup
Confirmed users
920

edits