cuboid 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (514) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -2
  3. data/README.md +1 -0
  4. data/lib/cuboid/option_groups/paths.rb +12 -3
  5. data/lib/cuboid/rpc/server/application_wrapper.rb +4 -3
  6. data/lib/cuboid/rpc/server/dispatcher.rb +36 -7
  7. data/lib/version +1 -1
  8. data/spec/cuboid/option_groups/paths_spec.rb +6 -3
  9. data/spec/cuboid/rpc/server/dispatcher_spec.rb +147 -32
  10. data/spec/support/logs/Dispatcher - 2084286-54259.log +6 -0
  11. data/spec/support/logs/Dispatcher - 2084291-6640.log +16 -0
  12. data/spec/support/logs/Dispatcher - 2084295-5250.log +14 -0
  13. data/spec/support/logs/Dispatcher - 2084305-6471.log +10 -0
  14. data/spec/support/logs/Dispatcher - 2084312-12985.log +16 -0
  15. data/spec/support/logs/Dispatcher - 2084316-56585.log +14 -0
  16. data/spec/support/logs/Dispatcher - 2084320-43576.log +10 -0
  17. data/spec/support/logs/Dispatcher - 2084326-22154.log +6 -0
  18. data/spec/support/logs/Dispatcher - 2084329-37449.log +6 -0
  19. data/spec/support/logs/Dispatcher - 2084337-6108.log +6 -0
  20. data/spec/support/logs/Dispatcher - 2084339-3678.log +6 -0
  21. data/spec/support/logs/Dispatcher - 2084349-25543.log +6 -0
  22. data/spec/support/logs/Dispatcher - 2084353-32233.log +6 -0
  23. data/spec/support/logs/Dispatcher - 2084358-52174.log +6 -0
  24. data/spec/support/logs/Dispatcher - 2084364-37161.log +6 -0
  25. data/spec/support/logs/Dispatcher - 2084368-60932.log +6 -0
  26. data/spec/support/logs/Dispatcher - 2084403-8438.log +6 -0
  27. data/spec/support/logs/Dispatcher - 2084474-13802.log +16 -0
  28. data/spec/support/logs/Dispatcher - 2084486-30620.log +14 -0
  29. data/spec/support/logs/Dispatcher - 2084493-32506.log +10 -0
  30. data/spec/support/logs/Dispatcher - 2084501-43574.log +16 -0
  31. data/spec/support/logs/Dispatcher - 2084505-27926.log +14 -0
  32. data/spec/support/logs/Dispatcher - 2084511-49908.log +10 -0
  33. data/spec/support/logs/Dispatcher - 2084523-64722.log +6 -0
  34. data/spec/support/logs/Dispatcher - 2084528-48219.log +6 -0
  35. data/spec/support/logs/Dispatcher - 2084544-3678.log +6 -0
  36. data/spec/support/logs/Dispatcher - 2084554-36730.log +6 -0
  37. data/spec/support/logs/Dispatcher - 2084567-41815.log +6 -0
  38. data/spec/support/logs/Dispatcher - 2084585-59505.log +6 -0
  39. data/spec/support/logs/Dispatcher - 2084591-20029.log +6 -0
  40. data/spec/support/logs/Dispatcher - 2084596-44780.log +6 -0
  41. data/spec/support/logs/Dispatcher - 2084623-19816.log +6 -0
  42. data/spec/support/logs/Dispatcher - 2084639-21862.log +16 -0
  43. data/spec/support/logs/Dispatcher - 2084652-14826.log +14 -0
  44. data/spec/support/logs/Dispatcher - 2084656-10619.log +10 -0
  45. data/spec/support/logs/Dispatcher - 2084662-30386.log +16 -0
  46. data/spec/support/logs/Dispatcher - 2084666-41980.log +14 -0
  47. data/spec/support/logs/Dispatcher - 2084671-28195.log +10 -0
  48. data/spec/support/logs/Dispatcher - 2084679-24212.log +6 -0
  49. data/spec/support/logs/Dispatcher - 2084684-24840.log +6 -0
  50. data/spec/support/logs/Dispatcher - 2084690-2330.log +6 -0
  51. data/spec/support/logs/Dispatcher - 2084696-42100.log +6 -0
  52. data/spec/support/logs/Dispatcher - 2084708-56679.log +6 -0
  53. data/spec/support/logs/Dispatcher - 2084715-59455.log +6 -0
  54. data/spec/support/logs/Dispatcher - 2084720-46091.log +6 -0
  55. data/spec/support/logs/Dispatcher - 2084724-21347.log +6 -0
  56. data/spec/support/logs/Dispatcher - 2084728-3813.log +6 -0
  57. data/spec/support/logs/Dispatcher - 2084747-54065.log +6 -0
  58. data/spec/support/logs/Dispatcher - 2084801-19412.log +16 -0
  59. data/spec/support/logs/Dispatcher - 2084811-59797.log +14 -0
  60. data/spec/support/logs/Dispatcher - 2084823-23899.log +10 -0
  61. data/spec/support/logs/Dispatcher - 2084830-47281.log +16 -0
  62. data/spec/support/logs/Dispatcher - 2084837-10298.log +14 -0
  63. data/spec/support/logs/Dispatcher - 2084841-56001.log +10 -0
  64. data/spec/support/logs/Dispatcher - 2084853-1565.log +6 -0
  65. data/spec/support/logs/Dispatcher - 2084857-31352.log +6 -0
  66. data/spec/support/logs/Dispatcher - 2084877-22664.log +6 -0
  67. data/spec/support/logs/Dispatcher - 2084887-58267.log +6 -0
  68. data/spec/support/logs/Dispatcher - 2084900-14813.log +6 -0
  69. data/spec/support/logs/Dispatcher - 2084918-27095.log +6 -0
  70. data/spec/support/logs/Dispatcher - 2084922-38881.log +6 -0
  71. data/spec/support/logs/Dispatcher - 2084927-9197.log +6 -0
  72. data/spec/support/logs/Dispatcher - 2084933-45835.log +6 -0
  73. data/spec/support/logs/Dispatcher - 2084939-1500.log +16 -0
  74. data/spec/support/logs/Dispatcher - 2084943-48331.log +14 -0
  75. data/spec/support/logs/Dispatcher - 2084948-34909.log +10 -0
  76. data/spec/support/logs/Dispatcher - 2084954-49726.log +16 -0
  77. data/spec/support/logs/Dispatcher - 2084958-35176.log +14 -0
  78. data/spec/support/logs/Dispatcher - 2084962-62104.log +10 -0
  79. data/spec/support/logs/Dispatcher - 2084974-6819.log +6 -0
  80. data/spec/support/logs/Dispatcher - 2084978-13104.log +6 -0
  81. data/spec/support/logs/Dispatcher - 2084983-59939.log +6 -0
  82. data/spec/support/logs/Dispatcher - 2084985-53535.log +6 -0
  83. data/spec/support/logs/Dispatcher - 2084995-18515.log +6 -0
  84. data/spec/support/logs/Dispatcher - 2085000-55889.log +6 -0
  85. data/spec/support/logs/Dispatcher - 2085006-56531.log +6 -0
  86. data/spec/support/logs/Dispatcher - 2085010-2253.log +6 -0
  87. data/spec/support/logs/Dispatcher - 2085014-50939.log +6 -0
  88. data/spec/support/logs/Dispatcher - 2085037-15194.log +6 -0
  89. data/spec/support/logs/Dispatcher - 2085107-51681.log +16 -0
  90. data/spec/support/logs/Dispatcher - 2085117-64122.log +14 -0
  91. data/spec/support/logs/Dispatcher - 2085124-63731.log +10 -0
  92. data/spec/support/logs/Dispatcher - 2085130-3512.log +16 -0
  93. data/spec/support/logs/Dispatcher - 2085138-19989.log +14 -0
  94. data/spec/support/logs/Dispatcher - 2085144-39261.log +10 -0
  95. data/spec/support/logs/Dispatcher - 2085155-25349.log +6 -0
  96. data/spec/support/logs/Dispatcher - 2085164-29569.log +6 -0
  97. data/spec/support/logs/Dispatcher - 2085174-35683.log +6 -0
  98. data/spec/support/logs/Dispatcher - 2085188-19138.log +6 -0
  99. data/spec/support/logs/Dispatcher - 2085196-49875.log +6 -0
  100. data/spec/support/logs/Dispatcher - 2085206-21198.log +6 -0
  101. data/spec/support/logs/Dispatcher - 2085212-33052.log +6 -0
  102. data/spec/support/logs/Dispatcher - 2085217-42794.log +6 -0
  103. data/spec/support/logs/Dispatcher - 2085284-29818.log +6 -0
  104. data/spec/support/logs/Dispatcher - 2085289-38774.log +16 -0
  105. data/spec/support/logs/Dispatcher - 2085291-53018.log +14 -0
  106. data/spec/support/logs/Dispatcher - 2085295-56998.log +10 -0
  107. data/spec/support/logs/Dispatcher - 2085301-13055.log +16 -0
  108. data/spec/support/logs/Dispatcher - 2085307-27829.log +14 -0
  109. data/spec/support/logs/Dispatcher - 2085313-62492.log +10 -0
  110. data/spec/support/logs/Dispatcher - 2085319-65144.log +6 -0
  111. data/spec/support/logs/Dispatcher - 2085321-33632.log +6 -0
  112. data/spec/support/logs/Dispatcher - 2085325-50203.log +6 -0
  113. data/spec/support/logs/Dispatcher - 2085327-26879.log +6 -0
  114. data/spec/support/logs/Dispatcher - 2085350-45657.log +6 -0
  115. data/spec/support/logs/Dispatcher - 2085354-31092.log +6 -0
  116. data/spec/support/logs/Dispatcher - 2085358-34299.log +6 -0
  117. data/spec/support/logs/Dispatcher - 2085362-1655.log +6 -0
  118. data/spec/support/logs/Dispatcher - 2085366-24205.log +6 -0
  119. data/spec/support/logs/Dispatcher - 2085390-59700.log +6 -0
  120. data/spec/support/logs/Dispatcher - 2085456-15485.log +16 -0
  121. data/spec/support/logs/Dispatcher - 2085466-42753.log +14 -0
  122. data/spec/support/logs/Dispatcher - 2085477-15058.log +10 -0
  123. data/spec/support/logs/Dispatcher - 2085518-2292.log +16 -0
  124. data/spec/support/logs/Dispatcher - 2085522-19832.log +14 -0
  125. data/spec/support/logs/Dispatcher - 2085531-38976.log +10 -0
  126. data/spec/support/logs/Dispatcher - 2085545-37623.log +6 -0
  127. data/spec/support/logs/Dispatcher - 2085549-51738.log +6 -0
  128. data/spec/support/logs/Dispatcher - 2085559-60468.log +6 -0
  129. data/spec/support/logs/Dispatcher - 2085575-35794.log +6 -0
  130. data/spec/support/logs/Dispatcher - 2085583-19494.log +6 -0
  131. data/spec/support/logs/Dispatcher - 2085597-55072.log +6 -0
  132. data/spec/support/logs/Dispatcher - 2085603-61074.log +6 -0
  133. data/spec/support/logs/Dispatcher - 2085608-56310.log +6 -0
  134. data/spec/support/logs/Dispatcher - 2129919-54627.log +16 -0
  135. data/spec/support/logs/Dispatcher - 2129923-22332.log +14 -0
  136. data/spec/support/logs/Dispatcher - 2129929-4902.log +10 -0
  137. data/spec/support/logs/Dispatcher - 2129941-56558.log +16 -0
  138. data/spec/support/logs/Dispatcher - 2129944-29611.log +14 -0
  139. data/spec/support/logs/Dispatcher - 2129948-32559.log +10 -0
  140. data/spec/support/logs/Dispatcher - 2129957-40662.log +16 -0
  141. data/spec/support/logs/Dispatcher - 2129963-37747.log +14 -0
  142. data/spec/support/logs/Dispatcher - 2129968-3200.log +10 -0
  143. data/spec/support/logs/Dispatcher - 2130020-23055.log +16 -0
  144. data/spec/support/logs/Dispatcher - 2130024-57755.log +14 -0
  145. data/spec/support/logs/Dispatcher - 2130029-59884.log +10 -0
  146. data/spec/support/logs/Dispatcher - 2130035-34381.log +16 -0
  147. data/spec/support/logs/Dispatcher - 2130037-51580.log +14 -0
  148. data/spec/support/logs/Dispatcher - 2130047-50278.log +10 -0
  149. data/spec/support/logs/Dispatcher - 2130076-30559.log +16 -0
  150. data/spec/support/logs/Dispatcher - 2130078-10491.log +14 -0
  151. data/spec/support/logs/Dispatcher - 2130082-55801.log +10 -0
  152. data/spec/support/logs/Dispatcher - 2130496-46916.log +16 -0
  153. data/spec/support/logs/Dispatcher - 2130500-35987.log +14 -0
  154. data/spec/support/logs/Dispatcher - 2130505-57402.log +10 -0
  155. data/spec/support/logs/Dispatcher - 2130511-53706.log +16 -0
  156. data/spec/support/logs/Dispatcher - 2130514-12390.log +14 -0
  157. data/spec/support/logs/Dispatcher - 2130518-8896.log +10 -0
  158. data/spec/support/logs/Dispatcher - 2130534-23838.log +16 -0
  159. data/spec/support/logs/Dispatcher - 2130536-48443.log +14 -0
  160. data/spec/support/logs/Dispatcher - 2130545-65368.log +10 -0
  161. data/spec/support/logs/Dispatcher - 2130550-22158.log +16 -0
  162. data/spec/support/logs/Dispatcher - 2130552-11552.log +14 -0
  163. data/spec/support/logs/Dispatcher - 2130556-16962.log +10 -0
  164. data/spec/support/logs/Dispatcher - 2130580-20313.log +16 -0
  165. data/spec/support/logs/Dispatcher - 2130584-56766.log +14 -0
  166. data/spec/support/logs/Dispatcher - 2130589-51160.log +10 -0
  167. data/spec/support/logs/Dispatcher - 2130599-32055.log +16 -0
  168. data/spec/support/logs/Dispatcher - 2130602-17133.log +14 -0
  169. data/spec/support/logs/Dispatcher - 2130608-60258.log +10 -0
  170. data/spec/support/logs/Dispatcher - 2130618-15506.log +16 -0
  171. data/spec/support/logs/Dispatcher - 2130620-59925.log +14 -0
  172. data/spec/support/logs/Dispatcher - 2130624-63217.log +10 -0
  173. data/spec/support/logs/Dispatcher - 2130629-59335.log +16 -0
  174. data/spec/support/logs/Dispatcher - 2130631-49411.log +14 -0
  175. data/spec/support/logs/Dispatcher - 2130637-5579.log +10 -0
  176. data/spec/support/logs/Dispatcher - 2130936-2924.log +16 -0
  177. data/spec/support/logs/Dispatcher - 2130950-64910.log +14 -0
  178. data/spec/support/logs/Dispatcher - 2130958-47251.log +10 -0
  179. data/spec/support/logs/Dispatcher - 2130989-57164.log +16 -0
  180. data/spec/support/logs/Dispatcher - 2131002-17160.log +14 -0
  181. data/spec/support/logs/Dispatcher - 2131012-21397.log +10 -0
  182. data/spec/support/logs/Dispatcher - 2131025-28295.log +16 -0
  183. data/spec/support/logs/Dispatcher - 2131036-33317.log +14 -0
  184. data/spec/support/logs/Dispatcher - 2131043-15257.log +10 -0
  185. data/spec/support/logs/Dispatcher - 2131076-36931.log +10 -0
  186. data/spec/support/logs/Dispatcher - 2131078-31823.log +10 -0
  187. data/spec/support/logs/Dispatcher - 2131162-44993.log +16 -0
  188. data/spec/support/logs/Dispatcher - 2131178-58290.log +14 -0
  189. data/spec/support/logs/Dispatcher - 2131186-45196.log +10 -0
  190. data/spec/support/logs/Dispatcher - 2131216-54848.log +16 -0
  191. data/spec/support/logs/Dispatcher - 2131230-45440.log +14 -0
  192. data/spec/support/logs/Dispatcher - 2131240-56994.log +10 -0
  193. data/spec/support/logs/Dispatcher - 2131249-39008.log +16 -0
  194. data/spec/support/logs/Dispatcher - 2131261-44998.log +14 -0
  195. data/spec/support/logs/Dispatcher - 2131270-38601.log +10 -0
  196. data/spec/support/logs/Dispatcher - 2131296-9480.log +10 -0
  197. data/spec/support/logs/Dispatcher - 2131298-32598.log +10 -0
  198. data/spec/support/logs/Dispatcher - 2131410-52976.log +16 -0
  199. data/spec/support/logs/Dispatcher - 2131424-19462.log +14 -0
  200. data/spec/support/logs/Dispatcher - 2131437-9356.log +10 -0
  201. data/spec/support/logs/Dispatcher - 2131470-17236.log +16 -0
  202. data/spec/support/logs/Dispatcher - 2131483-58007.log +14 -0
  203. data/spec/support/logs/Dispatcher - 2131491-8037.log +10 -0
  204. data/spec/support/logs/Dispatcher - 2131502-61497.log +16 -0
  205. data/spec/support/logs/Dispatcher - 2131512-59741.log +14 -0
  206. data/spec/support/logs/Dispatcher - 2131519-39028.log +10 -0
  207. data/spec/support/logs/Dispatcher - 2131556-14332.log +10 -0
  208. data/spec/support/logs/Dispatcher - 2131558-31938.log +10 -0
  209. data/spec/support/logs/Dispatcher - 2131699-14865.log +16 -0
  210. data/spec/support/logs/Dispatcher - 2131711-47373.log +14 -0
  211. data/spec/support/logs/Dispatcher - 2131723-8945.log +10 -0
  212. data/spec/support/logs/Dispatcher - 2131755-41131.log +16 -0
  213. data/spec/support/logs/Dispatcher - 2131771-46583.log +14 -0
  214. data/spec/support/logs/Dispatcher - 2131794-51997.log +10 -0
  215. data/spec/support/logs/Dispatcher - 2131805-63007.log +16 -0
  216. data/spec/support/logs/Dispatcher - 2131818-33168.log +14 -0
  217. data/spec/support/logs/Dispatcher - 2131825-44824.log +10 -0
  218. data/spec/support/logs/Dispatcher - 2131851-49930.log +10 -0
  219. data/spec/support/logs/Dispatcher - 2131853-60292.log +10 -0
  220. data/spec/support/logs/Dispatcher - 2131866-56677.log +16 -0
  221. data/spec/support/logs/Dispatcher - 2131890-1384.log +14 -0
  222. data/spec/support/logs/Dispatcher - 2131898-44219.log +10 -0
  223. data/spec/support/logs/Dispatcher - 2131926-30670.log +16 -0
  224. data/spec/support/logs/Dispatcher - 2131941-41491.log +14 -0
  225. data/spec/support/logs/Dispatcher - 2131950-47334.log +10 -0
  226. data/spec/support/logs/Dispatcher - 2132013-62855.log +16 -0
  227. data/spec/support/logs/Dispatcher - 2132034-62247.log +14 -0
  228. data/spec/support/logs/Dispatcher - 2132044-61266.log +10 -0
  229. data/spec/support/logs/Dispatcher - 2132085-18623.log +16 -0
  230. data/spec/support/logs/Dispatcher - 2132098-50893.log +14 -0
  231. data/spec/support/logs/Dispatcher - 2132107-14083.log +10 -0
  232. data/spec/support/logs/Dispatcher - 2132137-63194.log +16 -0
  233. data/spec/support/logs/Dispatcher - 2132151-18639.log +14 -0
  234. data/spec/support/logs/Dispatcher - 2132165-48796.log +10 -0
  235. data/spec/support/logs/Dispatcher - 2132228-51697.log +16 -0
  236. data/spec/support/logs/Dispatcher - 2132249-47460.log +14 -0
  237. data/spec/support/logs/Dispatcher - 2132258-12678.log +10 -0
  238. data/spec/support/logs/Dispatcher - 2132275-27587.log +16 -0
  239. data/spec/support/logs/Dispatcher - 2132290-30441.log +14 -0
  240. data/spec/support/logs/Dispatcher - 2132299-61158.log +10 -0
  241. data/spec/support/logs/Dispatcher - 2132322-9888.log +6 -0
  242. data/spec/support/logs/Dispatcher - 2132329-57731.log +16 -0
  243. data/spec/support/logs/Dispatcher - 2132332-16308.log +14 -0
  244. data/spec/support/logs/Dispatcher - 2132336-9093.log +10 -0
  245. data/spec/support/logs/Dispatcher - 2132349-13508.log +16 -0
  246. data/spec/support/logs/Dispatcher - 2132351-24439.log +14 -0
  247. data/spec/support/logs/Dispatcher - 2132355-17731.log +10 -0
  248. data/spec/support/logs/Dispatcher - 2132363-35053.log +16 -0
  249. data/spec/support/logs/Dispatcher - 2132365-2390.log +14 -0
  250. data/spec/support/logs/Dispatcher - 2132369-24028.log +10 -0
  251. data/spec/support/logs/Dispatcher - 2132381-38142.log +16 -0
  252. data/spec/support/logs/Dispatcher - 2132388-19936.log +14 -0
  253. data/spec/support/logs/Dispatcher - 2132393-25715.log +10 -0
  254. data/spec/support/logs/Dispatcher - 2132398-37330.log +16 -0
  255. data/spec/support/logs/Dispatcher - 2132403-51310.log +14 -0
  256. data/spec/support/logs/Dispatcher - 2132408-22358.log +10 -0
  257. data/spec/support/logs/Dispatcher - 2132418-33568.log +6 -0
  258. data/spec/support/logs/Dispatcher - 2132420-35943.log +6 -0
  259. data/spec/support/logs/Dispatcher - 2132427-60028.log +6 -0
  260. data/spec/support/logs/Dispatcher - 2132430-46507.log +6 -0
  261. data/spec/support/logs/Dispatcher - 2132442-21537.log +6 -0
  262. data/spec/support/logs/Dispatcher - 2132448-34492.log +6 -0
  263. data/spec/support/logs/Dispatcher - 2132452-38047.log +6 -0
  264. data/spec/support/logs/Dispatcher - 2132456-7171.log +6 -0
  265. data/spec/support/logs/Dispatcher - 2132460-38441.log +6 -0
  266. data/spec/support/logs/Dispatcher - 2132480-56600.log +6 -0
  267. data/spec/support/logs/Dispatcher - 2132543-21077.log +16 -0
  268. data/spec/support/logs/Dispatcher - 2132554-64077.log +14 -0
  269. data/spec/support/logs/Dispatcher - 2132561-57377.log +10 -0
  270. data/spec/support/logs/Dispatcher - 2132587-6406.log +16 -0
  271. data/spec/support/logs/Dispatcher - 2132597-36294.log +14 -0
  272. data/spec/support/logs/Dispatcher - 2132604-18769.log +10 -0
  273. data/spec/support/logs/Dispatcher - 2132615-9908.log +16 -0
  274. data/spec/support/logs/Dispatcher - 2132625-52945.log +14 -0
  275. data/spec/support/logs/Dispatcher - 2132640-35578.log +10 -0
  276. data/spec/support/logs/Dispatcher - 2132681-61419.log +10 -0
  277. data/spec/support/logs/Dispatcher - 2132684-40433.log +10 -0
  278. data/spec/support/logs/Dispatcher - 2132699-38154.log +16 -0
  279. data/spec/support/logs/Dispatcher - 2132712-64833.log +14 -0
  280. data/spec/support/logs/Dispatcher - 2132717-64320.log +10 -0
  281. data/spec/support/logs/Dispatcher - 2132729-4317.log +6 -0
  282. data/spec/support/logs/Dispatcher - 2132733-33496.log +6 -0
  283. data/spec/support/logs/Dispatcher - 2132745-24264.log +6 -0
  284. data/spec/support/logs/Dispatcher - 2132760-6322.log +6 -0
  285. data/spec/support/logs/Dispatcher - 2132770-49304.log +6 -0
  286. data/spec/support/logs/Dispatcher - 2132782-18817.log +6 -0
  287. data/spec/support/logs/Dispatcher - 2132786-37539.log +6 -0
  288. data/spec/support/logs/Dispatcher - 2132792-14154.log +6 -0
  289. data/spec/support/logs/Dispatcher - 2132804-55927.log +6 -0
  290. data/spec/support/logs/Dispatcher - 2132816-48684.log +16 -0
  291. data/spec/support/logs/Dispatcher - 2132818-6591.log +14 -0
  292. data/spec/support/logs/Dispatcher - 2132822-1472.log +10 -0
  293. data/spec/support/logs/Dispatcher - 2132828-33385.log +16 -0
  294. data/spec/support/logs/Dispatcher - 2132830-35410.log +14 -0
  295. data/spec/support/logs/Dispatcher - 2132834-28167.log +10 -0
  296. data/spec/support/logs/Dispatcher - 2132846-51507.log +16 -0
  297. data/spec/support/logs/Dispatcher - 2132848-54730.log +14 -0
  298. data/spec/support/logs/Dispatcher - 2132856-19035.log +10 -0
  299. data/spec/support/logs/Dispatcher - 2132868-2494.log +16 -0
  300. data/spec/support/logs/Dispatcher - 2132870-9909.log +14 -0
  301. data/spec/support/logs/Dispatcher - 2132874-64454.log +10 -0
  302. data/spec/support/logs/Dispatcher - 2132879-51130.log +16 -0
  303. data/spec/support/logs/Dispatcher - 2132885-46014.log +14 -0
  304. data/spec/support/logs/Dispatcher - 2132889-61285.log +10 -0
  305. data/spec/support/logs/Dispatcher - 2132895-34598.log +6 -0
  306. data/spec/support/logs/Dispatcher - 2132897-10597.log +6 -0
  307. data/spec/support/logs/Dispatcher - 2132901-26245.log +6 -0
  308. data/spec/support/logs/Dispatcher - 2132903-51387.log +6 -0
  309. data/spec/support/logs/Dispatcher - 2132915-52548.log +6 -0
  310. data/spec/support/logs/Dispatcher - 2132924-1420.log +6 -0
  311. data/spec/support/logs/Dispatcher - 2132928-58554.log +6 -0
  312. data/spec/support/logs/Dispatcher - 2132932-24099.log +6 -0
  313. data/spec/support/logs/Dispatcher - 2132941-13442.log +6 -0
  314. data/spec/support/logs/Dispatcher - 2132961-55061.log +6 -0
  315. data/spec/support/logs/Dispatcher - 2133017-45998.log +16 -0
  316. data/spec/support/logs/Dispatcher - 2133027-52598.log +14 -0
  317. data/spec/support/logs/Dispatcher - 2133034-54481.log +10 -0
  318. data/spec/support/logs/Dispatcher - 2133072-64055.log +16 -0
  319. data/spec/support/logs/Dispatcher - 2133085-51308.log +14 -0
  320. data/spec/support/logs/Dispatcher - 2133092-61065.log +10 -0
  321. data/spec/support/logs/Dispatcher - 2133102-23680.log +16 -0
  322. data/spec/support/logs/Dispatcher - 2133112-3416.log +14 -0
  323. data/spec/support/logs/Dispatcher - 2133121-36546.log +10 -0
  324. data/spec/support/logs/Dispatcher - 2133155-10308.log +10 -0
  325. data/spec/support/logs/Dispatcher - 2133159-56718.log +10 -0
  326. data/spec/support/logs/Dispatcher - 2133161-56786.log +16 -0
  327. data/spec/support/logs/Dispatcher - 2133166-18272.log +14 -0
  328. data/spec/support/logs/Dispatcher - 2133170-16928.log +10 -0
  329. data/spec/support/logs/Dispatcher - 2133183-31842.log +6 -0
  330. data/spec/support/logs/Dispatcher - 2133189-64819.log +6 -0
  331. data/spec/support/logs/Dispatcher - 2133204-46924.log +6 -0
  332. data/spec/support/logs/Dispatcher - 2133215-50738.log +6 -0
  333. data/spec/support/logs/Dispatcher - 2133228-14157.log +6 -0
  334. data/spec/support/logs/Dispatcher - 2133238-31022.log +6 -0
  335. data/spec/support/logs/Dispatcher - 2133242-1174.log +6 -0
  336. data/spec/support/logs/Dispatcher - 2133247-54108.log +6 -0
  337. data/spec/support/logs/Dispatcher - 263684-37723.log +6 -0
  338. data/spec/support/logs/Dispatcher - 263896-63833.log +6 -0
  339. data/spec/support/logs/Dispatcher - 263898-46048.log +6 -0
  340. data/spec/support/logs/Dispatcher - 263900-15914.log +6 -0
  341. data/spec/support/logs/Dispatcher - 263902-5473.log +10 -0
  342. data/spec/support/logs/Dispatcher - 263904-7198.log +10 -0
  343. data/spec/support/logs/Dispatcher - 263907-17435.log +10 -0
  344. data/spec/support/logs/Dispatcher - 263909-37976.log +10 -0
  345. data/spec/support/logs/Dispatcher - 263911-34749.log +10 -0
  346. data/spec/support/logs/Dispatcher - 263913-49655.log +10 -0
  347. data/spec/support/logs/Dispatcher - 263980-43889.log +6 -0
  348. data/spec/support/logs/Dispatcher - 264072-46009.log +6 -0
  349. data/spec/support/logs/Dispatcher - 264077-52811.log +6 -0
  350. data/spec/support/logs/Dispatcher - 264080-41200.log +6 -0
  351. data/spec/support/logs/Dispatcher - 264082-14855.log +6 -0
  352. data/spec/support/logs/Dispatcher - 264092-22503.log +6 -0
  353. data/spec/support/logs/Dispatcher - 264102-30844.log +6 -0
  354. data/spec/support/logs/Dispatcher - 264114-58912.log +6 -0
  355. data/spec/support/logs/Dispatcher - 264116-52016.log +6 -0
  356. data/spec/support/logs/Dispatcher - 264118-47480.log +6 -0
  357. data/spec/support/logs/Dispatcher - 264120-21725.log +6 -0
  358. data/spec/support/logs/Dispatcher - 264122-28950.log +6 -0
  359. data/spec/support/logs/Dispatcher - 264126-15967.log +6 -0
  360. data/spec/support/logs/Dispatcher - 264128-51091.log +16 -0
  361. data/spec/support/logs/Dispatcher - 264130-8447.log +14 -0
  362. data/spec/support/logs/Dispatcher - 264135-28192.log +10 -0
  363. data/spec/support/logs/Dispatcher - 264142-54802.log +16 -0
  364. data/spec/support/logs/Dispatcher - 264144-39272.log +14 -0
  365. data/spec/support/logs/Dispatcher - 264148-56931.log +10 -0
  366. data/spec/support/logs/Dispatcher - 264156-1360.log +16 -0
  367. data/spec/support/logs/Dispatcher - 264158-55531.log +14 -0
  368. data/spec/support/logs/Dispatcher - 264162-8716.log +10 -0
  369. data/spec/support/logs/Dispatcher - 264167-4463.log +16 -0
  370. data/spec/support/logs/Dispatcher - 264169-32905.log +14 -0
  371. data/spec/support/logs/Dispatcher - 264173-14868.log +10 -0
  372. data/spec/support/logs/Dispatcher - 264179-62029.log +16 -0
  373. data/spec/support/logs/Dispatcher - 264186-25376.log +14 -0
  374. data/spec/support/logs/Dispatcher - 264191-60115.log +10 -0
  375. data/spec/support/logs/Dispatcher - 264197-23758.log +6 -0
  376. data/spec/support/logs/Dispatcher - 264199-54852.log +6 -0
  377. data/spec/support/logs/Dispatcher - 264203-9569.log +6 -0
  378. data/spec/support/logs/Dispatcher - 264205-21377.log +6 -0
  379. data/spec/support/logs/Dispatcher - 264215-36440.log +6 -0
  380. data/spec/support/logs/Dispatcher - 264220-10857.log +6 -0
  381. data/spec/support/logs/Dispatcher - 264224-57564.log +6 -0
  382. data/spec/support/logs/Dispatcher - 264229-39123.log +6 -0
  383. data/spec/support/logs/Dispatcher - 264234-44673.log +6 -0
  384. data/spec/support/logs/Dispatcher - 264258-18456.log +6 -0
  385. data/spec/support/logs/Dispatcher - 264314-20266.log +16 -0
  386. data/spec/support/logs/Dispatcher - 264328-20024.log +14 -0
  387. data/spec/support/logs/Dispatcher - 264337-11629.log +10 -0
  388. data/spec/support/logs/Dispatcher - 264361-39155.log +16 -0
  389. data/spec/support/logs/Dispatcher - 264371-39939.log +14 -0
  390. data/spec/support/logs/Dispatcher - 264380-29600.log +10 -0
  391. data/spec/support/logs/Dispatcher - 264401-60428.log +16 -0
  392. data/spec/support/logs/Dispatcher - 264411-34835.log +14 -0
  393. data/spec/support/logs/Dispatcher - 264418-7558.log +10 -0
  394. data/spec/support/logs/Dispatcher - 264443-28575.log +10 -0
  395. data/spec/support/logs/Dispatcher - 264445-29220.log +10 -0
  396. data/spec/support/logs/Dispatcher - 264447-5236.log +16 -0
  397. data/spec/support/logs/Dispatcher - 264452-41191.log +14 -0
  398. data/spec/support/logs/Dispatcher - 264456-31121.log +10 -0
  399. data/spec/support/logs/Dispatcher - 264467-2875.log +6 -0
  400. data/spec/support/logs/Dispatcher - 264471-4172.log +6 -0
  401. data/spec/support/logs/Dispatcher - 264483-15017.log +6 -0
  402. data/spec/support/logs/Dispatcher - 264493-6347.log +6 -0
  403. data/spec/support/logs/Dispatcher - 264502-33089.log +6 -0
  404. data/spec/support/logs/Dispatcher - 264512-37281.log +6 -0
  405. data/spec/support/logs/Dispatcher - 264516-62552.log +6 -0
  406. data/spec/support/logs/Dispatcher - 264521-24238.log +6 -0
  407. data/spec/support/logs/Dispatcher - 264681-16588.log +6 -0
  408. data/spec/support/logs/Dispatcher - 264690-20673.log +6 -0
  409. data/spec/support/logs/Dispatcher - 264697-43473.log +6 -0
  410. data/spec/support/logs/Instance - 264561-55945.error.log +105 -0
  411. data/spec/support/logs/Instance - 264572-22790.error.log +105 -0
  412. data/spec/support/logs/Instance - 264580-20320.error.log +105 -0
  413. data/spec/support/logs/Scheduler - 263650-40429.log +3 -0
  414. data/spec/support/logs/Scheduler - 263654-17843.log +6 -0
  415. data/spec/support/logs/Scheduler - 263708-57130.log +3 -0
  416. data/spec/support/logs/Scheduler - 263719-23288.log +6 -0
  417. data/spec/support/logs/Scheduler - 263732-47848.log +4 -0
  418. data/spec/support/logs/Scheduler - 263749-59913.log +1 -0
  419. data/spec/support/logs/Scheduler - 263762-61923.log +3 -0
  420. data/spec/support/logs/Scheduler - 263770-65413.log +6 -0
  421. data/spec/support/logs/Scheduler - 263807-35819.log +3 -0
  422. data/spec/support/logs/Scheduler - 263815-7104.log +6 -0
  423. data/spec/support/logs/Scheduler - 263835-3062.log +3 -0
  424. data/spec/support/logs/Scheduler - 263848-15777.log +6 -0
  425. data/spec/support/logs/Scheduler - 263874-10387.log +4 -0
  426. data/spec/support/logs/Scheduler - 263887-39612.log +6 -0
  427. data/spec/support/logs/Scheduler - 263915-28009.log +1 -0
  428. data/spec/support/logs/Scheduler - 263920-22341.log +1 -0
  429. data/spec/support/logs/Scheduler - 263923-33469.log +1 -0
  430. data/spec/support/logs/Scheduler - 263925-36367.log +1 -0
  431. data/spec/support/logs/Scheduler - 263927-31139.log +1 -0
  432. data/spec/support/logs/Scheduler - 263929-4002.log +1 -0
  433. data/spec/support/logs/Scheduler - 263931-48598.log +3 -0
  434. data/spec/support/logs/Scheduler - 263935-12059.log +6 -0
  435. data/spec/support/logs/Scheduler - 263950-1219.log +4 -0
  436. data/spec/support/logs/Scheduler - 263957-50923.log +1 -0
  437. data/spec/support/logs/Scheduler - 263961-4500.log +1 -0
  438. data/spec/support/logs/Scheduler - 263965-16042.log +1 -0
  439. data/spec/support/logs/Scheduler - 263967-26380.log +1 -0
  440. data/spec/support/logs/Scheduler - 263969-50677.log +3 -0
  441. data/spec/support/logs/Scheduler - 263973-24517.log +1 -0
  442. data/spec/support/logs/Scheduler - 263975-42635.log +1 -0
  443. data/spec/support/logs/Scheduler - 263977-19951.log +1 -0
  444. data/spec/support/logs/Scheduler - 264646-12355.log +16 -0
  445. data/spec/support/logs/Scheduler - 264660-2662.log +6 -0
  446. data/spec/support/logs/Scheduler - 264673-4243.log +6 -0
  447. data/spec/support/logs/Scheduler - 264683-1704.log +6 -0
  448. data/spec/support/logs/Scheduler - 264692-31371.log +3 -0
  449. data/spec/support/logs/Scheduler - 264699-49649.log +5 -0
  450. data/spec/support/logs/Scheduler - 264704-1895.log +1 -0
  451. data/spec/support/logs/Scheduler - 264706-43058.log +1 -0
  452. data/spec/support/logs/Scheduler - 264708-30463.log +1 -0
  453. data/spec/support/logs/Scheduler - 264711-52740.log +1 -0
  454. data/spec/support/logs/Scheduler - 264714-33818.log +1 -0
  455. data/spec/support/logs/Scheduler - 264716-16660.log +1 -0
  456. data/spec/support/logs/Scheduler - 264718-21301.log +1 -0
  457. data/spec/support/logs/Scheduler - 264721-39177.log +3 -0
  458. data/spec/support/logs/Scheduler - 264729-42720.log +3 -0
  459. data/spec/support/logs/Scheduler - 264738-21054.log +3 -0
  460. data/spec/support/logs/Scheduler - 264744-37138.log +3 -0
  461. data/spec/support/logs/Scheduler - 264750-25208.log +4 -0
  462. data/spec/support/logs/Scheduler - 264764-22070.log +1 -0
  463. data/spec/support/logs/Scheduler - 264769-51485.log +4 -0
  464. data/spec/support/logs/Scheduler - 264771-15448.log +1 -0
  465. data/spec/support/logs/Scheduler - 264774-36444.log +1 -0
  466. data/spec/support/logs/Scheduler - 264776-40748.log +16 -0
  467. data/spec/support/logs/Scheduler - 264792-62008.log +4 -0
  468. data/spec/support/logs/Scheduler - 264796-25788.log +1 -0
  469. data/spec/support/logs/Scheduler - 264799-8917.log +1 -0
  470. data/spec/support/logs/Scheduler - 264801-6298.log +1 -0
  471. data/spec/support/logs/Scheduler - 264804-26507.log +1 -0
  472. data/spec/support/logs/Scheduler - 264807-40623.log +3 -0
  473. data/spec/support/logs/Scheduler - 264813-58171.log +1 -0
  474. data/spec/support/logs/Scheduler - 264815-33890.log +1 -0
  475. data/spec/support/logs/Scheduler - 264817-62292.log +1 -0
  476. data/spec/support/logs/Scheduler - 264819-41618.log +1 -0
  477. data/spec/support/logs/Scheduler - 264823-29265.log +1 -0
  478. data/spec/support/logs/Scheduler - 264826-35178.log +1 -0
  479. data/spec/support/logs/Scheduler - 264829-30221.log +2 -0
  480. data/spec/support/logs/error-263434.log +829 -0
  481. data/spec/support/logs/output_spec_263434.log +422 -0
  482. data/spec/support/reports/00bd7efdd6aa8a8752925c160d0a2193.crf +0 -0
  483. data/spec/support/reports/0a316e9d67391c167bc54b2884dd4ee2.crf +0 -0
  484. data/spec/support/reports/0bb89f41e692b10f6b36f58676531fe2.crf +0 -0
  485. data/spec/support/reports/0c99fb4bf2a1442ae228829a2449c879.crf +0 -0
  486. data/spec/support/reports/1671ac84eade980f817e12512f55e272.crf +0 -0
  487. data/spec/support/reports/2129892df8c5c0437128f2cd8199a723.crf +0 -0
  488. data/spec/support/reports/3893f10c90a1b221786d08956c79b184.crf +0 -0
  489. data/spec/support/reports/3fd38fe1e2de9e4021acc85865ed226a.crf +0 -0
  490. data/spec/support/reports/446ef5ba5f38d6152193a9d3f3366165.crf +0 -0
  491. data/spec/support/reports/627c9b04ad3b44b45413f2f3c1bfc7a9.crf +0 -0
  492. data/spec/support/reports/637183f80faf6fdb29c74fd142c64a95.crf +0 -0
  493. data/spec/support/reports/808bac9566f4a81686d4dfb648a0b321.crf +0 -0
  494. data/spec/support/reports/94f726f4caf8bb420b2b8c729d6da725.crf +0 -0
  495. data/spec/support/reports/a7041c274ac038cde8b9fa2d7de99ef2.crf +0 -0
  496. data/spec/support/reports/aebfde79f73b167e5269f424e609bc6a.crf +0 -0
  497. data/spec/support/reports/d806c4456de1b2bd002f74f3066674b1.crf +0 -0
  498. data/spec/support/reports/e17c8b6c4f11857957341e3572eec0bd.crf +0 -0
  499. data/spec/support/reports/e6ac0ea657944a3fe10e3a1a8e0c2f5b.crf +0 -0
  500. data/spec/support/reports/ec4d4e7692f5dd4627850f02f0a945b0.crf +0 -0
  501. data/spec/support/snapshots/Cuboid 2022-01-12 20_50_39 +0200 6b9b43a8ae562dd075d19e9d9737c443.csf +0 -0
  502. data/spec/support/snapshots/Cuboid 2022-01-12 20_53_00 +0200 4773bce9d0852cec721dccd12cd26ef9.csf +0 -0
  503. data/spec/support/snapshots/Cuboid 2022-01-12 20_54_48 +0200 94c6e184cd310daa961c7616fccc70cb.csf +0 -0
  504. data/spec/support/snapshots/Cuboid 2022-01-12 20_57_28 +0200 58c845b6dff371321d8fdcca5ebf06d7.csf +0 -0
  505. data/spec/support/snapshots/Cuboid 2022-01-13 08_49_01 +0200 9cf4dc63eff877e153debc10639f229b.csf +0 -0
  506. data/spec/support/snapshots/Cuboid 2022-01-13 08_51_44 +0200 61014eca41ee1ae247e18b3c68b82363.csf +0 -0
  507. data/spec/support/snapshots/Cuboid 2022-01-15 11_30_50 +0200 7b1ec419a5f121770a982a07a6adab42.csf +0 -0
  508. data/spec/support/snapshots/Cuboid 2022-01-15 11_31_05 +0200 833df3943edee39c3f6f82a07b6e434d.csf +0 -0
  509. data/spec/support/snapshots/Cuboid 2022-01-15 11_31_43 +0200 dd2bd25e273bf3bf95ca68603b73793f.csf +0 -0
  510. data/spec/support/snapshots/Cuboid 2022-01-15 11_31_57 +0200 506adb8dff57ffc73284c15c989465ed.csf +0 -0
  511. data/spec/support/snapshots/Cuboid 2022-01-15 11_39_57 +0200 1dbbd4131c9434cd0a2b27f3df17c5a4.csf +0 -0
  512. data/spec/support/snapshots/Cuboid 2022-01-15 11_40_01 +0200 cefd2dc57d12137a152dcc1d5dd7d73e.csf +0 -0
  513. data/spec/support/snapshots/Cuboid 2022-01-15 11_40_03 +0200 ba4f4d4ebb47040c504c55bfb592b7e1.csf +0 -0
  514. metadata +1010 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cbcb75c293c3807aa184d72232133f7dd4adc4fe729d61e319885915a2c61393
