Permalink
Browse files

import from private repository

  • Loading branch information...
framiere committed Sep 11, 2011
1 parent ed7b596 commit 6fc6d235446085460235b1476e73ecd98a4e4bc3
Showing with 1,033,132 additions and 0 deletions.
  1. +70 −0 .gitignore
  2. +17 −0 LICENSE.txt
  3. +6 −0 README
  4. +22 −0 README.txt
  5. +5 −0 clean-start
  6. +2 −0 game
  7. +3 −0 game-flush-users
  8. +6 −0 infinitest.filters
  9. +3 −0 kill-web-servers
  10. +29 −0 mvnPerf
  11. +256 −0 pom.xml
  12. +2 −0 restart-web-servers
  13. +1 −0 src/main/cassandra/connect
  14. +13 −0 src/main/cassandra/drop
  15. +2 −0 src/main/cassandra/init
  16. +14 −0 src/main/cassandra/init-with-replication-factor-3.script
  17. +14 −0 src/main/cassandra/init.script
  18. +5 −0 src/main/cassandra/recreate
  19. +11 −0 src/main/cassandra/start
  20. +308 −0 src/main/custom_tsung/create_user/tsung-1.0.dtd
  21. +86 −0 src/main/custom_tsung/create_user/tsung_create_users.xml
  22. +10 −0 src/main/custom_tsung/create_user/users_10.csv
  23. +1 −0 src/main/custom_tsung/game_launch/authentication_key
  24. +1 −0 src/main/custom_tsung/game_launch/game
  25. +1 −0 src/main/custom_tsung/game_launch/game_10
  26. +1 −0 src/main/custom_tsung/game_launch/game_100
  27. +1 −0 src/main/custom_tsung/game_launch/game_1000
  28. +1 −0 src/main/custom_tsung/game_launch/game_150
  29. +308 −0 src/main/custom_tsung/game_launch/tsung-1.0.dtd
  30. +89 −0 src/main/custom_tsung/game_launch/tsung_game_launch.xml
  31. +89 −0 src/main/custom_tsung/game_launch/tsung_game_launch_10.xml
  32. +89 −0 src/main/custom_tsung/game_launch/tsung_game_launch_100.xml
  33. +89 −0 src/main/custom_tsung/game_launch/tsung_game_launch_1000.xml
  34. +89 −0 src/main/custom_tsung/game_launch/tsung_game_launch_150.xml
  35. +1 −0 src/main/custom_tsung/game_play/questions.csv
  36. +100 −0 src/main/custom_tsung/game_play/round_data.csv
  37. +10 −0 src/main/custom_tsung/game_play/round_data_10.csv
  38. +100 −0 src/main/custom_tsung/game_play/round_data_100.csv
  39. +1,000 −0 src/main/custom_tsung/game_play/round_data_1000.csv
  40. +150 −0 src/main/custom_tsung/game_play/round_data_150.csv
  41. +1 −0 src/main/custom_tsung/game_play/top_scores.csv
  42. +1 −0 src/main/custom_tsung/game_play/top_scores_10.csv
  43. +1 −0 src/main/custom_tsung/game_play/top_scores_100.csv
  44. +1 −0 src/main/custom_tsung/game_play/top_scores_1000.csv
  45. +1 −0 src/main/custom_tsung/game_play/top_scores_150.csv
  46. +308 −0 src/main/custom_tsung/game_play/tsung-1.0.dtd
  47. +721 −0 src/main/custom_tsung/game_play/tsung_game_play.xml
  48. +721 −0 src/main/custom_tsung/game_play/tsung_game_play_10.xml
  49. +721 −0 src/main/custom_tsung/game_play/tsung_game_play_100.xml
  50. +721 −0 src/main/custom_tsung/game_play/tsung_game_play_1000.xml
  51. +723 −0 src/main/custom_tsung/game_play/tsung_game_play_150.xml
  52. +8 −0 src/main/data/known_users.csv
  53. +200,000 −0 src/main/data/users_1.csv
  54. +200,000 −0 src/main/data/users_2.csv
  55. +200,000 −0 src/main/data/users_3.csv
  56. +200,000 −0 src/main/data/users_4.csv
  57. +200,000 −0 src/main/data/users_5.csv
  58. +110 −0 src/main/hyperic/jmx-plugin.xml
  59. +86 −0 src/main/java/usi2011/Main.java
  60. +56 −0 src/main/java/usi2011/domain/Answer.java
  61. +78 −0 src/main/java/usi2011/domain/AuditUser.java
  62. +45 −0 src/main/java/usi2011/domain/AuditUserAnswer.java
  63. +87 −0 src/main/java/usi2011/domain/GameStatus.java
  64. +35 −0 src/main/java/usi2011/domain/Login.java
  65. +123 −0 src/main/java/usi2011/domain/Parameters.java
  66. +235 −0 src/main/java/usi2011/domain/Question.java
  67. +80 −0 src/main/java/usi2011/domain/QuestionStatus.java
  68. +256 −0 src/main/java/usi2011/domain/Ranking.java
  69. +191 −0 src/main/java/usi2011/domain/Session.java
  70. +120 −0 src/main/java/usi2011/domain/User.java
  71. +152 −0 src/main/java/usi2011/domain/UserScoreHistory.java
  72. +11 −0 src/main/java/usi2011/exception/AnswerException.java
  73. +11 −0 src/main/java/usi2011/exception/AuthenticationKeyException.java
  74. +15 −0 src/main/java/usi2011/exception/GameSessionException.java
  75. +19 −0 src/main/java/usi2011/exception/JsonException.java
  76. +11 −0 src/main/java/usi2011/exception/LoginException.java
  77. +15 −0 src/main/java/usi2011/exception/NoGameCreatedException.java
  78. +11 −0 src/main/java/usi2011/exception/SessionKeyException.java
  79. +11 −0 src/main/java/usi2011/exception/StorageException.java
  80. +11 −0 src/main/java/usi2011/exception/UserException.java
  81. +11 −0 src/main/java/usi2011/exception/UserToAuditException.java
  82. +25 −0 src/main/java/usi2011/exception/UsiException.java
  83. +106 −0 src/main/java/usi2011/http/HttpBenchRequestHandler.java
  84. +90 −0 src/main/java/usi2011/http/HttpServer.java
  85. +206 −0 src/main/java/usi2011/http/HttpServerPipelineFactory.java
  86. +611 −0 src/main/java/usi2011/http/StateMachineHttpRequestHandler.java
  87. +308 −0 src/main/java/usi2011/http/decoder/FastHttpRequest.java
  88. +25 −0 src/main/java/usi2011/http/decoder/FastHttpRequestDecoder.java
  89. +32 −0 src/main/java/usi2011/http/decoder/FastHttpResponse.java
  90. +321 −0 src/main/java/usi2011/http/decoder/FasterHttpRequest.java
  91. +528 −0 src/main/java/usi2011/http/decoder/FasterHttpRequestDecoder.java
  92. +62 −0 src/main/java/usi2011/http/decoder/FasterHttpResponse.java
  93. +167 −0 src/main/java/usi2011/http/decoder/HttpCodecUtil.java
  94. +70 −0 src/main/java/usi2011/http/encoder/FasterHttpResponseEncoder.java
  95. +131 −0 src/main/java/usi2011/http/encoder/HttpResponseEncoderUtil.java
  96. +102 −0 src/main/java/usi2011/http/parser/AnswerParser.java
  97. +125 −0 src/main/java/usi2011/http/parser/LoginParser.java
  98. +57 −0 src/main/java/usi2011/http/parser/ScoreAndAuditParser.java
  99. +65 −0 src/main/java/usi2011/http/support/AsyncWriteResponseTask.java
  100. +182 −0 src/main/java/usi2011/http/support/CookieService.java
  101. +110 −0 src/main/java/usi2011/http/support/FastHttpRequest.java
  102. +25 −0 src/main/java/usi2011/http/support/FastHttpRequestDecoder.java
  103. +93 −0 src/main/java/usi2011/http/support/HttpResponseHelper.java
  104. +176 −0 src/main/java/usi2011/http/support/HttpResponseService.java
  105. +63 −0 src/main/java/usi2011/http/support/HttpResponseStats.java
  106. +138 −0 src/main/java/usi2011/http/support/HttpResponseStatsService.java
  107. +117 −0 src/main/java/usi2011/http/support/HttpResponseStatsTask.java
  108. +110 −0 src/main/java/usi2011/http/support/HttpServeFile.java
  109. +29 −0 src/main/java/usi2011/http/support/SelectiveAsyncRequestHandler.java
  110. +57 −0 src/main/java/usi2011/http/support/TimeLoggerHandler.java
  111. +11 −0 src/main/java/usi2011/repository/DoubleLoginRepository.java
  112. +44 −0 src/main/java/usi2011/repository/GameStatusRepository.java
  113. +15 −0 src/main/java/usi2011/repository/LoginStatusRepository.java
  114. +17 −0 src/main/java/usi2011/repository/ParameterRepository.java
  115. +17 −0 src/main/java/usi2011/repository/QuestionRepository.java
  116. +55 −0 src/main/java/usi2011/repository/ScoreRepository.java
  117. +28 −0 src/main/java/usi2011/repository/UserRepository.java
  118. +50 −0 src/main/java/usi2011/repository/cassandra/CassandraDoubleLoginRepository.java
  119. +204 −0 src/main/java/usi2011/repository/cassandra/CassandraGameStatusRepository.java
  120. +308 −0 src/main/java/usi2011/repository/cassandra/CassandraGameStatusWithSuperColumnRepository.java
  121. +117 −0 src/main/java/usi2011/repository/cassandra/CassandraLoginStatusRepository.java
  122. +120 −0 src/main/java/usi2011/repository/cassandra/CassandraParameterRepository.java
  123. +117 −0 src/main/java/usi2011/repository/cassandra/CassandraQuestionRepository.java
  124. +428 −0 src/main/java/usi2011/repository/cassandra/CassandraRepository.java
  125. +377 −0 src/main/java/usi2011/repository/cassandra/CassandraScoreRepository.java
  126. +312 −0 src/main/java/usi2011/repository/cassandra/CassandraUserRepository.java
  127. +5 −0 src/main/java/usi2011/repository/cassandra/CassendraRemoteStorageServiceInterface.java
  128. +53 −0 src/main/java/usi2011/repository/cassandra/HectorUtil.java
  129. +83 −0 src/main/java/usi2011/service/JmxService.java
  130. +69 −0 src/main/java/usi2011/service/RankingService.java
  131. +79 −0 src/main/java/usi2011/service/TwitterService.java
  132. +172 −0 src/main/java/usi2011/statemachine/StateMachine.java
  133. +972 −0 src/main/java/usi2011/statemachine/StateMachineImpl.java
  134. +214 −0 src/main/java/usi2011/statemachine/support/CallbackFlusher.java
  135. +7 −0 src/main/java/usi2011/statemachine/support/StateCallback.java
  136. +171 −0 src/main/java/usi2011/task/BatchRankingPublisherTask.java
  137. +170 −0 src/main/java/usi2011/task/BatchScoreUpdateTask.java
  138. +230 −0 src/main/java/usi2011/task/GameStatusPollerTask.java
  139. +19 −0 src/main/java/usi2011/task/PeriodicTask.java
  140. +23 −0 src/main/java/usi2011/util/FastEmailValidator.java
  141. +73 −0 src/main/java/usi2011/util/FastIntegerParser.java
  142. +72 −0 src/main/java/usi2011/util/JSONBackedObject.java
  143. +117 −0 src/main/java/usi2011/util/Json.java
  144. +13 −0 src/main/java/usi2011/util/LogUtil.java
  145. +15 −0 src/main/java/usi2011/util/NamedThreadFactory.java
  146. +5 −0 src/main/java/usi2011/util/Profiles.java
  147. +29 −0 src/main/java/usi2011/util/ResourceUtil.java
  148. +74 −0 src/main/java/usi2011/util/Specifications.java
  149. +85 −0 src/main/java/usi2011/util/SplitUtil.java
  150. +120 −0 src/main/java/usi2011/util/Timeout.java
  151. +474 −0 src/main/jmeter/bench-http.jmx
  152. +3 −0 src/main/jmeter/insert_users
  153. +179 −0 src/main/jmeter/insert_users.jmx
  154. +123 −0 src/main/jmeter/insert_users_random.jmx
  155. +179 −0 src/main/jmeter/known_users.jmx
  156. +2 −0 src/main/jmeter/user_session
  157. +479 −0 src/main/jmeter/user_session.jmx
  158. +14 −0 src/main/resources/applicationContext.xml
  159. +130 −0 src/main/resources/config.properties
  160. +11 −0 src/main/resources/htdocs/admin.html
  161. +460 −0 src/main/resources/htdocs/api-calls.html
  162. BIN src/main/resources/htdocs/docs/usi2011-jaxio-team.key
  163. +418 −0 src/main/resources/htdocs/game.html
  164. BIN src/main/resources/htdocs/img/logo_usi.png
  165. +418 −0 src/main/resources/htdocs/index.html
  166. +7 −0 src/main/resources/htdocs/team.html
  167. +7 −0 src/main/resources/htdocs/technologies.html
  168. +38 −0 src/main/resources/log4j.xml
  169. +2 −0 src/main/resources/twitter4j.properties
  170. +82 −0 src/main/vfabric/README.txt
  171. +54 −0 src/main/vfabric/bernard/cassandra-reset.sh
  172. +45 −0 src/main/vfabric/bernard/cassandra-restart.sh
  173. +40 −0 src/main/vfabric/bernard/netty.sh
  174. +21 −0 src/main/vfabric/cloud/cassandra_service.sh
  175. +52 −0 src/main/vfabric/cloud/game_install.sh
  176. +27 −0 src/main/vfabric/cloud/game_install_all_nodes.sh
  177. +115 −0 src/main/vfabric/cloud/game_reset_all_nodes.sh
  178. +42 −0 src/main/vfabric/cloud/game_service.sh
  179. +20 −0 src/main/vfabric/cloud/game_update.sh
  180. +82 −0 src/main/vfabric/cloud/game_update_all_nodes.sh
  181. +3 −0 src/main/vfabric/cloud/game_update_all_nodes_exclude.txt
  182. +53 −0 src/main/vfabric/cloud/game_update_without_cassandra_all_nodes.sh
  183. +28 −0 src/main/vfabric/cloud/network_service.sh
  184. +44 −0 src/main/vfabric/cloud/reboot_netties.sh
  185. +35 −0 src/main/vfabric/cloud/tsung_install.sh
  186. +33 −0 src/main/vfabric/cloud/tsung_run.sh
  187. +88 −0 src/main/vfabric/cloud/vfabric_tuning.sh
  188. +165 −0 src/main/vfabric/config/cassandra/cassandra-env.sh
  189. +489 −0 src/main/vfabric/config/cassandra/cassandra.yaml
  190. +41 −0 src/main/vfabric/config/cassandra/log4j-server.properties
  191. +139 −0 src/main/vfabric/config/game/config.properties
  192. +38 −0 src/main/vfabric/config/game/log4j.xml
  193. +2 −0 src/main/vfabric/config/keepalived/install.txt
  194. +275 −0 src/main/vfabric/config/keepalived/keepalived.conf
  195. +82 −0 src/main/vfabric/config/keepalived/keepalived.conf.example
  196. +8 −0 src/main/vfabric/config/keepalived/lvs-dr.sh
  197. +14 −0 src/main/vfabric/config/keepalived/lvs-nat.sh
  198. +257 −0 src/main/vfabric/config/maven/settings.xml
  199. +8 −0 src/main/vfabric/jmeter/distributed-insert-users.sh
  200. +7 −0 src/main/vfabric/jmeter/distributed-session-thinktime.sh
  201. +7 −0 src/main/vfabric/jmeter/distributed-session.sh
  202. +1 −0 src/main/vfabric/jmeter/game.sh
  203. +3 −0 src/main/vfabric/jmeter/insert_users
  204. +188 −0 src/main/vfabric/jmeter/insert_users_1.jmx
  205. +188 −0 src/main/vfabric/jmeter/insert_users_2.jmx
  206. +188 −0 src/main/vfabric/jmeter/insert_users_3.jmx
  207. +188 −0 src/main/vfabric/jmeter/insert_users_4.jmx
  208. +188 −0 src/main/vfabric/jmeter/insert_users_5.jmx
  209. +188 −0 src/main/vfabric/jmeter/known_users.jmx
  210. +3 −0 src/main/vfabric/jmeter/session.sh
  211. +251 −0 src/main/vfabric/jmeter/session_.jmx
  212. +251 −0 src/main/vfabric/jmeter/session_1.jmx
  213. +251 −0 src/main/vfabric/jmeter/session_2.jmx
  214. +251 −0 src/main/vfabric/jmeter/session_3.jmx
  215. +251 −0 src/main/vfabric/jmeter/session_4.jmx
  216. +251 −0 src/main/vfabric/jmeter/session_5.jmx
  217. +3 −0 src/main/vfabric/jmeter/session_thinktime.sh
  218. +266 −0 src/main/vfabric/jmeter/session_thinktime_1.jmx
  219. +266 −0 src/main/vfabric/jmeter/session_thinktime_2.jmx
  220. +266 −0 src/main/vfabric/jmeter/session_thinktime_3.jmx
  221. +266 −0 src/main/vfabric/jmeter/session_thinktime_4.jmx
  222. +266 −0 src/main/vfabric/jmeter/session_thinktime_5.jmx
  223. +18 −0 src/main/vfabric/local/deploy.sh
  224. +11 −0 src/main/vfabric/local/deploy_without_cassandra.sh
  225. +12 −0 src/main/vfabric/local/install.sh
  226. +21 −0 src/main/vfabric/local/reset.sh
  227. +5 −0 src/main/vfabric/local/sync.sh
  228. +6 −0 src/main/vfabric/local/tsung_run.sh
  229. +8 −0 src/main/vfabric/local/tunnel.sh
  230. +103 −0 src/main/vfabric/tsung/create-scenario.sh
  231. +32 −0 src/main/vfabric/tsung/deploy_injectors.sh
  232. +9 −0 src/main/vfabric/tsung/launch.sh
  233. +214 −0 src/main/vfabric/tsung/prepare_data.py
  234. +19 −0 src/main/vfabric/tsung/stats-tsung.sh
  235. +495 −0 src/main/vfabric/tsung/templates/audit.xml
  236. +1 −0 src/main/vfabric/tsung/templates/authentication_key
  237. +36 −0 src/main/vfabric/tsung/templates/create_users.xml
  238. +1 −0 src/main/vfabric/tsung/templates/game
  239. +36 −0 src/main/vfabric/tsung/templates/launch.xml
  240. +601 −0 src/main/vfabric/tsung/templates/play.xml
  241. +1 −0 src/main/vfabric/tsung/templates/questions.csv
  242. +308 −0 src/main/vfabric/tsung/templates/tsung-1.0.dtd
  243. +3 −0 src/main/wget/game
  244. +3 −0 src/main/wget/game-flush-users
  245. +1 −0 src/main/wget/json/authentication.json
  246. +4 −0 src/main/wget/json/game-flush-users.json
  247. +4 −0 src/main/wget/json/game.json
  248. BIN src/site/usi2011-jaxio-team-rapport-pour-octo.key
  249. BIN src/site/usi2011-jaxio-team-rapport-public.key
  250. BIN src/site/usi2011-jaxio-team.key
  251. BIN src/site/usi2011.vpp
  252. +15 −0 src/test/java/usi2011/domain/AnswerTest.java
  253. +19 −0 src/test/java/usi2011/domain/AuditUserAnswerTest.java
  254. +61 −0 src/test/java/usi2011/domain/AuditUserTest.java
  255. +31 −0 src/test/java/usi2011/domain/GameStatusTest.java
  256. +40 −0 src/test/java/usi2011/domain/LoginTest.java
  257. +61 −0 src/test/java/usi2011/domain/ParametersTest.java
  258. +43 −0 src/test/java/usi2011/domain/QuestionStatusTest.java
  259. +125 −0 src/test/java/usi2011/domain/QuestionTest.java
  260. +77 −0 src/test/java/usi2011/domain/RankingTest.java
  261. +48 −0 src/test/java/usi2011/domain/SessionTest.java
  262. +109 −0 src/test/java/usi2011/domain/UserScoreHistoryTest.java
  263. +97 −0 src/test/java/usi2011/domain/UserScoreHistoryTheoryTest.java
  264. +108 −0 src/test/java/usi2011/domain/UserTest.java
  265. +92 −0 src/test/java/usi2011/http/HttpRequestHandlerTest.java
  266. +16 −0 src/test/java/usi2011/http/StateMachineHttpRequestHandlerTest.java
  267. +71 −0 src/test/java/usi2011/http/parser/AnswerParserTest.java
  268. +131 −0 src/test/java/usi2011/http/parser/LoginParserTest.java
  269. +41 −0 src/test/java/usi2011/http/parser/ScoreAndAuditParserTest.java
  270. +106 −0 src/test/java/usi2011/http/support/CookieServiceTest.java
  271. +106 −0 src/test/java/usi2011/http/support/EncryptedCookieServiceTest.java
  272. +35 −0 src/test/java/usi2011/http/support/HttpResponseServiceTest.java
  273. +97 −0 src/test/java/usi2011/repository/GameStatusRepositoryTest.java
  274. +40 −0 src/test/java/usi2011/repository/LoginStatusRepositoryTest.java
  275. +87 −0 src/test/java/usi2011/repository/ParameterRepositoryTest.java
  276. +66 −0 src/test/java/usi2011/repository/QuestionRepositoryTest.java
  277. +305 −0 src/test/java/usi2011/repository/ScoreRepositoryTest.java
  278. +88 −0 src/test/java/usi2011/repository/UserRepositoryTest.java
  279. +32 −0 src/test/java/usi2011/repository/cassandra/CassandraRepositoryTest.java
  280. +65 −0 src/test/java/usi2011/service/TwitterServiceTest.java
  281. +195 −0 src/test/java/usi2011/statemachine/StateMachineTest.java
  282. +400 −0 src/test/java/usi2011/util/BloomFilter.java
  283. +58 −0 src/test/java/usi2011/util/BloomTest.java
  284. +40 −0 src/test/java/usi2011/util/FastEmailValidatorTest.java
  285. +63 −0 src/test/java/usi2011/util/FastIntegerParserTest.java
  286. +102 −0 src/test/java/usi2011/util/JSONBackedObjectTest.java
  287. +78 −0 src/test/java/usi2011/util/JsonTest.java
  288. +38 −0 src/test/java/usi2011/util/SplitUtilTest.java
  289. +44 −0 src/test/java/usi2011/util/TimeoutTest.java
  290. +14 −0 src/test/resources/applicationContext-test.xml
  291. +1 −0 src/test/resources/session/game.url.encoded
  292. +154 −0 src/test/resources/session/gamesession-20-questions.xml
  293. +165 −0 src/test/resources/session/gamesession-invalid-xml.xml
  294. +152 −0 src/test/resources/session/gamesession-too-few-choices.xml
  295. +160 −0 src/test/resources/session/gamesession-too-much-choices.xml
  296. +40 −0 src/test/resources/session/gamesession.xsd
  297. +14 −0 start-web-server
  298. +2 −0 start-web-servers
