cuboid 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (174) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/lib/cuboid/option_groups/agent.rb +1 -1
  4. data/lib/cuboid/rpc/server/agent.rb +15 -9
  5. data/lib/version +1 -1
  6. data/spec/cuboid/rpc/server/{dispatcher → agent}/node_spec.rb +0 -0
  7. data/spec/cuboid/rpc/server/{dispatcher → agent}/service_spec.rb +0 -0
  8. data/spec/cuboid/rpc/server/{dispatcher_spec.rb → agent_spec.rb} +34 -26
  9. data/spec/support/logs/Agent - 1797289-46860.log +6 -0
  10. data/spec/support/logs/Agent - 1797295-27499.log +11 -0
  11. data/spec/support/logs/Agent - 1797297-3144.log +11 -0
  12. data/spec/support/logs/Agent - 1797379-31898.log +6 -0
  13. data/spec/support/logs/Agent - 1797386-37553.log +11 -0
  14. data/spec/support/logs/Agent - 1797390-46182.log +11 -0
  15. data/spec/support/logs/Agent - 1797487-7120.log +11 -0
  16. data/spec/support/logs/Agent - 1797492-19266.log +11 -0
  17. data/spec/support/logs/Agent - 1797535-15905.log +6 -0
  18. data/spec/support/logs/Agent - 1797540-32892.log +16 -0
  19. data/spec/support/logs/Agent - 1797542-59822.log +14 -0
  20. data/spec/support/logs/Agent - 1797547-57893.log +10 -0
  21. data/spec/support/logs/Agent - 1797558-26026.log +11 -0
  22. data/spec/support/logs/Agent - 1797560-6022.log +11 -0
  23. data/spec/support/logs/Agent - 1797592-36797.log +6 -0
  24. data/spec/support/logs/Agent - 1797598-8455.log +16 -0
  25. data/spec/support/logs/Agent - 1797600-56813.log +14 -0
  26. data/spec/support/logs/Agent - 1797604-47328.log +10 -0
  27. data/spec/support/logs/Agent - 1797611-25674.log +16 -0
  28. data/spec/support/logs/Agent - 1797613-63564.log +14 -0
  29. data/spec/support/logs/Agent - 1797622-56082.log +10 -0
  30. data/spec/support/logs/Agent - 1797632-63113.log +16 -0
  31. data/spec/support/logs/Agent - 1797640-55358.log +14 -0
  32. data/spec/support/logs/Agent - 1797644-19227.log +10 -0
  33. data/spec/support/logs/Agent - 1797649-4273.log +16 -0
  34. data/spec/support/logs/Agent - 1797651-45800.log +14 -0
  35. data/spec/support/logs/Agent - 1797655-44436.log +10 -0
  36. data/spec/support/logs/Agent - 1797663-8070.log +16 -0
  37. data/spec/support/logs/Agent - 1797667-56769.log +14 -0
  38. data/spec/support/logs/Agent - 1797671-53005.log +10 -0
  39. data/spec/support/logs/Agent - 1797678-6376.log +6 -0
  40. data/spec/support/logs/Agent - 1797680-53067.log +6 -0
  41. data/spec/support/logs/Agent - 1797684-1440.log +6 -0
  42. data/spec/support/logs/Agent - 1797688-2251.log +6 -0
  43. data/spec/support/logs/Agent - 1797698-41295.log +6 -0
  44. data/spec/support/logs/Agent - 1797702-50250.log +6 -0
  45. data/spec/support/logs/Agent - 1797707-29900.log +6 -0
  46. data/spec/support/logs/Agent - 1797718-49346.log +6 -0
  47. data/spec/support/logs/Agent - 1797726-15376.log +6 -0
  48. data/spec/support/logs/Agent - 1797745-40056.log +6 -0
  49. data/spec/support/logs/Agent - 1797804-62957.log +17 -0
  50. data/spec/support/logs/Agent - 1797821-21500.log +15 -0
  51. data/spec/support/logs/Agent - 1797832-1983.log +11 -0
  52. data/spec/support/logs/Agent - 1797939-12833.log +17 -0
  53. data/spec/support/logs/Agent - 1797952-60103.log +15 -0
  54. data/spec/support/logs/Agent - 1797960-13475.log +11 -0
  55. data/spec/support/logs/Agent - 1798019-61496.log +17 -0
  56. data/spec/support/logs/Agent - 1798033-46806.log +15 -0
  57. data/spec/support/logs/Agent - 1798041-8155.log +11 -0
  58. data/spec/support/logs/Agent - 1798099-42581.log +17 -0
  59. data/spec/support/logs/Agent - 1798113-6252.log +15 -0
  60. data/spec/support/logs/Agent - 1798121-58237.log +11 -0
  61. data/spec/support/logs/Agent - 1798182-15586.log +16 -0
  62. data/spec/support/logs/Agent - 1798197-41430.log +14 -0
  63. data/spec/support/logs/Agent - 1798205-23172.log +10 -0
  64. data/spec/support/logs/Agent - 1798248-46908.log +6 -0
  65. data/spec/support/logs/Agent - 1798253-25994.log +16 -0
  66. data/spec/support/logs/Agent - 1798255-19341.log +14 -0
  67. data/spec/support/logs/Agent - 1798261-4788.log +10 -0
  68. data/spec/support/logs/Agent - 1798270-2955.log +16 -0
  69. data/spec/support/logs/Agent - 1798277-35029.log +14 -0
  70. data/spec/support/logs/Agent - 1798283-51766.log +10 -0
  71. data/spec/support/logs/Agent - 1798294-27029.log +16 -0
  72. data/spec/support/logs/Agent - 1798296-19420.log +14 -0
  73. data/spec/support/logs/Agent - 1798301-49988.log +10 -0
  74. data/spec/support/logs/Agent - 1798306-62835.log +16 -0
  75. data/spec/support/logs/Agent - 1798308-5619.log +14 -0
  76. data/spec/support/logs/Agent - 1798317-13936.log +10 -0
  77. data/spec/support/logs/Agent - 1798325-24989.log +16 -0
  78. data/spec/support/logs/Agent - 1798329-59694.log +14 -0
  79. data/spec/support/logs/Agent - 1798333-7693.log +10 -0
  80. data/spec/support/logs/Agent - 1798339-9797.log +6 -0
  81. data/spec/support/logs/Agent - 1798341-47566.log +6 -0
  82. data/spec/support/logs/Agent - 1798345-57649.log +6 -0
  83. data/spec/support/logs/Agent - 1798349-1601.log +6 -0
  84. data/spec/support/logs/Agent - 1798365-33727.log +6 -0
  85. data/spec/support/logs/Agent - 1798369-47048.log +6 -0
  86. data/spec/support/logs/Agent - 1798373-39436.log +6 -0
  87. data/spec/support/logs/Agent - 1798380-22295.log +6 -0
  88. data/spec/support/logs/Agent - 1798384-54448.log +6 -0
  89. data/spec/support/logs/Agent - 1798401-25598.log +6 -0
  90. data/spec/support/logs/Agent - 1798464-60577.log +16 -0
  91. data/spec/support/logs/Agent - 1798476-32013.log +14 -0
  92. data/spec/support/logs/Agent - 1798488-17640.log +10 -0
  93. data/spec/support/logs/Agent - 1798516-32546.log +16 -0
  94. data/spec/support/logs/Agent - 1798526-32438.log +14 -0
  95. data/spec/support/logs/Agent - 1798533-62298.log +10 -0
  96. data/spec/support/logs/Agent - 1798543-21098.log +16 -0
  97. data/spec/support/logs/Agent - 1798555-25891.log +14 -0
  98. data/spec/support/logs/Agent - 1798562-34080.log +10 -0
  99. data/spec/support/logs/Agent - 1798606-52034.log +10 -0
  100. data/spec/support/logs/Agent - 1798608-43174.log +10 -0
  101. data/spec/support/logs/Agent - 1798610-14773.log +16 -0
  102. data/spec/support/logs/Agent - 1798614-18350.log +14 -0
  103. data/spec/support/logs/Agent - 1798621-4674.log +10 -0
  104. data/spec/support/logs/Agent - 1798645-52114.log +6 -0
  105. data/spec/support/logs/Agent - 1798650-42695.log +6 -0
  106. data/spec/support/logs/Agent - 1798661-51655.log +7 -0
  107. data/spec/support/logs/Agent - 1798680-43699.log +6 -0
  108. data/spec/support/logs/Agent - 1798687-63896.log +16 -0
  109. data/spec/support/logs/Agent - 1798691-57598.log +14 -0
  110. data/spec/support/logs/Agent - 1798701-14752.log +10 -0
  111. data/spec/support/logs/Agent - 1798708-25763.log +16 -0
  112. data/spec/support/logs/Agent - 1798710-32797.log +14 -0
  113. data/spec/support/logs/Agent - 1798714-28009.log +10 -0
  114. data/spec/support/logs/Agent - 1798724-41047.log +16 -0
  115. data/spec/support/logs/Agent - 1798726-55249.log +14 -0
  116. data/spec/support/logs/Agent - 1798735-6516.log +10 -0
  117. data/spec/support/logs/Agent - 1798743-54492.log +16 -0
  118. data/spec/support/logs/Agent - 1798745-3549.log +14 -0
  119. data/spec/support/logs/Agent - 1798749-63028.log +10 -0
  120. data/spec/support/logs/Agent - 1798759-46764.log +16 -0
  121. data/spec/support/logs/Agent - 1798763-20439.log +14 -0
  122. data/spec/support/logs/Agent - 1798767-24602.log +10 -0
  123. data/spec/support/logs/Agent - 1798773-21120.log +6 -0
  124. data/spec/support/logs/Agent - 1798775-30653.log +7 -0
  125. data/spec/support/logs/Agent - 1798794-13970.log +6 -0
  126. data/spec/support/logs/Agent - 1798799-61184.log +16 -0
  127. data/spec/support/logs/Agent - 1798801-17972.log +14 -0
  128. data/spec/support/logs/Agent - 1798805-20634.log +10 -0
  129. data/spec/support/logs/Agent - 1798812-2372.log +16 -0
  130. data/spec/support/logs/Agent - 1798814-56878.log +14 -0
  131. data/spec/support/logs/Agent - 1798824-62001.log +10 -0
  132. data/spec/support/logs/Agent - 1798835-39880.log +16 -0
  133. data/spec/support/logs/Agent - 1798837-61826.log +14 -0
  134. data/spec/support/logs/Agent - 1798841-16507.log +10 -0
  135. data/spec/support/logs/Agent - 1798846-48234.log +16 -0
  136. data/spec/support/logs/Agent - 1798848-5064.log +14 -0
  137. data/spec/support/logs/Agent - 1798853-31760.log +10 -0
  138. data/spec/support/logs/Agent - 1798866-50670.log +16 -0
  139. data/spec/support/logs/Agent - 1798870-45487.log +14 -0
  140. data/spec/support/logs/Agent - 1798874-52084.log +10 -0
  141. data/spec/support/logs/Agent - 1798880-36517.log +6 -0
  142. data/spec/support/logs/Agent - 1798882-40177.log +6 -0
  143. data/spec/support/logs/Agent - 1798886-7030.log +6 -0
  144. data/spec/support/logs/Agent - 1798895-7798.log +6 -0
  145. data/spec/support/logs/Agent - 1798906-43816.log +6 -0
  146. data/spec/support/logs/Agent - 1798910-18160.log +6 -0
  147. data/spec/support/logs/Agent - 1798916-29506.log +6 -0
  148. data/spec/support/logs/Agent - 1798920-21682.log +6 -0
  149. data/spec/support/logs/Agent - 1798926-45303.log +6 -0
  150. data/spec/support/logs/Agent - 1798950-17451.log +6 -0
  151. data/spec/support/logs/Agent - 1799005-32280.log +16 -0
  152. data/spec/support/logs/Agent - 1799017-9877.log +14 -0
  153. data/spec/support/logs/Agent - 1799024-65347.log +10 -0
  154. data/spec/support/logs/Agent - 1799051-25939.log +16 -0
  155. data/spec/support/logs/Agent - 1799061-59062.log +14 -0
  156. data/spec/support/logs/Agent - 1799074-49397.log +10 -0
  157. data/spec/support/logs/Agent - 1799083-27497.log +16 -0
  158. data/spec/support/logs/Agent - 1799096-40902.log +14 -0
  159. data/spec/support/logs/Agent - 1799103-20369.log +10 -0
  160. data/spec/support/logs/Agent - 1799135-60557.log +10 -0
  161. data/spec/support/logs/Agent - 1799137-3725.log +10 -0
  162. data/spec/support/logs/Agent - 1799144-38486.log +16 -0
  163. data/spec/support/logs/Agent - 1799150-30915.log +14 -0
  164. data/spec/support/logs/Agent - 1799154-18474.log +10 -0
  165. data/spec/support/logs/Agent - 1799170-26867.log +6 -0
  166. data/spec/support/logs/Agent - 1799174-16635.log +6 -0
  167. data/spec/support/logs/Agent - 1799184-8862.log +6 -0
  168. data/spec/support/logs/Agent - 1799197-45365.log +6 -0
  169. data/spec/support/logs/Agent - 1799214-21005.log +6 -0
  170. data/spec/support/logs/Agent - 1799225-8303.log +6 -0
  171. data/spec/support/logs/Agent - 1799229-20233.log +6 -0
  172. data/spec/support/logs/Agent - 1799234-31440.log +6 -0
  173. data/spec/support/snapshots/Cuboid 2022-02-20 03_01_57 +0200 b03ce79d889c60483385e77cda635831.csf +0 -0
  174. metadata +338 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0686605598011432eb7f38026c2b2c4cc5c76e6272ecd38b2132a2c382114ab6'