4
- data.tar.gz: b69dcab26139c027ebc3aed19c6ddd5bd5576ca9d60b80bcc2093c43dce45900
3
+ metadata.gz: a640876cd5ec28f9568947bef4c9cb0ebb222e62ec49690ebaaf74f32b17c5f8
4
+ data.tar.gz: 40189342279e0719ce0840ea41bfd3320057d60610e35039f2da9fd7ca9428ed
5
5
  SHA512:
6
- metadata.gz: 63bd14b98fb47ac55c5d63083c7897b1befc9dabb6fd2299c9d677a3fae9f7218636a4a2a550d145a6ab5bc691d37943262c9c6445427521b5dc1b5969ffa9ee
7
- data.tar.gz: e4b741b30fe68176fe86bc84b8e4e49e5ef7cb5d908eb19871ebd76d36ae53c9aeb4f6940382f81da68a962ae9c03262e0f1504a4f6cebcef759a0303d889b1a
6
+ metadata.gz: de7922d59f271ac39d4e709680b96795ce136c9153889f4592dccffda25bd17792b6080147b95fa4919a391fd8dac827f3a65322fbb51d1e369a91ff4b3e3236
7
+ data.tar.gz: d38bfa6117aff9234cee45917168627ef5a132525994cabe57418a035fa424197a25dd1e9aa098759eeb640125effd7025558ea108082ed473539f7ae9cef39b
data/Gemfile CHANGED
@@ -2,8 +2,6 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem 'rake', '13.0.3'
4
4
 
