You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2014/04/03 01:22:22 UTC

[41/44] git commit: Updated aws test properties for hystrix

Updated aws test properties for hystrix


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/d97d5da2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/d97d5da2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/d97d5da2

Branch: refs/heads/asyncqueue
Commit: d97d5da2ca912314a033788b5c0ebfe4489c4549
Parents: d97e653
Author: Todd Nine <tn...@apigee.com>
Authored: Wed Apr 2 15:54:03 2014 -0700
Committer: Todd Nine <tn...@apigee.com>
Committed: Wed Apr 2 15:54:03 2014 -0700

----------------------------------------------------------------------
 .../persistence/graph/hystrix/HystrixGraphObservable.java    | 4 ++--
 .../graph/src/test/resources/usergrid-AWS.properties         | 8 ++++++--
 2 files changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/d97d5da2/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/hystrix/HystrixGraphObservable.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/hystrix/HystrixGraphObservable.java b/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/hystrix/HystrixGraphObservable.java
index 209dfbd..998bf10 100644
--- a/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/hystrix/HystrixGraphObservable.java
+++ b/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/hystrix/HystrixGraphObservable.java
@@ -34,12 +34,12 @@ public class HystrixGraphObservable {
     /**
      * Command group used for realtime user commands
      */
-    private static final HystrixCommandGroupKey USER_GROUP = HystrixCommandGroupKey.Factory.asKey( "Graph-User" );
+    private static final HystrixCommandGroupKey USER_GROUP = HystrixCommandGroupKey.Factory.asKey( "graph_user" );
 
     /**
      * Command group for asynchronous operations
      */
-    private static final HystrixCommandGroupKey ASYNC_GROUP = HystrixCommandGroupKey.Factory.asKey( "Graph-Async" );
+    private static final HystrixCommandGroupKey ASYNC_GROUP = HystrixCommandGroupKey.Factory.asKey( "graph_async" );
 
 
     /**

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/d97d5da2/stack/corepersistence/graph/src/test/resources/usergrid-AWS.properties
----------------------------------------------------------------------
diff --git a/stack/corepersistence/graph/src/test/resources/usergrid-AWS.properties b/stack/corepersistence/graph/src/test/resources/usergrid-AWS.properties
index c479d4d..7bab674 100644
--- a/stack/corepersistence/graph/src/test/resources/usergrid-AWS.properties
+++ b/stack/corepersistence/graph/src/test/resources/usergrid-AWS.properties
@@ -2,16 +2,20 @@
 cassandra.connections=100
 cassandra.port=9160
 cassandra.version=1.2
-cassandra.hosts=ec2-54-242-147-15.compute-1.amazonaws.com, ec2-54-197-129-20.compute-1.amazonaws.com, ec2-54-196-253-36.compute-1.amazonaws.com, ec2-54-221-158-223.compute-1.amazonaws.com, ec2-54-82-99-72.compute-1.amazonaws.com, ec2-54-242-224-4.compute-1.amazonaws.com
+cassandra.hosts=
 #cassandra.hosts=localhost
 cassandra.cluster_name=Usergrid
 collections.keyspace=Usergrid_Collections
 cassandra.timeout=5000
 
 
-collections.keyspace.strategy.options=us-east-1:3
+collections.keyspace.strategy.options=us-east:3
 collections.keyspace.strategy.class=NetworkTopologyStrategy
 #collections.keyspace.strategy.options=replication_factor:1
 #collections.keyspace.strategy.class=SimpleStrategy
 collection.stage.transient.timeout=60
 
+#Thread pool for the stress test cases
+hystrix.threadpool.graph_user.coreSize=100
+hystrix.threadpool.graph_async.coreSize=100
+