4
- data.tar.gz: c7c2e338fcd17aa6cc07c4902528bb1d7b9be3d01c5f3b30fffbbc6e40377dec
3
+ metadata.gz: d9533dcacaf536c3e740993765c95acabe9ef309f47d0ee9abb17057ba20248b
4
+ data.tar.gz: 0557ca182b8e7589dca448e75062bb87444716b6d36a7fc257d678efa7090fd3
5
5
  SHA512:
6
- metadata.gz: 00a62cc9358e08fab9f11fdea832f1b95f540529e1099a6a697aacc7dfe6bbfef7f3c6b24ec240d6e10e9d4331e03d1b03fb335906bb4aeafbc64bc3beacee8c
7
- data.tar.gz: 211cd5f371b8b6bfdde1050d90253c2a408d4b532b98fd54eaa908c95ca28678bf5d8914a18a16da4fe8af467998bc321b419e963a045851729b7934f91b6068
6
+ metadata.gz: 1ceff653d44e2821fc770c6913fdb9de57922bbfd809f20a043746c2c0f2ddb0103f1e77156bdb103047fd6770bf2968ad9183db5ad6bf623a73965848082be1
7
+ data.tar.gz: 96d5ef822e102d7200068b192ef9f4817d0dba02e4d01a8f83c6aaafa7d2d997947d170bee8a344d61f7657ad29d54e0d7b30042c874e5f53dade035a20f15c2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 0.1.3
2
+
3
+ * `Agent`
4
+ * `#preferred`, `#spawn`: Replaced `load_balance` override with `direct` `strategy`.
5
+
1
6
  # 0.1.0