5
- gem 'arachni-reactor', path: '../../arachni-reactor'
6
-
7
5
  group :docs do
8
6
  gem 'yard'
9
7
  gem 'redcarpet'
data/README.md CHANGED
@@ -14,6 +14,7 @@ It offers:
14
14
  * No need to setup a topology manually, _**Dispatchers**_ will reach
15
15
  convergence on their own, just point them to an existing _**Grid**_ member.
16
16
  * Scaling up and down can be easily achieved by _plugging_ or _unplugging_ nodes.
17
+ * Horizontal (`default`) and vertical workload distribution strategies available.
17
18
  * Fault tolerant -- one application per process (_**Instance**_).
18
19
  * Self-healing -- keeps an eye out for disappearing and also re-appearing members.
19
20
  * A clean and simple framework for application development.
@@ -74,16 +74,21 @@ class Paths < Cuboid::OptionGroup
74
74
 
75
75
  def initialize
76
76
  @root = self.root_path
77
+ FileUtils.mkdir_p home_path
77
78
 
78
- @snapshots = self.config['snapshots'] || @root + 'snapshots/'
79
- @reports = self.config['reports'] || @root + 'reports/'
79
+ @snapshots = self.config['snapshots'] || home_path + 'snapshots/'
80
+ FileUtils.mkdir_p @snapshots
81
+
82
+ @reports = self.config['reports'] || home_path + 'reports/'
83
+ FileUtils.mkdir_p @reports
80
84
 
