pokan-cluster 0.1 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/pokan-cluster/log_messages.rb +9 -4
- data/lib/pokan-cluster/version.rb +1 -1
- data/pokan.log +29 -0
- metadata +9 -9
|
@@ -6,10 +6,15 @@ module Pokan
|
|
|
6
6
|
end
|
|
7
7
|
|
|
8
8
|
LOG_MESSAGES = {
|
|
9
|
-
:start => { :debug => m("
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
:start => { :debug => m("
|
|
10
|
+
Address: %p
|
|
11
|
+
TCP port: %p
|
|
12
|
+
UDP port: %p\n
|
|
13
|
+
Using epoll: %p
|
|
14
|
+
Gossip interval: %p seconds\n
|
|
15
|
+
Seed address: %p
|
|
16
|
+
Log level is %p.
|
|
17
|
+
Logging to %p\n"),
|
|
13
18
|
|
|
14
19
|
:info => m('Server is starting at %p...')
|
|
15
20
|
},
|
data/pokan.log
CHANGED
|
@@ -8,3 +8,32 @@
|
|
|
8
8
|
INFO pokan-cluster : Server is starting at 192.168.229.197...
|
|
9
9
|
INFO pokan-cluster : Sending gossip message to randomly selected peer (10.10.10.8)
|
|
10
10
|
INFO pokan-cluster : Server is starting at 192.168.229.197...
|
|
11
|
+
DEBUG pokan-cluster : Saving new key-value pair: role:seed
|
|
12
|
+
DEBUG pokan-cluster : Address: 192.168.229.197
|
|
13
|
+
TCP port: 5555
|
|
14
|
+
UDP port: 5555
|
|
15
|
+
|
|
16
|
+
Using epoll: false
|
|
17
|
+
Gossip interval: 1 seconds
|
|
18
|
+
|
|
19
|
+
Seed address:
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
Log level is debug
|
|
23
|
+
. Logging to pokan.log
|
|
24
|
+
|
|
25
|
+
INFO pokan-cluster : Server is starting at 192.168.229.197...
|
|
26
|
+
DEBUG pokan-cluster : Saving new key-value pair: role:seed
|
|
27
|
+
DEBUG pokan-cluster :
|
|
28
|
+
Address: 192.168.229.197
|
|
29
|
+
TCP port: 5555
|
|
30
|
+
UDP port: 5555
|
|
31
|
+
|
|
32
|
+
Using epoll: false
|
|
33
|
+
Gossip interval: 1 seconds
|
|
34
|
+
|
|
35
|
+
Seed address:
|
|
36
|
+
Log level is debug.
|
|
37
|
+
Logging to pokan.log
|
|
38
|
+
|
|
39
|
+
INFO pokan-cluster : Server is starting at 192.168.229.197...
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pokan-cluster
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -11,11 +11,11 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2011-11-
|
|
14
|
+
date: 2011-11-15 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: pokan
|
|
18
|
-
requirement: &
|
|
18
|
+
requirement: &5053580 !ruby/object:Gem::Requirement
|
|
19
19
|
none: false
|
|
20
20
|
requirements:
|
|
21
21
|
- - ! '>='
|
|
@@ -23,10 +23,10 @@ dependencies:
|
|
|
23
23
|
version: '0'
|
|
24
24
|
type: :runtime
|
|
25
25
|
prerelease: false
|
|
26
|
-
version_requirements: *
|
|
26
|
+
version_requirements: *5053580
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: yagni
|
|
29
|
-
requirement: &
|
|
29
|
+
requirement: &5052860 !ruby/object:Gem::Requirement
|
|
30
30
|
none: false
|
|
31
31
|
requirements:
|
|
32
32
|
- - ! '>='
|
|
@@ -34,10 +34,10 @@ dependencies:
|
|
|
34
34
|
version: '0'
|
|
35
35
|
type: :runtime
|
|
36
36
|
prerelease: false
|
|
37
|
-
version_requirements: *
|
|
37
|
+
version_requirements: *5052860
|
|
38
38
|
- !ruby/object:Gem::Dependency
|
|
39
39
|
name: host
|
|
40
|
-
requirement: &
|
|
40
|
+
requirement: &5052080 !ruby/object:Gem::Requirement
|
|
41
41
|
none: false
|
|
42
42
|
requirements:
|
|
43
43
|
- - ! '>='
|
|
@@ -45,7 +45,7 @@ dependencies:
|
|
|
45
45
|
version: '0'
|
|
46
46
|
type: :runtime
|
|
47
47
|
prerelease: false
|
|
48
|
-
version_requirements: *
|
|
48
|
+
version_requirements: *5052080
|
|
49
49
|
description: ! " pokan-cluster adds a handy set of functionalities on top of pokan,
|
|
50
50
|
everyone's\n favorite Ruby Gossip protocol implementation. Logging, easy YAML
|
|
51
51
|
configuration\n file, workload information of peers in your network (so that
|
|
@@ -94,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
94
94
|
version: '0'
|
|
95
95
|
segments:
|
|
96
96
|
- 0
|
|
97
|
-
hash:
|
|
97
|
+
hash: -1507468199893578092
|
|
98
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
none: false
|
|
100
100
|
requirements:
|