2
7
 
3
8
  * `Dispatcher` => `Agent`
@@ -5,7 +5,7 @@ module Cuboid::OptionGroups
5
5
  # @author Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
6
6
  class Agent < Cuboid::OptionGroup
7
7
 
8
- STRATEGIES = Set.new([:horizontal, :vertical])
8
+ STRATEGIES = Set.new([:horizontal, :vertical, :direct])
9
9
 
10
10
  # @return [String]
11
11
  # URL of a {RPC::Server::Agent}.
@@ -82,6 +82,7 @@ class Agent
82
82
  # @param [Symbol] strategy
83
83
  # `:horizontal` -- Pick the Agent with the least amount of workload.
84
84
  # `:vertical` -- Pick the Agent with the most amount of workload.
85
+ # `:direct` -- Bypass the grid and get an Instance directly from this agent.
85
86
  #
86
87
  # @return [String, nil]
87
88
  # Depending on strategy and availability:
@@ -97,7 +98,7 @@ class Agent
97
98
  raise ArgumentError, "Unknown strategy: #{strategy}"
98
99
  end
99
100
 
100
- if !@node.grid_member?
101
+ if strategy == :direct || !@node.grid_member?
101
102
  block.call( self.utilization == 1 ? nil : @url )
102
103
  return
103
104
  end
@@ -139,7 +140,7 @@ class Agent
139
140
  Arachni::Reactor.global.create_iterator( @node.peers ).map( each, after )
140
141
  end
141
142
 
142
- # Dispatches an {Instance}.
143
+ # Spawns an {Instance}.
143
144
  #
144
145
  # @param [String] options
145
146
  # @option [String] strategy
@@ -147,22 +148,24 @@ class Agent
147
148
  # An owner to assign to the {Instance}.
148
149
  # @option [Hash] helpers
149
150
  # Hash of helper data to be added to the instance info.
150
- # @option [Boolean] load_balance
151
- # Use the Grid (when available) or this one directly?
152
151
  #
153
152
  # @return [Hash, nil]
154
153
  # Depending on availability:
155
154
  #
156
155
  # * `Hash`: Connection and proc info.
157
- # * `nil`: Max utilization, wait for one of the instances to finish and retry.
156
+ # * `nil`: Max utilization or currently spawning, wait and retry.
158
157
  def spawn( options = {}, &block )
