ffwd 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/bin/ffwd +9 -0
- data/bin/fwc +15 -0
- data/lib/em/all.rb +68 -0
- data/lib/ffwd.rb +250 -0
- data/lib/ffwd/channel.rb +62 -0
- data/lib/ffwd/circular_buffer.rb +78 -0
- data/lib/ffwd/connection.rb +40 -0
- data/lib/ffwd/core.rb +173 -0
- data/lib/ffwd/core/emitter.rb +38 -0
- data/lib/ffwd/core/interface.rb +47 -0
- data/lib/ffwd/core/processor.rb +92 -0
- data/lib/ffwd/core/reporter.rb +32 -0
- data/lib/ffwd/debug.rb +76 -0
- data/lib/ffwd/debug/connection.rb +48 -0
- data/lib/ffwd/debug/monitor_session.rb +71 -0
- data/lib/ffwd/debug/tcp.rb +82 -0
- data/lib/ffwd/event.rb +65 -0
- data/lib/ffwd/event_emitter.rb +57 -0
- data/lib/ffwd/handler.rb +43 -0
- data/lib/ffwd/lifecycle.rb +92 -0
- data/lib/ffwd/logging.rb +139 -0
- data/lib/ffwd/metric.rb +55 -0
- data/lib/ffwd/metric_emitter.rb +50 -0
- data/lib/ffwd/plugin.rb +149 -0
- data/lib/ffwd/plugin/json_line.rb +47 -0
- data/lib/ffwd/plugin/json_line/connection.rb +118 -0
- data/lib/ffwd/plugin/log.rb +35 -0
- data/lib/ffwd/plugin/log/writer.rb +42 -0
- data/lib/ffwd/plugin_channel.rb +64 -0
- data/lib/ffwd/plugin_loader.rb +121 -0
- data/lib/ffwd/processor.rb +96 -0
- data/lib/ffwd/processor/count.rb +109 -0
- data/lib/ffwd/processor/histogram.rb +200 -0
- data/lib/ffwd/processor/rate.rb +116 -0
- data/lib/ffwd/producing_client.rb +181 -0
- data/lib/ffwd/protocol.rb +28 -0
- data/lib/ffwd/protocol/tcp.rb +126 -0
- data/lib/ffwd/protocol/tcp/bind.rb +64 -0
- data/lib/ffwd/protocol/tcp/connection.rb +107 -0
- data/lib/ffwd/protocol/tcp/flushing_connect.rb +135 -0
- data/lib/ffwd/protocol/tcp/plain_connect.rb +74 -0
- data/lib/ffwd/protocol/udp.rb +48 -0
- data/lib/ffwd/protocol/udp/bind.rb +64 -0
- data/lib/ffwd/protocol/udp/connect.rb +110 -0
- data/lib/ffwd/reporter.rb +65 -0
- data/lib/ffwd/retrier.rb +72 -0
- data/lib/ffwd/schema.rb +92 -0
- data/lib/ffwd/schema/default.rb +36 -0
- data/lib/ffwd/schema/spotify100.rb +58 -0
- data/lib/ffwd/statistics.rb +29 -0
- data/lib/ffwd/statistics/collector.rb +99 -0
- data/lib/ffwd/statistics/system_statistics.rb +255 -0
- data/lib/ffwd/tunnel.rb +27 -0
- data/lib/ffwd/tunnel/plugin.rb +47 -0
- data/lib/ffwd/tunnel/tcp.rb +60 -0
- data/lib/ffwd/tunnel/udp.rb +61 -0
- data/lib/ffwd/utils.rb +46 -0
- data/lib/ffwd/version.rb +18 -0
- data/lib/fwc.rb +206 -0
- metadata +163 -0
metadata
ADDED
@@ -0,0 +1,163 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ffwd
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- John-John Tedro
|
8
|
+
- Martin Parm
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-02-25 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: eventmachine
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - '>='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - '>='
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rspec
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rspec-mocks
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - '>='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: autoversion
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
description:
|
71
|
+
email:
|
72
|
+
- udoprog@spotify.com
|
73
|
+
- parmus@spotify.com
|
74
|
+
executables:
|
75
|
+
- ffwd
|
76
|
+
- fwc
|
77
|
+
extensions: []
|
78
|
+
extra_rdoc_files: []
|
79
|
+
files:
|
80
|
+
- bin/fwc
|
81
|
+
- bin/ffwd
|
82
|
+
- lib/fwc.rb
|
83
|
+
- lib/ffwd.rb
|
84
|
+
- lib/ffwd/statistics.rb
|
85
|
+
- lib/ffwd/processor.rb
|
86
|
+
- lib/ffwd/producing_client.rb
|
87
|
+
- lib/ffwd/tunnel.rb
|
88
|
+
- lib/ffwd/protocol.rb
|
89
|
+
- lib/ffwd/lifecycle.rb
|
90
|
+
- lib/ffwd/debug/tcp.rb
|
91
|
+
- lib/ffwd/debug/connection.rb
|
92
|
+
- lib/ffwd/debug/monitor_session.rb
|
93
|
+
- lib/ffwd/channel.rb
|
94
|
+
- lib/ffwd/plugin/json_line/connection.rb
|
95
|
+
- lib/ffwd/plugin/log/writer.rb
|
96
|
+
- lib/ffwd/plugin/log.rb
|
97
|
+
- lib/ffwd/plugin/json_line.rb
|
98
|
+
- lib/ffwd/circular_buffer.rb
|
99
|
+
- lib/ffwd/event.rb
|
100
|
+
- lib/ffwd/statistics/system_statistics.rb
|
101
|
+
- lib/ffwd/statistics/collector.rb
|
102
|
+
- lib/ffwd/connection.rb
|
103
|
+
- lib/ffwd/utils.rb
|
104
|
+
- lib/ffwd/protocol/tcp.rb
|
105
|
+
- lib/ffwd/protocol/tcp/bind.rb
|
106
|
+
- lib/ffwd/protocol/tcp/plain_connect.rb
|
107
|
+
- lib/ffwd/protocol/tcp/flushing_connect.rb
|
108
|
+
- lib/ffwd/protocol/tcp/connection.rb
|
109
|
+
- lib/ffwd/protocol/udp/bind.rb
|
110
|
+
- lib/ffwd/protocol/udp/connect.rb
|
111
|
+
- lib/ffwd/protocol/udp.rb
|
112
|
+
- lib/ffwd/reporter.rb
|
113
|
+
- lib/ffwd/plugin_loader.rb
|
114
|
+
- lib/ffwd/schema/spotify100.rb
|
115
|
+
- lib/ffwd/schema/default.rb
|
116
|
+
- lib/ffwd/metric_emitter.rb
|
117
|
+
- lib/ffwd/schema.rb
|
118
|
+
- lib/ffwd/event_emitter.rb
|
119
|
+
- lib/ffwd/core/processor.rb
|
120
|
+
- lib/ffwd/core/interface.rb
|
121
|
+
- lib/ffwd/core/reporter.rb
|
122
|
+
- lib/ffwd/core/emitter.rb
|
123
|
+
- lib/ffwd/handler.rb
|
124
|
+
- lib/ffwd/version.rb
|
125
|
+
- lib/ffwd/core.rb
|
126
|
+
- lib/ffwd/processor/rate.rb
|
127
|
+
- lib/ffwd/processor/count.rb
|
128
|
+
- lib/ffwd/processor/histogram.rb
|
129
|
+
- lib/ffwd/debug.rb
|
130
|
+
- lib/ffwd/retrier.rb
|
131
|
+
- lib/ffwd/logging.rb
|
132
|
+
- lib/ffwd/plugin_channel.rb
|
133
|
+
- lib/ffwd/tunnel/tcp.rb
|
134
|
+
- lib/ffwd/tunnel/udp.rb
|
135
|
+
- lib/ffwd/tunnel/plugin.rb
|
136
|
+
- lib/ffwd/plugin.rb
|
137
|
+
- lib/ffwd/metric.rb
|
138
|
+
- lib/em/all.rb
|
139
|
+
homepage: https://github.com/spotify/ffwd
|
140
|
+
licenses:
|
141
|
+
- Apache 2.0
|
142
|
+
metadata: {}
|
143
|
+
post_install_message:
|
144
|
+
rdoc_options: []
|
145
|
+
require_paths:
|
146
|
+
- lib
|
147
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - '>='
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - '>='
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '0'
|
157
|
+
requirements: []
|
158
|
+
rubyforge_project:
|
159
|
+
rubygems_version: 2.0.3
|
160
|
+
signing_key:
|
161
|
+
specification_version: 4
|
162
|
+
summary: Core framework for the FastForward Daemon.
|
163
|
+
test_files: []
|