View
@@ -0,0 +1,70 @@
+# Folders
+target/
+.DS_Store
+database/
+bin/
+
+# eclipse
+*.pydevproject
+.project
+.metadata
+bin/**
+tmp/**
+tmp/**/*
+*.tmp
+*.bak
+*.swp
+*~.nib
+local.properties
+.classpath
+.settings/
+.loadpath
+.cproject
+
+## cvs
+/CVS/*
+*/CVS/*
+.cvsignore
+*/.cvsignore
+
+
+## svn
+/.svn/*
+*/.svn/*
+
+# Compiled source #
+###################
+*.com
+*.class
+*.dll
+*.exe
+*.o
+*.so
+
+# Packages #
+############
+# it's better to unpack these files and commit the raw source
+# git has its own built in compression methods
+*.7z
+*.dmg
+*.gz
+*.iso
+*.jar
+*.rar
+*.tar
+*.zip
+
+# Logs and databases #
+######################
+*.log
+*.sql
+*.sqlite
+
+# OS generated files #
+######################
+.DS_Store?
+ehthumbs.db
+Icon?
+Thumbs.db
+Desktop.ini
+
View
@@ -0,0 +1,17 @@
+JAXIO & FRIENDS TEAM Solution
+
+ Le code sera certainement Open Sourcé en fin de compétition
+ sous une licence restant à définir.
+
+ Pour le moment le code source est strictement confidentiel.
+ Tous droits réservés Jaxio SARL & Friends
+
+ Aucune utilisation, reproduction, diffusion, même partielle
+ permise sans accord préalable de Jaxio SARL & Friends
+
+ Julien Dubois
+ Bernard Pons
+ Florent Ramière
+ Nicolas Romanetti
+
+ Contact: usi2011team@jaxio.com
View
6 README
@@ -0,0 +1,6 @@
+Challenge USI 2011 - Equipe 10 - https://sites.google.com/a/octo.com/challengeusi2011/
+
+Julien Dubois
+Bernard Pons
+Florent Rami�re
+Nicolas Romanetti
View
@@ -0,0 +1,22 @@
+Specifiez le home de Jmeter
+
+export JMETER_HOME=~/Dev/jakarta-jmeter-2.4
+./clean-start
+
+enjoy !
+
+
+
+usi1:
+/root/.tsung/jaxio/
+
+sous game_laucnh
+
+root@usi1:~/.tsung/jaxio/usi2011/game_launch# tsung -f tsung_game_launch_20k.xml start
+
+/root/.tsung/log/20110418-21:31
+23:33
+root@usi1:~/.tsung/jaxio/usi2011/game_launch# cd ../game_play
+root@usi1:~/.tsung/jaxio/usi2011/game_play#
+
+root@usi1:~/.tsung/jaxio/usi2011/game_play# tsung -f tsung_game_play_5k.xml.N1 start
View
@@ -0,0 +1,5 @@
+#!/bin/bash
+./src/main/cassandra/recreate
+./restart-web-servers
+./src/main/wget/game-flush-users
+./src/main/jmeter/insert_users
View
2 game
@@ -0,0 +1,2 @@
+#!/bin/bash
+./src/main/wget/game
View
@@ -0,0 +1,3 @@
+#!/bin/bash
+./src/main/wget/game-flush-users
+./src/main/jmeter/insert_users
View
@@ -0,0 +1,6 @@
+.*http.HttpRequestHandlerTest
+.*service.CassandraTest
+.*service.FinalScoreServiceTest
+
+
+# Blank lines need to be filtered out, so do comments like this
View
@@ -0,0 +1,3 @@
+echo Killing previous servers
+jps | grep Launcher | cut -d ' ' -f1 | xargs kill -9
+sleep 1
View
29 mvnPerf
@@ -0,0 +1,29 @@
+#!/bin/bash
+profiler=${1:-off}
+
+JVM_OPTS="-Xmx1024m"
+JVM_OPTS="$JVM_OPTS -Xms1024m"
+JVM_OPTS="$JVM_OPTS -Xss128k"
+JVM_OPTS="$JVM_OPTS -XX:ParallelGCThreads=20"
+JVM_OPTS="$JVM_OPTS -XX:+UseParNewGC"
+JVM_OPTS="$JVM_OPTS -XX:+UseConcMarkSweepGC"
+JVM_OPTS="$JVM_OPTS -XX:SurvivorRatio=8"
+JVM_OPTS="$JVM_OPTS -XX:TargetSurvivorRatio=90"
+JVM_OPTS="$JVM_OPTS -XX:MaxTenuringThreshold=31"
+JVM_OPTS="$JVM_OPTS -XX:+CMSParallelRemarkEnabled"
+JVM_OPTS="$JVM_OPTS -XX:+UseCompressedOops"
+JVM_OPTS="$JVM_OPTS -Djava.awt.headless=true"
+JVM_OPTS="$JVM_OPTS -Djava.net.preferIPv4Stack=true"
+
+export MAVEN_OPTS="$JVM_OPTS"
+
+if [ "$profiler" = "on" ]; then
+ export MAVEN_OPTS="$JVM_OPTS -agentpath:/Applications/jprofiler6/bin/macos/libjprofilerti.jnilib=port=8849,nowait"
+ echo MAVEN_OPTS = $MAVEN_OPTS
+ echo executing mvn $2 $3 $4 $5
+ mvn $2 $3 $4
+else
+ echo MAVEN_OPTS = $MAVEN_OPTS
+ echo executing mvn $1 $2 $3 $4 $5
+ mvn $1 $2 $3 $4
+fi
Oops, something went wrong.

0 comments on commit 6fc6d23

Please sign in to comment.