158
+ if @spawning
159
+ block.call nil
160
+ return
161
+ end
162
+
159
163
  options = options.my_symbolize_keys
160
164
  strategy = options.delete(:strategy)
161
165
  owner = options[:owner]
162
166
  helpers = options[:helpers] || {}
163
- load_balance = options[:load_balance].nil? ? true : options[:load_balance]
164
167
 
165
- if load_balance && @node.grid_member?
168
+ if strategy != 'direct' && @node.grid_member?
166
169
  preferred *[strategy].compact do |url|
167
170
  if !url
168
171
  block.call
@@ -175,8 +178,8 @@ class Agent
175
178
  end
176
179
 
177
180
  connect_to_peer( url ).spawn( options.merge(
178
- helpers: helpers.merge( via: @url ),
179
- load_balance: false
181
+ helpers: helpers.merge( via: @url ),
182
+ strategy: :direct
180
183
  ),
181
184
  &block
182
185
  )
@@ -189,6 +192,7 @@ class Agent
189
192
  return
190
193
  end
191
194
 
195
+ @spawning = true
192
196
  spawn_instance do |info|
193
197
  info['owner'] = owner
194
198
  info['helpers'] = helpers
@@ -196,6 +200,8 @@ class Agent
196
200
  @instances << info
197
201
 
198
202
  block.call info
203
+
204
+ @spawning = false
199
205
  end
200
206
  end
201
207
 
data/lib/version CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -23,8 +23,8 @@ describe Cuboid::RPC::Server::Agent do
23
23
  context 'and strategy is' do
24
24
  context :horizontal do
25
25
  it 'returns the URL of least burdened Agent' do
26
- agent_spawn( peer: subject.url ).spawn( load_balance: false )
27
- agent_spawn( peer: subject.url ).spawn( load_balance: false )
26
+ agent_spawn( peer: subject.url ).spawn( strategy: :direct )
27
+ agent_spawn( peer: subject.url ).spawn( strategy: :direct )
28
28
 
29
29
  expect(subject.preferred( :horizontal )).to eq(subject.url)
30
30
  end
@@ -32,19 +32,23 @@ describe Cuboid::RPC::Server::Agent do
32
32
 
33
33
  context :vertical do
34
34
  it 'returns the URL of most burdened Agent' do
35
- agent_spawn( peer: subject.url ).spawn( load_balance: false )
35
+ agent_spawn( peer: subject.url ).spawn( strategy: :direct )
36
36
  d = agent_spawn( peer: subject.url )
37
- d.spawn( load_balance: false )
38
- d.spawn( load_balance: false )
37
+ d.spawn( strategy: :direct )
38
+ d.spawn( strategy: :direct )
39
39
 
40
40
  expect(subject.preferred( :vertical )).to eq(d.url)
41
41
  end
42
42
  end
43
43
 
44
+ context :direct do
45
+ it 'returns the URL of this Agent'
46
+ end
47
+
44
48
  context 'default' do
45
49
  it 'returns the URL of least burdened Agent' do
46
- agent_spawn( peer: subject.url ).spawn( load_balance: false )
47
- agent_spawn( peer: subject.url ).spawn( load_balance: false )
50
+ agent_spawn( peer: subject.url ).spawn( strategy: :direct )
51
+ agent_spawn( peer: subject.url ).spawn( strategy: :direct )
48
52
 
49
53
  expect(subject.preferred).to eq(subject.url)
50
54
  end
@@ -52,8 +56,8 @@ describe Cuboid::RPC::Server::Agent do
52
56
 
53
57
  context 'other' do
54
58
  it 'returns :error_unknown_strategy' do
55
- agent_spawn( peer: subject.url ).spawn( load_balance: false )
56
- agent_spawn( peer: subject.url ).spawn( load_balance: false )
59
+ agent_spawn( peer: subject.url ).spawn( strategy: :direct )
60
+ agent_spawn( peer: subject.url ).spawn( strategy: :direct )
57
61
 
58
62
  expect(subject.preferred( :blah )).to eq('error_unknown_strategy')
59
63
  end
@@ -62,14 +66,14 @@ describe Cuboid::RPC::Server::Agent do
62
66
 
63
67
  context 'and all Agents are at max utilization' do
64
68
  before :each do
65
- subject.spawn( load_balance: false )
69
+ subject.spawn( strategy: :direct )
66
70
  end
67
71
 
68
72
  let(:slots) { 1 }
69
73
 
70
74
  it 'returns nil' do
71
- agent_spawn( peer: subject.url ).spawn( load_balance: false )
72
- agent_spawn( peer: subject.url ).spawn( load_balance: false )
75
+ agent_spawn( peer: subject.url ).spawn( strategy: :direct )
76
+ agent_spawn( peer: subject.url ).spawn( strategy: :direct )
73
77
 
74
78
  expect(subject.preferred).to be_nil
75
79
  end
@@ -83,7 +87,7 @@ describe Cuboid::RPC::Server::Agent do
83
87
 
84
88
  context 'and it is at max utilization' do
85
89
  before :each do
86
- subject.spawn( load_balance: false )
90
+ subject.spawn( strategy: :direct )
87
91
  end
88
92
 
89
93
  let(:slots) { 1 }
@@ -188,6 +192,10 @@ describe Cuboid::RPC::Server::Agent do
188
192
  let(:slots) { 4 }
189
193
 
190
194
  context 'and strategy is' do
195
+ context :direct do
196
+ it 'provides Instances from this Agent'
197
+ end
198
+
191
199
  context :horizontal do
192
200
  it 'provides Instances from the least burdened Agent' do
193
201
  d1 = agent_spawn(
@@ -196,7 +204,7 @@ describe Cuboid::RPC::Server::Agent do
196
204
  )
197
205
 
198
206
  3.times do
199
- d1.spawn( load_balance: false )
207
+ d1.spawn( strategy: :direct )
200
208
  end