81
85
  if ENV['CUBOID_LOGDIR'].to_s != ''
82
86
  @logs = "#{ENV['CUBOID_LOGDIR']}/"
83
87
  elsif self.config['logs']
84
88
  @logs = self.config['logs']
85
89
  else
86
- @logs = "#{@root}logs/"
90
+ @logs = "#{home_path}logs/"
91
+ FileUtils.mkdir_p @logs
87
92
  end
88
93
 
89
94
  @lib = @root + 'lib/cuboid/'
@@ -98,6 +103,10 @@ class Paths < Cuboid::OptionGroup
98
103
  tmpdir
99
104
  end
100
105
 
106
+ def home_path
107
+ @home_path ||= "#{ENV['HOME']}/.cuboid/"
108
+ end
109
+
101
110
  def root_path
102
111
  self.class.root_path
103
112
  end
@@ -15,9 +15,10 @@ class ApplicationWrapper
15
15
  attr_reader :application
16
16
 
17
17
  extend Forwardable
18
- def_delegators :@application, :suspended?, :suspend!, :status,
19
- :pause!, :running?, :status_messages, :paused?,
20
- :snapshot_path, :restore!, :resume!, :generate_report
18
+ def_delegators :@application, :suspended?, :suspending?, :suspend!, :status,
19
+ :pause!, :running?, :status_messages, :paused?, :pausing?,
20
+ :snapshot_path, :restore!, :resume!, :generate_report,
21
+ :abort!, :aborting?, :aborted?
21
22
 