201
209
 
202
210
  d2 = agent_spawn(
@@ -206,7 +214,7 @@ describe Cuboid::RPC::Server::Agent do
206
214
  )
207
215
 
208
216
  2.times do
209
- d2.spawn( load_balance: false )
217
+ d2.spawn( strategy: :direct )
210
218
  end
211
219
 
212
220
  d3 = agent_spawn(
@@ -214,7 +222,7 @@ describe Cuboid::RPC::Server::Agent do
214
222
  peer: d1.url,
215
223
  application: "#{fixtures_path}/mock_app.rb"
216
224
  )
217
- d3.spawn( load_balance: false )
225
+ d3.spawn( strategy: :direct )
218
226
  preferred = d3.url.split( ':' ).first
219
227
 
220
228
  expect(d3.spawn(strategy: :horizontal )['url'].split( ':' ).first).to eq(preferred)
@@ -234,7 +242,7 @@ describe Cuboid::RPC::Server::Agent do
234
242
  )
235
243
 
236
244
  3.times do
237
- d1.spawn( load_balance: false )
245
+ d1.spawn( strategy: :direct )
238
246
  end
239
247
 
240
248
  d2 = agent_spawn(
@@ -244,7 +252,7 @@ describe Cuboid::RPC::Server::Agent do
244
252
  )
245
253
 
246
254
  2.times do
247
- d2.spawn( load_balance: false )
255
+ d2.spawn( strategy: :direct )
248
256
  end
249
257
 
250
258
  d3 = agent_spawn(
@@ -252,7 +260,7 @@ describe Cuboid::RPC::Server::Agent do
252
260
  peer: d1.url,
253
261
  application: "#{fixtures_path}/mock_app.rb"
254
262
  )
255
- d3.spawn( load_balance: false )
263
+ d3.spawn( strategy: :direct )
256
264
 
257
265
  preferred = d1.url.split( ':' ).first
258
266
  expect(d3.spawn( strategy: :vertical )['url'].split( ':' ).first).to eq(preferred)
@@ -267,7 +275,7 @@ describe Cuboid::RPC::Server::Agent do
267
275
  )
268
276
 
269
277
  3.times do
270
- d1.spawn( load_balance: false )
278
+ d1.spawn( strategy: :direct )
271
279
  end
272
280
 
273
281
  d2 = agent_spawn(
@@ -277,7 +285,7 @@ describe Cuboid::RPC::Server::Agent do
277
285
  )
278
286
 
279
287
  2.times do
280
- d2.spawn( load_balance: false )
288
+ d2.spawn( strategy: :direct )
281
289
  end
282
290
 
283
291
  d3 = agent_spawn(
@@ -285,7 +293,7 @@ describe Cuboid::RPC::Server::Agent do
285
293
  peer: d1.url,
286
294
  application: "#{fixtures_path}/mock_app.rb"
287
295
  )
288
- d3.spawn( load_balance: false )
296
+ d3.spawn( strategy: :direct )
289
297
  preferred = d3.url.split( ':' ).first
290
298
 
291
299
  expect(d3.spawn['url'].split( ':' ).first).to eq(preferred)
@@ -312,14 +320,14 @@ describe Cuboid::RPC::Server::Agent do
312
320
  application: "#{fixtures_path}/mock_app.rb"
313
321
  )
314
322
 
315
- d1.spawn( load_balance: false )
323
+ d1.spawn( strategy: :direct )
316
324
 
317
325
  d2 = agent_spawn(
318
326
  address: '127.0.0.2',
319
327
  peer: d1.url,
320
328
  application: "#{fixtures_path}/mock_app.rb"
321
329
  )
322
- d2.spawn( load_balance: false )
330
+ d2.spawn( strategy: :direct )
323
331
 
324
332
  d3 = agent_spawn(
325
333
  address: '127.0.0.3',
@@ -327,10 +335,10 @@ describe Cuboid::RPC::Server::Agent do
327
335
  application: "#{fixtures_path}/mock_app.rb"
328
336
  )
329
337
  2.times do
330
- d3.spawn( load_balance: false )
338
+ d3.spawn( strategy: :direct )
331
339
  end
332
340
 
333
- expect(d3.spawn( load_balance: false )['url'].
341
+ expect(d3.spawn( strategy: :direct )['url'].
334
342
  split( ':' ).first).to eq('127.0.0.3')
335
343
  end
336
344
  end
@@ -0,0 +1,6 @@
1
+ [Sun Feb 20 02:46:52 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:46:52 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:46:52 2022] [status] Node ready.
4
+ [Sun Feb 20 02:46:52 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:46:52 2022] [info] <empty>
6
+ [Sun Feb 20 02:46:52 2022] [status] Ready
@@ -0,0 +1,11 @@
1
+ [Sun Feb 20 02:46:53 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:46:53 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:46:53 2022] [status] Node ready.
4
+ [Sun Feb 20 02:46:53 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:46:53 2022] [info] <empty>
6
+ [Sun Feb 20 02:46:53 2022] [status] Ready
7
+ [Sun Feb 20 02:46:54 2022] [status] Adding peer: 127.0.0.1:3144
8
+ [Sun Feb 20 02:46:54 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:46:54 2022] [info] ---- 127.0.0.1:3144
10
+ [Sun Feb 20 02:46:54 2022] [status] Advertising: 127.0.0.1:3144
11
+ [Sun Feb 20 02:48:30 2022] [status] Shutting down...
@@ -0,0 +1,11 @@
1
+ [Sun Feb 20 02:46:53 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:46:53 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:46:53 2022] [status] Node ready.
4
+ [Sun Feb 20 02:46:53 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:46:53 2022] [info] <empty>
6
+ [Sun Feb 20 02:46:53 2022] [status] Ready
7
+ [Sun Feb 20 02:46:54 2022] [status] Adding peer: 127.0.0.1:27499
8
+ [Sun Feb 20 02:46:54 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:46:54 2022] [info] ---- 127.0.0.1:27499
10
+ [Sun Feb 20 02:46:54 2022] [status] Advertising: 127.0.0.1:27499
11
+ [Sun Feb 20 02:48:30 2022] [status] Shutting down...
@@ -0,0 +1,6 @@
1
+ [Sun Feb 20 02:48:37 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:48:37 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:48:37 2022] [status] Node ready.
4
+ [Sun Feb 20 02:48:37 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:48:37 2022] [info] <empty>
6
+ [Sun Feb 20 02:48:37 2022] [status] Ready
@@ -0,0 +1,11 @@
1
+ [Sun Feb 20 02:48:38 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:48:38 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:48:38 2022] [status] Node ready.
4
+ [Sun Feb 20 02:48:38 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:48:38 2022] [info] <empty>
6
+ [Sun Feb 20 02:48:38 2022] [status] Ready
7
+ [Sun Feb 20 02:48:38 2022] [status] Adding peer: 127.0.0.1:46182
8
+ [Sun Feb 20 02:48:38 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:48:38 2022] [info] ---- 127.0.0.1:46182
10
+ [Sun Feb 20 02:48:38 2022] [status] Advertising: 127.0.0.1:46182
11
+ [Sun Feb 20 02:50:01 2022] [status] Shutting down...
@@ -0,0 +1,11 @@
1
+ [Sun Feb 20 02:48:38 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:48:38 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:48:38 2022] [status] Node ready.
4
+ [Sun Feb 20 02:48:38 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:48:38 2022] [info] <empty>
6
+ [Sun Feb 20 02:48:38 2022] [status] Ready
7
+ [Sun Feb 20 02:48:38 2022] [status] Adding peer: 127.0.0.1:37553
8
+ [Sun Feb 20 02:48:38 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:48:38 2022] [info] ---- 127.0.0.1:37553
10
+ [Sun Feb 20 02:48:38 2022] [status] Advertising: 127.0.0.1:37553
11
+ [Sun Feb 20 02:50:01 2022] [status] Shutting down...
@@ -0,0 +1,11 @@
1
+ [Sun Feb 20 02:50:04 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:50:04 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:50:04 2022] [status] Node ready.
4
+ [Sun Feb 20 02:50:04 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:50:04 2022] [info] <empty>
6
+ [Sun Feb 20 02:50:04 2022] [status] Ready
7
+ [Sun Feb 20 02:50:04 2022] [status] Adding peer: 127.0.0.1:19266
8
+ [Sun Feb 20 02:50:04 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:50:04 2022] [info] ---- 127.0.0.1:19266
10
+ [Sun Feb 20 02:50:04 2022] [status] Advertising: 127.0.0.1:19266
11
+ [Sun Feb 20 02:50:17 2022] [status] Shutting down...
@@ -0,0 +1,11 @@
1
+ [Sun Feb 20 02:50:04 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:50:04 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:50:04 2022] [status] Node ready.
4
+ [Sun Feb 20 02:50:04 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:50:04 2022] [info] <empty>
6
+ [Sun Feb 20 02:50:04 2022] [status] Ready
7
+ [Sun Feb 20 02:50:04 2022] [status] Adding peer: 127.0.0.1:7120
8
+ [Sun Feb 20 02:50:04 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:50:04 2022] [info] ---- 127.0.0.1:7120
10
+ [Sun Feb 20 02:50:04 2022] [status] Advertising: 127.0.0.1:7120
11
+ [Sun Feb 20 02:50:17 2022] [status] Shutting down...
@@ -0,0 +1,6 @@
1
+ [Sun Feb 20 02:50:38 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:50:38 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:50:38 2022] [status] Node ready.
4
+ [Sun Feb 20 02:50:38 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:50:38 2022] [info] <empty>
6
+ [Sun Feb 20 02:50:38 2022] [status] Ready
@@ -0,0 +1,16 @@
1
+ [Sun Feb 20 02:50:39 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:50:39 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:50:39 2022] [status] Node ready.
4
+ [Sun Feb 20 02:50:39 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:50:39 2022] [info] <empty>
6
+ [Sun Feb 20 02:50:39 2022] [status] Ready
7
+ [Sun Feb 20 02:50:40 2022] [status] Adding peer: 127.0.0.1:59822
8
+ [Sun Feb 20 02:50:40 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:50:40 2022] [info] ---- 127.0.0.1:59822
10
+ [Sun Feb 20 02:50:40 2022] [status] Advertising: 127.0.0.1:59822
11
+ [Sun Feb 20 02:50:41 2022] [status] Adding peer: 127.0.0.1:57893
12
+ [Sun Feb 20 02:50:41 2022] [info] Updated peers:
13
+ [Sun Feb 20 02:50:41 2022] [info] ---- 127.0.0.1:59822
14
+ [Sun Feb 20 02:50:41 2022] [info] ---- 127.0.0.1:57893
15
+ [Sun Feb 20 02:50:41 2022] [status] Advertising: 127.0.0.1:57893
16
+ [Sun Feb 20 02:50:41 2022] [info] ---- to: 127.0.0.1:59822
@@ -0,0 +1,14 @@
1
+ [Sun Feb 20 02:50:40 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:50:40 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:50:40 2022] [status] Node ready.
4
+ [Sun Feb 20 02:50:40 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:50:40 2022] [info] <empty>
6
+ [Sun Feb 20 02:50:40 2022] [status] Ready
7
+ [Sun Feb 20 02:50:40 2022] [status] Adding peer: 127.0.0.1:32892
8
+ [Sun Feb 20 02:50:40 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:50:40 2022] [info] ---- 127.0.0.1:32892
10
+ [Sun Feb 20 02:50:40 2022] [status] Advertising: 127.0.0.1:32892
11
+ [Sun Feb 20 02:50:41 2022] [status] Adding peer: 127.0.0.1:57893
12
+ [Sun Feb 20 02:50:41 2022] [info] Updated peers:
13
+ [Sun Feb 20 02:50:41 2022] [info] ---- 127.0.0.1:32892
14
+ [Sun Feb 20 02:50:41 2022] [info] ---- 127.0.0.1:57893
@@ -0,0 +1,10 @@
1
+ [Sun Feb 20 02:50:41 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:50:41 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:50:41 2022] [status] Node ready.
4
+ [Sun Feb 20 02:50:41 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:50:41 2022] [info] <empty>
6
+ [Sun Feb 20 02:50:41 2022] [status] Ready
7
+ [Sun Feb 20 02:50:41 2022] [status] Adding peer: 127.0.0.1:32892
8
+ [Sun Feb 20 02:50:41 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:50:41 2022] [info] ---- 127.0.0.1:32892
10
+ [Sun Feb 20 02:50:41 2022] [status] Advertising: 127.0.0.1:32892
@@ -0,0 +1,11 @@
1
+ [Sun Feb 20 02:50:44 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:50:44 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:50:44 2022] [status] Node ready.
4
+ [Sun Feb 20 02:50:44 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:50:44 2022] [info] <empty>
6
+ [Sun Feb 20 02:50:44 2022] [status] Ready
7
+ [Sun Feb 20 02:50:44 2022] [status] Adding peer: 127.0.0.1:6022
8
+ [Sun Feb 20 02:50:44 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:50:44 2022] [info] ---- 127.0.0.1:6022
10
+ [Sun Feb 20 02:50:44 2022] [status] Advertising: 127.0.0.1:6022
11
+ [Sun Feb 20 02:50:56 2022] [status] Shutting down...
@@ -0,0 +1,11 @@
1
+ [Sun Feb 20 02:50:44 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:50:44 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:50:44 2022] [status] Node ready.
4
+ [Sun Feb 20 02:50:44 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:50:44 2022] [info] <empty>
6
+ [Sun Feb 20 02:50:44 2022] [status] Ready
7
+ [Sun Feb 20 02:50:44 2022] [status] Adding peer: 127.0.0.1:26026
8
+ [Sun Feb 20 02:50:44 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:50:44 2022] [info] ---- 127.0.0.1:26026
10
+ [Sun Feb 20 02:50:44 2022] [status] Advertising: 127.0.0.1:26026
11
+ [Sun Feb 20 02:50:56 2022] [status] Shutting down...
@@ -0,0 +1,6 @@
1
+ [Sun Feb 20 02:51:00 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:51:00 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:51:00 2022] [status] Node ready.
4
+ [Sun Feb 20 02:51:00 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:51:00 2022] [info] <empty>
6
+ [Sun Feb 20 02:51:00 2022] [status] Ready
@@ -0,0 +1,16 @@
1
+ [Sun Feb 20 02:51:02 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:51:02 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:51:02 2022] [status] Node ready.
4
+ [Sun Feb 20 02:51:02 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:51:02 2022] [info] <empty>
6
+ [Sun Feb 20 02:51:02 2022] [status] Ready
7
+ [Sun Feb 20 02:51:02 2022] [status] Adding peer: 127.0.0.1:56813
8
+ [Sun Feb 20 02:51:02 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:51:02 2022] [info] ---- 127.0.0.1:56813
10
+ [Sun Feb 20 02:51:02 2022] [status] Advertising: 127.0.0.1:56813
11
+ [Sun Feb 20 02:51:04 2022] [status] Adding peer: 127.0.0.1:47328
12
+ [Sun Feb 20 02:51:04 2022] [info] Updated peers:
13
+ [Sun Feb 20 02:51:04 2022] [info] ---- 127.0.0.1:56813
14
+ [Sun Feb 20 02:51:04 2022] [info] ---- 127.0.0.1:47328
15
+ [Sun Feb 20 02:51:04 2022] [status] Advertising: 127.0.0.1:47328
16
+ [Sun Feb 20 02:51:04 2022] [info] ---- to: 127.0.0.1:56813
@@ -0,0 +1,14 @@
1
+ [Sun Feb 20 02:51:02 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:51:02 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:51:02 2022] [status] Node ready.
4
+ [Sun Feb 20 02:51:02 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:51:02 2022] [info] <empty>
6
+ [Sun Feb 20 02:51:02 2022] [status] Ready
7
+ [Sun Feb 20 02:51:02 2022] [status] Adding peer: 127.0.0.1:8455
8
+ [Sun Feb 20 02:51:02 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:51:02 2022] [info] ---- 127.0.0.1:8455
10
+ [Sun Feb 20 02:51:02 2022] [status] Advertising: 127.0.0.1:8455
11
+ [Sun Feb 20 02:51:04 2022] [status] Adding peer: 127.0.0.1:47328
12
+ [Sun Feb 20 02:51:04 2022] [info] Updated peers:
13
+ [Sun Feb 20 02:51:04 2022] [info] ---- 127.0.0.1:8455
14
+ [Sun Feb 20 02:51:04 2022] [info] ---- 127.0.0.1:47328
@@ -0,0 +1,10 @@
1
+ [Sun Feb 20 02:51:03 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:51:03 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:51:03 2022] [status] Node ready.
4
+ [Sun Feb 20 02:51:03 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:51:03 2022] [info] <empty>
6
+ [Sun Feb 20 02:51:03 2022] [status] Ready
7
+ [Sun Feb 20 02:51:04 2022] [status] Adding peer: 127.0.0.1:8455
8
+ [Sun Feb 20 02:51:04 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:51:04 2022] [info] ---- 127.0.0.1:8455
10
+ [Sun Feb 20 02:51:04 2022] [status] Advertising: 127.0.0.1:8455
@@ -0,0 +1,16 @@
1
+ [Sun Feb 20 02:51:06 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:51:06 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:51:06 2022] [status] Node ready.
4
+ [Sun Feb 20 02:51:06 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:51:06 2022] [info] <empty>
6
+ [Sun Feb 20 02:51:06 2022] [status] Ready
7
+ [Sun Feb 20 02:51:07 2022] [status] Adding peer: 127.0.0.1:63564
8
+ [Sun Feb 20 02:51:07 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:51:07 2022] [info] ---- 127.0.0.1:63564
10
+ [Sun Feb 20 02:51:07 2022] [status] Advertising: 127.0.0.1:63564
11
+ [Sun Feb 20 02:51:08 2022] [status] Adding peer: 127.0.0.1:56082
12
+ [Sun Feb 20 02:51:08 2022] [info] Updated peers:
13
+ [Sun Feb 20 02:51:08 2022] [info] ---- 127.0.0.1:63564
14
+ [Sun Feb 20 02:51:08 2022] [info] ---- 127.0.0.1:56082
15
+ [Sun Feb 20 02:51:08 2022] [status] Advertising: 127.0.0.1:56082
16
+ [Sun Feb 20 02:51:08 2022] [info] ---- to: 127.0.0.1:63564
@@ -0,0 +1,14 @@
1
+ [Sun Feb 20 02:51:07 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:51:07 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:51:07 2022] [status] Node ready.
4
+ [Sun Feb 20 02:51:07 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:51:07 2022] [info] <empty>
6
+ [Sun Feb 20 02:51:07 2022] [status] Ready
7
+ [Sun Feb 20 02:51:07 2022] [status] Adding peer: 127.0.0.1:25674
8
+ [Sun Feb 20 02:51:07 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:51:07 2022] [info] ---- 127.0.0.1:25674
10
+ [Sun Feb 20 02:51:07 2022] [status] Advertising: 127.0.0.1:25674
11
+ [Sun Feb 20 02:51:08 2022] [status] Adding peer: 127.0.0.1:56082
12
+ [Sun Feb 20 02:51:08 2022] [info] Updated peers:
13
+ [Sun Feb 20 02:51:08 2022] [info] ---- 127.0.0.1:25674
14
+ [Sun Feb 20 02:51:08 2022] [info] ---- 127.0.0.1:56082
@@ -0,0 +1,10 @@
1
+ [Sun Feb 20 02:51:08 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:51:08 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:51:08 2022] [status] Node ready.
4
+ [Sun Feb 20 02:51:08 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:51:08 2022] [info] <empty>
6
+ [Sun Feb 20 02:51:08 2022] [status] Ready
7
+ [Sun Feb 20 02:51:08 2022] [status] Adding peer: 127.0.0.1:25674
8
+ [Sun Feb 20 02:51:08 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:51:08 2022] [info] ---- 127.0.0.1:25674
10
+ [Sun Feb 20 02:51:08 2022] [status] Advertising: 127.0.0.1:25674
@@ -0,0 +1,16 @@
1
+ [Sun Feb 20 02:51:11 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:51:11 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:51:11 2022] [status] Node ready.
4
+ [Sun Feb 20 02:51:11 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:51:11 2022] [info] <empty>
6
+ [Sun Feb 20 02:51:11 2022] [status] Ready
7
+ [Sun Feb 20 02:51:12 2022] [status] Adding peer: 127.0.0.1:55358
8
+ [Sun Feb 20 02:51:12 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:51:12 2022] [info] ---- 127.0.0.1:55358
10
+ [Sun Feb 20 02:51:12 2022] [status] Advertising: 127.0.0.1:55358
11
+ [Sun Feb 20 02:51:13 2022] [status] Adding peer: 127.0.0.1:19227
12
+ [Sun Feb 20 02:51:13 2022] [info] Updated peers:
13
+ [Sun Feb 20 02:51:13 2022] [info] ---- 127.0.0.1:55358
14
+ [Sun Feb 20 02:51:13 2022] [info] ---- 127.0.0.1:19227
15
+ [Sun Feb 20 02:51:13 2022] [status] Advertising: 127.0.0.1:19227
16
+ [Sun Feb 20 02:51:13 2022] [info] ---- to: 127.0.0.1:55358
@@ -0,0 +1,14 @@
1
+ [Sun Feb 20 02:51:12 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:51:12 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:51:12 2022] [status] Node ready.
4
+ [Sun Feb 20 02:51:12 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:51:12 2022] [info] <empty>
6
+ [Sun Feb 20 02:51:12 2022] [status] Ready
7
+ [Sun Feb 20 02:51:12 2022] [status] Adding peer: 127.0.0.1:63113
8
+ [Sun Feb 20 02:51:12 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:51:12 2022] [info] ---- 127.0.0.1:63113
10
+ [Sun Feb 20 02:51:12 2022] [status] Advertising: 127.0.0.1:63113
11
+ [Sun Feb 20 02:51:13 2022] [status] Adding peer: 127.0.0.1:19227
12
+ [Sun Feb 20 02:51:13 2022] [info] Updated peers:
13
+ [Sun Feb 20 02:51:13 2022] [info] ---- 127.0.0.1:63113
14
+ [Sun Feb 20 02:51:13 2022] [info] ---- 127.0.0.1:19227
@@ -0,0 +1,10 @@
1
+ [Sun Feb 20 02:51:13 2022] [status] Starting the RPC Server...
2
+ [Sun Feb 20 02:51:13 2022] [status] Initializing grid node...
3
+ [Sun Feb 20 02:51:13 2022] [status] Node ready.
4
+ [Sun Feb 20 02:51:13 2022] [info] Updated peers:
5
+ [Sun Feb 20 02:51:13 2022] [info] <empty>
6
+ [Sun Feb 20 02:51:13 2022] [status] Ready
7
+ [Sun Feb 20 02:51:13 2022] [status] Adding peer: 127.0.0.1:63113
8
+ [Sun Feb 20 02:51:13 2022] [info] Updated peers:
9
+ [Sun Feb 20 02:51:13 2022] [info] ---- 127.0.0.1:63113
10
+ [Sun Feb 20 02:51:13 2022] [status] Advertising: 127.0.0.1:63113