22
23
  # {RPC::Server::Application} error namespace.
23
24
  #
@@ -31,6 +31,8 @@ class Dispatcher
31
31
 
32
32
  SERVICE_NAMESPACE = Service
33
33
 
34
+ PREFERENCE_STRATEGIES = Set.new([:horizontal, :vertical])
35
+
34
36
  def initialize( options = Options.instance )
35
37
  @options = options
36
38
 
@@ -77,13 +79,24 @@ class Dispatcher
77
79
  @server.alive?
78
80
  end
79
81
 
82
+ # @param [Symbol] strategy
83
+ # `:horizontal` -- Pick the Dispatcher with the least amount of workload.
84
+ # `:vertical` -- Pick the Dispatcher with the most amount of workload.
85
+ #
80
86
  # @return [String, nil]
81
- # Depending on availability:
87
+ # Depending on strategy and availability:
82
88
  #
83
- # * URL of the least burdened Dispatcher. If not a grid member it will
84
- # return this Dispatcher's URL.
85
- # * `nil` if all nodes are at max utilization.
86
- def preferred( &block )
89
+ # * URL of the preferred Dispatcher. If not a grid member it will return
90
+ # this Dispatcher's URL.
91
+ # * `nil` if all nodes are at max utilization or on error.
92
+ # * `ArgumentError` -- On invalid `strategy`.
93
+ def preferred( strategy = :horizontal, &block )
94
+ strategy = strategy.to_sym
95
+ if !PREFERENCE_STRATEGIES.include? strategy
96
+ block.call :error_unknown_strategy
97
+ raise ArgumentError, "Unknown strategy: #{strategy}"
98
+ end
99
+
87
100
  if !@node.grid_member?
88
101
  block.call( self.utilization == 1 ? nil : @url )
89
102
  return
@@ -94,6 +107,16 @@ class Dispatcher
94
107
  nil : [url, utilization]
95
108
  end
96
109
 
110
+ adjust_score_by_strategy = proc do |score|
111
+ case strategy
112
+ when :horizontal
113
+ score
114
+
115
+ when :vertical
116
+ -score
117
+ end
118
+ end
119
+
97
120
  each = proc do |neighbour, iter|
98
121
  connect_to_peer( neighbour ).utilization do |utilization|
99
122
  iter.return pick_utilization.call( neighbour, utilization )
@@ -110,7 +133,7 @@ class Dispatcher
110
133
  next
111
134
  end
112
135
 
113
- block.call nodes.sort_by { |_, score| score }[0][0]
136
+ block.call nodes.sort_by { |_, score| adjust_score_by_strategy.call score }[0][0]
114
137
  end
115
138
 
116
139
  Arachni::Reactor.global.create_iterator( @node.neighbours ).map( each, after )
@@ -133,17 +156,23 @@ class Dispatcher
133
156
  # * `nil`: Max utilization, wait for one of the instances to finish and retry.
134
157
  def dispatch( options = {}, &block )
135
158
  options = options.my_symbolize_keys
159
+ strategy = options.delete(:strategy)
136
160
  owner = options[:owner]
137
161
  helpers = options[:helpers] || {}
138
162
  load_balance = options[:load_balance].nil? ? true : options[:load_balance]
139
163
 
140
164
  if load_balance && @node.grid_member?
141
- preferred do |url|
165
+ preferred *[strategy].compact do |url|
142
166
  if !url
143
167
  block.call
144
168
  next
145
169
  end
146
170
 
171
+ if url == :error_unknown_strategy
172
+ block.call :error_unknown_strategy
173
+ next
174
+ end
175
+
147
176
  connect_to_peer( url ).dispatch( options.merge(
148
177
  helpers: helpers.merge( via: @url ),
149
178
  load_balance: false
data/lib/version CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -70,7 +70,7 @@ describe Cuboid::OptionGroups::Paths do
70
70
 
71
71
  describe '#logs' do
72
72
  it 'returns the default location' do
73
- expect(subject.logs).to eq("#{subject.root}logs/")
73
+ expect(subject.logs).to eq("#{subject.home_path}logs/")
74
74
  end
75
75
 
76
76
  context 'when the CUBOID_LOGDIR environment variable' do
@@ -91,13 +91,14 @@ describe Cuboid::OptionGroups::Paths do
91
91
  end
92
92
 
93
93
  expect(described_class.new.logs).to eq('logs-stuff/')
94
+ @created_resources << described_class.new.logs
94
95
  end
95
96
  end
96
97
  end
97
98
 
98
99
  describe '#snapshots' do
99
100
  it 'returns the default location' do
100
- expect(subject.snapshots).to eq("#{subject.root}snapshots/")
101
+ expect(subject.snapshots).to eq("#{subject.home_path}snapshots/")
101
102
  end
102
103
 
103
104
  context "when #{described_class}.config['snapshots']" do
@@ -109,13 +110,14 @@ describe Cuboid::OptionGroups::Paths do
109
110
  end
110
111
 
111
112
  expect(described_class.new.snapshots).to eq('snapshots-stuff/')
113
+ @created_resources << described_class.new.snapshots
112
114
  end
113
115
  end
114
116
  end
115
117
 
116
118
  describe '#reports' do
117
119
  it 'returns the default location' do
118
- expect(subject.reports).to eq("#{subject.root}reports/")
120
+ expect(subject.reports).to eq("#{subject.home_path}reports/")
119
121
  end
120
122
 
121
123
  context "when #{described_class}.config['reports']" do
@@ -127,6 +129,7 @@ describe Cuboid::OptionGroups::Paths do
127
129
  end
128
130
 
129
131
  expect(described_class.new.reports).to eq('reports-stuff/')
132
+ @created_resources << described_class.new.reports
130
133
  end
131
134
  end
132
135
  end
@@ -20,11 +20,44 @@ describe Cuboid::RPC::Server::Dispatcher do
20
20
 
21
21
  describe '#preferred' do
22
22
  context 'when the dispatcher is a grid member' do
23
- it 'returns the URL of least burdened Dispatcher' do
24
- dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
25
- dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
23
+ context 'and strategy is' do
24
+ context :horizontal do
25
+ it 'returns the URL of least burdened Dispatcher' do
26
+ dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
27
+ dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
26
28
 
27
- expect(subject.preferred).to eq(subject.url)
29
+ expect(subject.preferred( :horizontal )).to eq(subject.url)
30
+ end
31
+ end
32
+
33
+ context :vertical do
34
+ it 'returns the URL of most burdened Dispatcher' do
35
+ dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
36
+ d = dispatcher_spawn( neighbour: subject.url )
37
+ d.dispatch( load_balance: false )
38
+ d.dispatch( load_balance: false )
39
+
40
+ expect(subject.preferred( :vertical )).to eq(d.url)
41
+ end
42
+ end
43
+
44
+ context 'default' do
45
+ it 'returns the URL of least burdened Dispatcher' do
46
+ dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
47
+ dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
48
+
49
+ expect(subject.preferred).to eq(subject.url)
50
+ end
51
+ end
52
+
53
+ context 'other' do
54
+ it 'returns :error_unknown_strategy' do
55
+ dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
56
+ dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
57
+
58
+ expect(subject.preferred( :blah )).to eq('error_unknown_strategy')
59
+ end
60
+ end
28
61
  end
29
62
 
30
63
  context 'and all Dispatchers are at max utilization' do
@@ -154,40 +187,122 @@ describe Cuboid::RPC::Server::Dispatcher do
154
187
  context 'when a Grid member' do
155
188
  let(:slots) { 4 }
156
189
 
157
- it 'returns Instance info from the least burdened Dispatcher' do
158
- d1 = dispatcher_spawn(
159
- address: '127.0.0.1',
160
- application: "#{fixtures_path}/mock_app.rb"
161
- )
190
+ context 'and strategy is' do
191
+ context :horizontal do
192
+ it 'provides Instances from the least burdened Dispatcher' do
193
+ d1 = dispatcher_spawn(
194
+ address: '127.0.0.1',
195
+ application: "#{fixtures_path}/mock_app.rb"
196
+ )
162
197
 
163
- 3.times do
164
- d1.dispatch( load_balance: false )
198
+ 3.times do
199
+ d1.dispatch( load_balance: false )
200
+ end
201
+
202
+ d2 = dispatcher_spawn(
203
+ address: '127.0.0.2',
204
+ neighbour: d1.url,
205
+ application: "#{fixtures_path}/mock_app.rb"
206
+ )
207
+
208
+ 2.times do
209
+ d2.dispatch( load_balance: false )
210
+ end
211
+
212
+ d3 = dispatcher_spawn(
213
+ address: '127.0.0.3',
214
+ neighbour: d1.url,
215
+ application: "#{fixtures_path}/mock_app.rb"
216
+ )
217
+ d3.dispatch( load_balance: false )
218
+ preferred = d3.url.split( ':' ).first
219
+
220
+ expect(d3.dispatch(strategy: :horizontal )['url'].split( ':' ).first).to eq(preferred)
221
+ expect(%W{127.0.0.3 127.0.0.2}).to include d1.dispatch['url'].split( ':' ).first
222
+ expect(d2.dispatch(strategy: :horizontal )['url'].split( ':' ).first).to eq(preferred)
223
+ expect(%W{127.0.0.1 127.0.0.3}).to include d3.dispatch(strategy: :horizontal )['url'].split( ':' ).first
224
+ expect(%W{127.0.0.2 127.0.0.3}).to include d3.dispatch(strategy: :horizontal )['url'].split( ':' ).first
225
+ expect(%W{127.0.0.2 127.0.0.3}).to include d1.dispatch(strategy: :horizontal )['url'].split( ':' ).first
226
+ end
165
227
  end
166
228
 
167
- d2 = dispatcher_spawn(
168
- address: '127.0.0.2',
169
- neighbour: d1.url,
170
- application: "#{fixtures_path}/mock_app.rb"
171
- )
229
+ context :vertical do
230
+ it 'provides Instances from the most burdened Dispatcher' do
231
+ d1 = dispatcher_spawn(
232
+ address: '127.0.0.1',
233
+ application: "#{fixtures_path}/mock_app.rb"
234
+ )
172
235
 
173
- 2.times do
174
- d2.dispatch( load_balance: false )
236
+ 3.times do
237
+ d1.dispatch( load_balance: false )
238
+ end
239
+
240
+ d2 = dispatcher_spawn(
241
+ address: '127.0.0.2',
242
+ neighbour: d1.url,
243
+ application: "#{fixtures_path}/mock_app.rb"
244
+ )
245
+
246
+ 2.times do
247
+ d2.dispatch( load_balance: false )
248
+ end
249
+
250
+ d3 = dispatcher_spawn(
251
+ address: '127.0.0.3',
252
+ neighbour: d1.url,
253
+ application: "#{fixtures_path}/mock_app.rb"
254
+ )
255
+ d3.dispatch( load_balance: false )
256
+
257
+ preferred = d1.url.split( ':' ).first
258
+ expect(d3.dispatch( strategy: :vertical )['url'].split( ':' ).first).to eq(preferred)
259
+ end
175
260
  end
176
261
 
177
- d3 = dispatcher_spawn(
178
- address: '127.0.0.3',
179
- neighbour: d1.url,
180
- application: "#{fixtures_path}/mock_app.rb"
181
- )
182
- d3.dispatch( load_balance: false )
183
- preferred = d3.url.split( ':' ).first
184
-
185
- expect(d3.dispatch['url'].split( ':' ).first).to eq(preferred)
186
- expect(%W{127.0.0.3 127.0.0.2}).to include d1.dispatch['url'].split( ':' ).first
187
- expect(d2.dispatch['url'].split( ':' ).first).to eq(preferred)
188
- expect(%W{127.0.0.1 127.0.0.3}).to include d3.dispatch['url'].split( ':' ).first
189
- expect(%W{127.0.0.2 127.0.0.3}).to include d3.dispatch['url'].split( ':' ).first
190
- expect(%W{127.0.0.2 127.0.0.3}).to include d1.dispatch['url'].split( ':' ).first
262
+ context 'default' do
263
+ it 'provides Instances from the least burdened Dispatcher' do
264
+ d1 = dispatcher_spawn(
265
+ address: '127.0.0.1',
266
+ application: "#{fixtures_path}/mock_app.rb"
267
+ )
268
+
269
+ 3.times do
270
+ d1.dispatch( load_balance: false )
271
+ end
272
+
273
+ d2 = dispatcher_spawn(
274
+ address: '127.0.0.2',
275
+ neighbour: d1.url,
276
+ application: "#{fixtures_path}/mock_app.rb"
277
+ )
278
+
279
+ 2.times do
280
+ d2.dispatch( load_balance: false )
281
+ end
282
+
283
+ d3 = dispatcher_spawn(
284
+ address: '127.0.0.3',
285
+ neighbour: d1.url,
286
+ application: "#{fixtures_path}/mock_app.rb"
287
+ )
288
+ d3.dispatch( load_balance: false )
289
+ preferred = d3.url.split( ':' ).first
290
+
291
+ expect(d3.dispatch['url'].split( ':' ).first).to eq(preferred)
292
+ expect(%W{127.0.0.3 127.0.0.2}).to include d1.dispatch['url'].split( ':' ).first
293
+ expect(d2.dispatch['url'].split( ':' ).first).to eq(preferred)
294
+ expect(%W{127.0.0.1 127.0.0.3}).to include d3.dispatch['url'].split( ':' ).first
295
+ expect(%W{127.0.0.2 127.0.0.3}).to include d3.dispatch['url'].split( ':' ).first
296
+ expect(%W{127.0.0.2 127.0.0.3}).to include d1.dispatch['url'].split( ':' ).first
297
+ end
298
+ end
299
+
300
+ context 'other' do
301
+ it 'returns :error_unknown_strategy' do
302
+ expect(dispatcher_spawn( neighbour: subject.url ).
303
+ dispatch( strategy: 'blah' )).to eq('error_unknown_strategy')
304
+ end
305
+ end
191
306
  end
192
307
 
193
308
  context 'when the load-balance option is set to false' do
@@ -0,0 +1,6 @@
1
+ [Wed Jan 12 20:48:54 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:48:54 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:48:54 2022] [status] Node ready.
4
+ [Wed Jan 12 20:48:54 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:48:54 2022] [info] <empty>
6
+ [Wed Jan 12 20:48:54 2022] [status] Ready
@@ -0,0 +1,16 @@
1
+ [Wed Jan 12 20:48:55 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:48:55 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:48:55 2022] [status] Node ready.
4
+ [Wed Jan 12 20:48:55 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:48:55 2022] [info] <empty>
6
+ [Wed Jan 12 20:48:55 2022] [status] Ready
7
+ [Wed Jan 12 20:48:56 2022] [status] Adding neighbour: 127.0.0.1:5250
8
+ [Wed Jan 12 20:48:56 2022] [info] Updated neighbours:
9
+ [Wed Jan 12 20:48:56 2022] [info] ---- 127.0.0.1:5250
10
+ [Wed Jan 12 20:48:56 2022] [status] Advertising: 127.0.0.1:5250
11
+ [Wed Jan 12 20:48:57 2022] [status] Adding neighbour: 127.0.0.1:6471
12
+ [Wed Jan 12 20:48:57 2022] [info] Updated neighbours:
13
+ [Wed Jan 12 20:48:57 2022] [info] ---- 127.0.0.1:5250
14
+ [Wed Jan 12 20:48:57 2022] [info] ---- 127.0.0.1:6471
15
+ [Wed Jan 12 20:48:57 2022] [status] Advertising: 127.0.0.1:6471
16
+ [Wed Jan 12 20:48:57 2022] [info] ---- to: 127.0.0.1:5250
@@ -0,0 +1,14 @@
1
+ [Wed Jan 12 20:48:56 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:48:56 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:48:56 2022] [status] Node ready.
4
+ [Wed Jan 12 20:48:56 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:48:56 2022] [info] <empty>
6
+ [Wed Jan 12 20:48:56 2022] [status] Ready
7
+ [Wed Jan 12 20:48:56 2022] [status] Adding neighbour: 127.0.0.1:6640
8
+ [Wed Jan 12 20:48:56 2022] [info] Updated neighbours:
9
+ [Wed Jan 12 20:48:56 2022] [info] ---- 127.0.0.1:6640
10
+ [Wed Jan 12 20:48:56 2022] [status] Advertising: 127.0.0.1:6640
11
+ [Wed Jan 12 20:48:57 2022] [status] Adding neighbour: 127.0.0.1:6471
12
+ [Wed Jan 12 20:48:57 2022] [info] Updated neighbours:
13
+ [Wed Jan 12 20:48:57 2022] [info] ---- 127.0.0.1:6640
14
+ [Wed Jan 12 20:48:57 2022] [info] ---- 127.0.0.1:6471
@@ -0,0 +1,10 @@
1
+ [Wed Jan 12 20:48:57 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:48:57 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:48:57 2022] [status] Node ready.
4
+ [Wed Jan 12 20:48:57 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:48:57 2022] [info] <empty>
6
+ [Wed Jan 12 20:48:57 2022] [status] Ready
7
+ [Wed Jan 12 20:48:57 2022] [status] Adding neighbour: 127.0.0.1:6640
8
+ [Wed Jan 12 20:48:57 2022] [info] Updated neighbours:
9
+ [Wed Jan 12 20:48:57 2022] [info] ---- 127.0.0.1:6640
10
+ [Wed Jan 12 20:48:57 2022] [status] Advertising: 127.0.0.1:6640
@@ -0,0 +1,16 @@
1
+ [Wed Jan 12 20:48:59 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:48:59 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:48:59 2022] [status] Node ready.
4
+ [Wed Jan 12 20:48:59 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:48:59 2022] [info] <empty>
6
+ [Wed Jan 12 20:48:59 2022] [status] Ready
7
+ [Wed Jan 12 20:49:01 2022] [status] Adding neighbour: 127.0.0.1:56585
8
+ [Wed Jan 12 20:49:01 2022] [info] Updated neighbours:
9
+ [Wed Jan 12 20:49:01 2022] [info] ---- 127.0.0.1:56585
10
+ [Wed Jan 12 20:49:01 2022] [status] Advertising: 127.0.0.1:56585
11
+ [Wed Jan 12 20:49:02 2022] [status] Adding neighbour: 127.0.0.1:43576
12
+ [Wed Jan 12 20:49:02 2022] [info] Updated neighbours:
13
+ [Wed Jan 12 20:49:02 2022] [info] ---- 127.0.0.1:56585
14
+ [Wed Jan 12 20:49:02 2022] [info] ---- 127.0.0.1:43576
15
+ [Wed Jan 12 20:49:02 2022] [status] Advertising: 127.0.0.1:43576
16
+ [Wed Jan 12 20:49:02 2022] [info] ---- to: 127.0.0.1:56585
@@ -0,0 +1,14 @@
1
+ [Wed Jan 12 20:49:01 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:49:01 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:49:01 2022] [status] Node ready.
4
+ [Wed Jan 12 20:49:01 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:49:01 2022] [info] <empty>
6
+ [Wed Jan 12 20:49:01 2022] [status] Ready
7
+ [Wed Jan 12 20:49:01 2022] [status] Adding neighbour: 127.0.0.1:12985
8
+ [Wed Jan 12 20:49:01 2022] [info] Updated neighbours:
9
+ [Wed Jan 12 20:49:01 2022] [info] ---- 127.0.0.1:12985
10
+ [Wed Jan 12 20:49:01 2022] [status] Advertising: 127.0.0.1:12985
11
+ [Wed Jan 12 20:49:02 2022] [status] Adding neighbour: 127.0.0.1:43576
12
+ [Wed Jan 12 20:49:02 2022] [info] Updated neighbours:
13
+ [Wed Jan 12 20:49:02 2022] [info] ---- 127.0.0.1:12985
14
+ [Wed Jan 12 20:49:02 2022] [info] ---- 127.0.0.1:43576
@@ -0,0 +1,10 @@
1
+ [Wed Jan 12 20:49:02 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:49:02 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:49:02 2022] [status] Node ready.
4
+ [Wed Jan 12 20:49:02 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:49:02 2022] [info] <empty>
6
+ [Wed Jan 12 20:49:02 2022] [status] Ready
7
+ [Wed Jan 12 20:49:02 2022] [status] Adding neighbour: 127.0.0.1:12985
8
+ [Wed Jan 12 20:49:02 2022] [info] Updated neighbours:
9
+ [Wed Jan 12 20:49:02 2022] [info] ---- 127.0.0.1:12985
10
+ [Wed Jan 12 20:49:02 2022] [status] Advertising: 127.0.0.1:12985
@@ -0,0 +1,6 @@
1
+ [Wed Jan 12 20:49:04 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:49:04 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:49:04 2022] [status] Node ready.
4
+ [Wed Jan 12 20:49:04 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:49:04 2022] [info] <empty>
6
+ [Wed Jan 12 20:49:04 2022] [status] Ready
@@ -0,0 +1,6 @@
1
+ [Wed Jan 12 20:49:05 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:49:05 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:49:05 2022] [status] Node ready.
4
+ [Wed Jan 12 20:49:05 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:49:05 2022] [info] <empty>
6
+ [Wed Jan 12 20:49:05 2022] [status] Ready
@@ -0,0 +1,6 @@
1
+ [Wed Jan 12 20:49:07 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:49:07 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:49:07 2022] [status] Node ready.
4
+ [Wed Jan 12 20:49:07 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:49:07 2022] [info] <empty>
6
+ [Wed Jan 12 20:49:07 2022] [status] Ready
@@ -0,0 +1,6 @@
1
+ [Wed Jan 12 20:49:08 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:49:08 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:49:08 2022] [status] Node ready.
4
+ [Wed Jan 12 20:49:08 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:49:08 2022] [info] <empty>
6
+ [Wed Jan 12 20:49:08 2022] [status] Ready
@@ -0,0 +1,6 @@
1
+ [Wed Jan 12 20:49:12 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:49:12 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:49:12 2022] [status] Node ready.
4
+ [Wed Jan 12 20:49:12 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:49:12 2022] [info] <empty>
6
+ [Wed Jan 12 20:49:12 2022] [status] Ready
@@ -0,0 +1,6 @@
1
+ [Wed Jan 12 20:49:13 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:49:13 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:49:13 2022] [status] Node ready.
4
+ [Wed Jan 12 20:49:13 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:49:13 2022] [info] <empty>
6
+ [Wed Jan 12 20:49:13 2022] [status] Ready
@@ -0,0 +1,6 @@
1
+ [Wed Jan 12 20:49:15 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:49:15 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:49:15 2022] [status] Node ready.
4
+ [Wed Jan 12 20:49:15 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:49:15 2022] [info] <empty>
6
+ [Wed Jan 12 20:49:15 2022] [status] Ready
@@ -0,0 +1,6 @@
1
+ [Wed Jan 12 20:49:17 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:49:17 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:49:17 2022] [status] Node ready.
4
+ [Wed Jan 12 20:49:17 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:49:17 2022] [info] <empty>
6
+ [Wed Jan 12 20:49:17 2022] [status] Ready
@@ -0,0 +1,6 @@
1
+ [Wed Jan 12 20:49:19 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:49:19 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:49:19 2022] [status] Node ready.
4
+ [Wed Jan 12 20:49:19 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:49:19 2022] [info] <empty>
6
+ [Wed Jan 12 20:49:19 2022] [status] Ready
@@ -0,0 +1,6 @@
1
+ [Wed Jan 12 20:49:24 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:49:24 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:49:24 2022] [status] Node ready.
4
+ [Wed Jan 12 20:49:24 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:49:24 2022] [info] <empty>
6
+ [Wed Jan 12 20:49:24 2022] [status] Ready
@@ -0,0 +1,16 @@
1
+ [Wed Jan 12 20:50:06 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:50:06 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:50:06 2022] [status] Node ready.
4
+ [Wed Jan 12 20:50:06 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:50:06 2022] [info] <empty>
6
+ [Wed Jan 12 20:50:06 2022] [status] Ready
7
+ [Wed Jan 12 20:50:09 2022] [status] Adding neighbour: 127.0.0.2:30620
8
+ [Wed Jan 12 20:50:09 2022] [info] Updated neighbours:
9
+ [Wed Jan 12 20:50:09 2022] [info] ---- 127.0.0.2:30620
10
+ [Wed Jan 12 20:50:09 2022] [status] Advertising: 127.0.0.2:30620
11
+ [Wed Jan 12 20:50:11 2022] [status] Adding neighbour: 127.0.0.3:32506
12
+ [Wed Jan 12 20:50:11 2022] [info] Updated neighbours:
13
+ [Wed Jan 12 20:50:11 2022] [info] ---- 127.0.0.2:30620
14
+ [Wed Jan 12 20:50:11 2022] [info] ---- 127.0.0.3:32506
15
+ [Wed Jan 12 20:50:11 2022] [status] Advertising: 127.0.0.3:32506
16
+ [Wed Jan 12 20:50:11 2022] [info] ---- to: 127.0.0.2:30620
@@ -0,0 +1,14 @@
1
+ [Wed Jan 12 20:50:09 2022] [status] Starting the RPC Server...
2
+ [Wed Jan 12 20:50:09 2022] [status] Initializing grid node...
3
+ [Wed Jan 12 20:50:09 2022] [status] Node ready.
4
+ [Wed Jan 12 20:50:09 2022] [info] Updated neighbours:
5
+ [Wed Jan 12 20:50:09 2022] [info] <empty>
6
+ [Wed Jan 12 20:50:09 2022] [status] Ready
7
+ [Wed Jan 12 20:50:09 2022] [status] Adding neighbour: 127.0.0.1:13802
8
+ [Wed Jan 12 20:50:09 2022] [info] Updated neighbours:
9
+ [Wed Jan 12 20:50:09 2022] [info] ---- 127.0.0.1:13802
10
+ [Wed Jan 12 20:50:09 2022] [status] Advertising: 127.0.0.1:13802
11
+ [Wed Jan 12 20:50:11 2022] [status] Adding neighbour: 127.0.0.3:32506
12
+ [Wed Jan 12 20:50:11 2022] [info] Updated neighbours:
13
+ [Wed Jan 12 20:50:11 2022] [info] ---- 127.0.0.1:13802
14
+ [Wed Jan 12 20:50:11 2022] [info] ---- 127.0.0.3:32506