raindrops 0.13.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/.document +1 -2
  3. data/.gitattributes +4 -0
  4. data/.gitignore +1 -1
  5. data/.manifest +7 -5
  6. data/.olddoc.yml +16 -0
  7. data/GIT-VERSION-FILE +1 -1
  8. data/GIT-VERSION-GEN +1 -1
  9. data/GNUmakefile +1 -2
  10. data/LATEST +6 -11
  11. data/LICENSE +3 -3
  12. data/NEWS +158 -0
  13. data/README +33 -40
  14. data/TODO +2 -0
  15. data/archive/.gitignore +3 -0
  16. data/archive/slrnpull.conf +4 -0
  17. data/examples/linux-listener-stats.rb +1 -2
  18. data/examples/watcher_demo.ru +1 -1
  19. data/examples/yahns.conf.rb +30 -0
  20. data/examples/zbatery.conf.rb +4 -1
  21. data/ext/raindrops/extconf.rb +107 -2
  22. data/ext/raindrops/linux_inet_diag.c +94 -101
  23. data/ext/raindrops/raindrops.c +75 -21
  24. data/ext/raindrops/tcp_info.c +245 -0
  25. data/lib/raindrops/aggregate/last_data_recv.rb +1 -5
  26. data/lib/raindrops/aggregate/pmq.rb +23 -17
  27. data/lib/raindrops/aggregate.rb +1 -1
  28. data/lib/raindrops/linux.rb +5 -6
  29. data/lib/raindrops/middleware/proxy.rb +2 -2
  30. data/lib/raindrops/middleware.rb +4 -6
  31. data/lib/raindrops/watcher.rb +13 -13
  32. data/lib/raindrops.rb +25 -1
  33. data/pkg.mk +26 -50
  34. data/raindrops.gemspec +14 -21
  35. data/test/ipv6_enabled.rb +4 -4
  36. data/test/test_aggregate_pmq.rb +1 -1
  37. data/test/test_inet_diag_socket.rb +1 -1
  38. data/test/test_last_data_recv_unicorn.rb +1 -1
  39. data/test/test_linux.rb +10 -2
  40. data/test/test_linux_all_tcp_listen_stats_leak.rb +2 -2
  41. data/test/test_linux_ipv6.rb +8 -0
  42. data/test/test_raindrops.rb +43 -1
  43. data/test/{test_linux_tcp_info.rb → test_tcp_info.rb} +34 -14
  44. data/test/test_watcher.rb +15 -10
  45. metadata +59 -171
  46. data/.wrongdoc.yml +0 -6
  47. data/ChangeLog +0 -1920
  48. data/Rakefile +0 -28
  49. data/ext/raindrops/linux_tcp_info.c +0 -173
data/ChangeLog DELETED
@@ -1,1920 +0,0 @@
1
- ChangeLog from http://bogomips.org/raindrops.git
2
-
3
- commit d24900b305a02cdedc4a532253798117f9686b5c
4
- Author: Eric Wong <e@80x24.org>
5
- Date: Tue Feb 18 20:57:46 2014 +0000
6
-
7
- raindrops 0.13.0 several minor fixes and improvements
8
-
9
- Most notably, this release is necessary for Ruby 2.2 (dev).
10
- Thanks to Koichi Sasada for the bug report!
11
-
12
- Eric Wong (5):
13
- Rakefile: remove raa_update task
14
- last_data_recv: do not assume Unicorn includes all constants
15
- raindrops.gemspec: add wrongdoc dev dependency
16
- linux_inet_diag: fix Ruby 2.2 (dev) build
17
- license: use LGPLv2.1 or later (was LGPL (2.1|3.0)-only)
18
-
19
- Hleb Valoshka (1):
20
- Remove Scope IDs from IPv6 addresses.
21
-
22
- commit 09fb7ccc3f1712411c61cbf54766c3c12c8296b2
23
- Author: Eric Wong <normalperson@yhbt.net>
24
- Date: Tue Feb 18 08:11:31 2014 +0000
25
-
26
- license: use LGPLv2.1 or later (was LGPL (2.1|3.0)-only)
27
-
28
- There is currently no LGPLv4, so this change has no effect at the
29
- moment.
30
-
31
- In case the LGPLv4 arrives and I am not alive to approve/review it,
32
- the lesser of evils is have give blanket approval of all future LGPL
33
- versions (as published by the FSF). The worse evil is to be stuck
34
- with a license which cannot guarantee the Free-ness of this project
35
- in the future.
36
-
37
- This unfortunately means the FSF can theoretically come out with
38
- license terms I do not agree with, but the LGPLv2.1 and LGPLv3
39
- will always remain an option to all users.
40
-
41
- commit 821b190e39fa48496520eb8f7f782ead8419df58
42
- Author: Eric Wong <normalperson@yhbt.net>
43
- Date: Tue Feb 18 06:48:36 2014 +0000
44
-
45
- linux_inet_diag: fix Ruby 2.2 (dev) build
46
-
47
- Do not define or use rb_thread_blocking_region if
48
- rb_thread_io_blocking_region is available.
49
- rb_thread_blocking_region is gone entirely in Ruby trunk.
50
-
51
- commit 7c61c7cc7d2571d1778da2f6dd01ea56cdac0530
52
- Author: Eric Wong <normalperson@yhbt.net>
53
- Date: Tue Feb 18 06:46:43 2014 +0000
54
-
55
- raindrops.gemspec: add wrongdoc dev dependency
56
-
57
- Ugh, I really need to work on an 80x24-friendly rdoc :P
58
-
59
- commit 8297d1dc600e34db29bb071ff7b94f6aaa7b45c5
60
- Author: Eric Wong <normalperson@yhbt.net>
61
- Date: Tue Nov 5 07:05:04 2013 +0000
62
-
63
- last_data_recv: do not assume Unicorn includes all constants
64
-
65
- Some projects may load parts of Unicorn and not others.
66
-
67
- commit f76c6ba8aa64018fcfac6f1c1989ddc828bd180b
68
- Author: Eric Wong <normalperson@yhbt.net>
69
- Date: Tue Nov 5 07:00:26 2013 +0000
70
-
71
- Rakefile: remove raa_update task
72
-
73
- RAA is dead
74
-
75
- commit f952501c14316f8639949e3537aead6351224bcd
76
- Author: Hleb Valoshka <375gnu@gmail.com>
77
- Date: Thu Sep 12 16:31:13 2013 +0300
78
-
79
- Remove Scope IDs from IPv6 addresses.
80
-
81
- Scoped ipv6 addresses are defined in rfc4007.
82
- Ruby doesn't support them yet and it's unknown whether it will
83
- (see http://bugs.ruby-lang.org/issues/8464).
84
- So we just remove scope ids.
85
-
86
- Tested with MRI and Rubinius.
87
-
88
- commit 05cde4657605caa2db2cb9bd3da611e4bc9d79f6
89
- Author: Eric Wong <normalperson@yhbt.net>
90
- Date: Mon Sep 2 10:30:39 2013 +0000
91
-
92
- raindrops 0.12.0 - compatibility fixes
93
-
94
- This release fixes builds on systems where compilers target i386
95
- (and not later x86 systems). There are also minor improvements for
96
- Ruby 2.1.0dev and Rubinius.
97
-
98
- Eric Wong (5):
99
- doc: add email address to generated doc/site
100
- README: update regarding Ruby support status
101
- extconf: try harder for gcc atomics in i386-configured systems
102
- linux_inet_diag: improve compatibility with newer GCs
103
- test_watcher: fix for Ruby trunk r40195 and later
104
-
105
- commit 8e5a4714fd90f87e2bc56c7b3f2525bb9055a227
106
- Author: Eric Wong <normalperson@yhbt.net>
107
- Date: Mon Sep 2 09:53:51 2013 +0000
108
-
109
- test_watcher: fix for Ruby trunk r40195 and later
110
-
111
- assert_raises doesn't capture exceptions the same way rescue works.
112
-
113
- commit 07efdceff18dc481424adb8b509244b6c6a822d5
114
- Author: Eric Wong <normalperson@yhbt.net>
115
- Date: Sun Jun 16 20:54:55 2013 +0000
116
-
117
- linux_inet_diag: improve compatibility with newer GCs
118
-
119
- RARRAY_PTR is expensive with GCs in Ruby 2.1.0dev and Rubinius, so
120
- use rb_ary_entry for non-performance critical paths. Eventually,
121
- RARRAY_AREF/RARRAY_ASET may be common, but for now, using
122
- rb_ary_entry should require the least cognitive overhead for a
123
- developer.
124
-
125
- commit fc690079c889ed5a97359515d75fe9260dd9ea91
126
- Author: Eric Wong <normalperson@yhbt.net>
127
- Date: Wed Aug 28 10:10:29 2013 +0000
128
-
129
- extconf: try harder for gcc atomics in i386-configured systems
130
-
131
- __sync_lock_test_and_set might not be the correct check after all,
132
- but __sync_val_compare_and_swap probably is. At least this is
133
- what Ruby 2.0.0 uses to check and attempt -march=i486 on.
134
-
135
- commit fdda1473240485b7e996e425ed1a46ce0e50174e
136
- Author: Eric Wong <normalperson@yhbt.net>
137
- Date: Sat Apr 20 23:16:38 2013 +0000
138
-
139
- README: update regarding Ruby support status
140
-
141
- Now that Ruby 2.0.0 is out...
142
-
143
- commit a59312421d68ee75532692423b3dc3c533f7a765
144
- Author: Eric Wong <normalperson@yhbt.net>
145
- Date: Sat Apr 20 23:12:38 2013 +0000
146
-
147
- doc: add email address to generated doc/site
148
-
149
- commit e4eaf78dc922db10af75861cad036d042fd9c49e
150
- Author: Eric Wong <normalperson@yhbt.net>
151
- Date: Sat Apr 20 22:53:06 2013 +0000
152
-
153
- raindrops 0.11.0 - minor fixes improvements
154
-
155
- Eric Wong (7):
156
- raindrops: favor configured processor count over online count
157
- watcher: set Content-Type via assignment
158
- Linux::TCP_Info: implement #get! instance method
159
- linux_inet_diag: avoid unnecessary sockaddr initialization
160
- .gitignore: add .rbx
161
- switch back to gemspec development dependencies
162
- linux_inet_diag: better align listener_stats struct
163
-
164
- Lawrence Pit (1):
165
- Watcher: Use relative paths in HTML links
166
-
167
- commit 241cfdd395c7d045f0048a1a0410ae28e6555c3b
168
- Author: Eric Wong <normalperson@yhbt.net>
169
- Date: Sat Apr 20 22:59:32 2013 +0000
170
-
171
- linux_inet_diag: better align listener_stats struct
172
-
173
- Using an extra 4 bytes for the listener_stats should not
174
- significantly increase space usage, and it has the side benefit
175
- of making our code slightly smaller.
176
-
177
- $ ~/linux/scripts/bloat-o-meter before.so after.so
178
- add/remove: 0/0 grow/shrink: 1/2 up/down: 14/-32 (-18)
179
- function old new delta
180
- tcp_stats 392 406 +14
181
- st_to_hash 195 187 -8
182
- diag 763 739 -24
183
-
184
- commit 6601f1ab43e90391932ad133335c814980bf7428
185
- Author: Eric Wong <normalperson@yhbt.net>
186
- Date: Sat Apr 13 02:23:22 2013 +0000
187
-
188
- switch back to gemspec development dependencies
189
-
190
- This is more standardized than bundler for gem development.
191
-
192
- commit e5884e7946a6b5bfb5cb677c3d435a4a8f881573
193
- Author: Eric Wong <normalperson@yhbt.net>
194
- Date: Sat Apr 13 00:31:41 2013 +0000
195
-
196
- .gitignore: add .rbx
197
-
198
- Rubinius drops a .rbx directory on us nowadays
199
-
200
- commit 602df28c6616a0724317e29bfc428ba06d1886e0
201
- Author: Eric Wong <normalperson@yhbt.net>
202
- Date: Thu Apr 11 23:39:08 2013 +0000
203
-
204
- linux_inet_diag: avoid unnecessary sockaddr initialization
205
-
206
- This initialization was unnecessary and avoids the following
207
- warning with -Wmissing-braces on gcc 4.7.2-5 on Debian testing:
208
-
209
- linux_inet_diag.c: In function ‘stats_for’:
210
- linux_inet_diag.c:192:8: warning: missing braces around initializer [-Wmissing-braces]
211
- linux_inet_diag.c:192:8: warning: (near initialization for ‘sa.ss’) [-Wmissing-braces]
212
-
213
- commit 65a248c523ddbfa41ae1e1d6da0a7f71383428e2
214
- Author: Eric Wong <normalperson@yhbt.net>
215
- Date: Thu Apr 11 23:13:13 2013 +0000
216
-
217
- Linux::TCP_Info: implement #get! instance method
218
-
219
- This allows reusing existing Linux::TCP_Info objects to avoid
220
- generating garbage.
221
-
222
- commit c29fd663b45888aa8661c8599c88c339f4fbe8c1
223
- Author: Eric Wong <normalperson@yhbt.net>
224
- Date: Thu Apr 11 22:57:53 2013 +0000
225
-
226
- watcher: set Content-Type via assignment
227
-
228
- Relying on String#replace to set Content-Type stopped working
229
- with rack commit 3623d04526b953a63bfb3e72de2d6920a042563f
230
- This fixes compatibility with the Rack 1.5.x series.
231
-
232
- commit d92a3a66adab040ca935c1b3aa0f5965b4cc1d67
233
- Author: Eric Wong <normalperson@yhbt.net>
234
- Date: Thu Apr 11 22:50:35 2013 +0000
235
-
236
- raindrops: favor configured processor count over online count
237
-
238
- The runnable CPUs of a process may change over the lifetime of
239
- the process. So favor the count of configured processor count
240
- since that is more likely to be stable.
241
-
242
- We do not currently do not have special handling for
243
- hot-plugging/removal of CPUs on systems that may load raindrops
244
- in a single CPU state.
245
-
246
- commit a8be099aabc0661e2074e1bd4aa42fbb5139ae0d
247
- Author: Lawrence Pit <lawrence.pit@gmail.com>
248
- Date: Fri Nov 30 11:37:08 2012 +1100
249
-
250
- Watcher: Use relative paths in HTML links
251
-
252
- When I mount Raindrops::Watcher like so:
253
-
254
- map "/_raindrops" do
255
- run Raindrops::Watcher.new
256
- end
257
-
258
- Then in the HTML output links use an absolute path instead of relative
259
- to the path /_raindrops/
260
-
261
- Cheers,
262
- Lawrence
263
-
264
- Signed-off-by: Eric Wong <normalperson@yhbt.net>
265
-
266
- commit dd72d3f180483957dd5c5d7a9369e9ee72fe14fa
267
- Author: Eric Wong <normalperson@yhbt.net>
268
- Date: Tue Jun 19 08:27:25 2012 +0000
269
-
270
- raindrops 0.10.0 - minor feature updates
271
-
272
- Improvements to the Unix domain socket handling and small
273
- bugfixes throughout.
274
-
275
- Support for the "unix_diag" facility in Linux 3.3+ is planned
276
- but not yet implemented (patches to raindrops@librelist.org
277
- appreciated)
278
-
279
- Brian Corrigan (1):
280
- resolve symlinks to Unix domain sockets
281
-
282
- Eric Wong (6):
283
- unix_listener_stats follows and remembers symlinks
284
- middleware/proxy: favor __send__ for method dispatch
285
- unix: show zero-value stats for idle listeners
286
- test_watcher: fix incorrect request/date comparison
287
- watcher: sort index of listener listing
288
- watcher: do not require Rack::Head for HEAD response
289
-
290
- See "git log v0.9.0..v0.10.0" for full details
291
-
292
- commit cee9ca2bfd98b96cb8b956dd03fe03f313fee222
293
- Author: Eric Wong <normalperson@yhbt.net>
294
- Date: Mon Jun 18 13:50:06 2012 -0700
295
-
296
- watcher: do not require Rack::Head for HEAD response
297
-
298
- Rack webservers are not guaranteed to include Rack::Head in the
299
- middleware stack. Watcher is a standalone app, so it cannot
300
- rely on a framework which automatically includes Rack::Head.
301
-
302
- commit 963a7a144a5231f07da118cfe4fef0fb210f40c6
303
- Author: Eric Wong <normalperson@yhbt.net>
304
- Date: Mon Jun 18 13:45:13 2012 -0700
305
-
306
- watcher: sort index of listener listing
307
-
308
- For hosts with many listeners, it should be easier to read the
309
- index page if the results are shown in a consistent order.
310
-
311
- Requested privately via email to raindrops@bogomips.org
312
-
313
- commit e893686157a1abb9c6943d1c42c9cbdae1b76cd4
314
- Author: Eric Wong <normalperson@yhbt.net>
315
- Date: Mon Jun 18 13:18:28 2012 -0700
316
-
317
- test_watcher: fix incorrect request/date comparison
318
-
319
- It makes no sense to compare peak times of different queues
320
- (active vs queued) against each other.
321
-
322
- commit 5c62376bc9a1b0d7c8e664784a1fb97747a7c392
323
- Author: Eric Wong <normalperson@yhbt.net>
324
- Date: Tue Jun 12 18:29:00 2012 -0700
325
-
326
- unix: show zero-value stats for idle listeners
327
-
328
- When unix_listener_stats is called without arguments, it should
329
- still match the behavior of tcp_listener_stats and return
330
- ListenerStats object with zero values.
331
-
332
- This allows callers to iterate through the results to find the
333
- pathnames of all the Unix domain sockets in in listen mode.
334
-
335
- commit 506df98df1dae59281fbb3b3c2c6bea7549a2288
336
- Author: Eric Wong <normalperson@yhbt.net>
337
- Date: Thu Jun 7 14:36:35 2012 -0700
338
-
339
- middleware/proxy: favor __send__ for method dispatch
340
-
341
- "send" is more likely to be overridden in subclasses whereas
342
- the Ruby runtime (at least 1.9.3) will warn loudly if any user
343
- code (re)defines the "__send__" method.
344
-
345
- For example, BasicSocket#send and UDPSocket#send in the Ruby
346
- stdlib are wrappers for the send(2)/sendto(2) system calls,
347
- and it's entirely possible an application could return a
348
- Socket-subclass as a Rack response body.
349
-
350
- commit bd7236fe23c4388d2fa42a4f836aca3c796dabab
351
- Author: Eric Wong <normalperson@yhbt.net>
352
- Date: Tue Jun 5 17:49:43 2012 -0700
353
-
354
- unix_listener_stats follows and remembers symlinks
355
-
356
- Teach unix_listener_stats to remember the symlink path
357
- it followed and have it point to the same object as the
358
- resolved (real) socket path.
359
-
360
- This allows the case where looking up stats by symlinks
361
- works if the symlink is given to unix_listener_stats:
362
-
363
- File.symlink("/real/path/of.sock", "/path/to/link.sock")
364
- stats = unix_listener_stats(["/path/to/link.sock"])
365
- stats["/path/to/link.sock"] => # same as stats["/real/path/of.sock"]
366
-
367
- commit 15dea14dd4e1af97aef928430c3c8ef8c5d74451
368
- Author: Brian Corrigan <brian@genexp.me>
369
- Date: Tue Jun 5 11:46:34 2012 -0400
370
-
371
- resolve symlinks to Unix domain sockets
372
-
373
- Raindrops currently fails when provided a symlink to a socket.
374
- As this is a common practice for many deployment tools (Vlad,
375
- etc.) this patch adds support for finding the realpath prior to
376
- looking the socket up in /proc/net/unix
377
-
378
- [ew: commit message subject]
379
-
380
- [ew: fixed test to pass under 1.9.3 and 1.8.7:
381
- * Tempfile#unlink is unsafe to call if we want to reuse the
382
- path, use File.unlink(tmp.path) instead
383
-
384
- * The return value of File.symlink is zero (or it raises),
385
- so it's unusable.
386
-
387
- * File.symlink will not call #to_path under 1.8.7, so it's
388
- necessary to pass pathnames to it, not Tempfile objects.
389
- ]
390
-
391
- Signed-off-by: Eric Wong <normalperson@yhbt.net>
392
-
393
- commit 3a7387205dd5791a443215ae6b365865e0eacfa3
394
- Author: Eric Wong <normalperson@yhbt.net>
395
- Date: Mon May 21 00:03:47 2012 +0000
396
-
397
- raindrops 0.9.0 - minor middleware/proxy update
398
-
399
- Raindrops::Middleware::Proxy now forwards method_missing
400
- to the proxied body object. This allows compatibility
401
- with non-standard Rack extensions employed by some
402
- middlewares, applications, or servers.
403
-
404
- Thanks to Ben Somers for the feature!
405
-
406
- commit ea021e1fc14a8d7da23580767e6e6ac5db2aca9b
407
- Author: Eric Wong <normalperson@yhbt.net>
408
- Date: Mon May 21 00:02:32 2012 +0000
409
-
410
- middleware/proxy: fixup comment/whitespace
411
-
412
- Noted, but not fixed in the previous commit
413
- commit abc6dd47ede5b96ada1ff8f37dfba73cd5fd586a
414
- (Add method_missing to Raindrops::Middleware::Proxy)
415
-
416
- commit abc6dd47ede5b96ada1ff8f37dfba73cd5fd586a
417
- Author: Ben Somers <somers.ben@gmail.com>
418
- Date: Thu May 17 18:46:58 2012 -0700
419
-
420
- Add method_missing to Raindrops::Middleware::Proxy
421
-
422
- This enables it to behave more like a Rack
423
- BodyProxy would, delegating methods to its body
424
- object when it does not implement them itself.
425
- (Also includes a minor grammar fix to a comment.)
426
-
427
- [ew: minor comment/whitespace fix]
428
-
429
- Signed-off-by: Eric Wong <normalperson@yhbt.net>
430
-
431
- commit 127ec6d6c733a717df79084861b0d7f36c327154
432
- Author: Eric Wong <normalperson@yhbt.net>
433
- Date: Sat May 12 05:44:12 2012 +0000
434
-
435
- raindrops 0.8.1 - compatibility fixes
436
-
437
- This release fixes a build problem found under a current SmartOS. This
438
- release also runs successfully on FreeBSD 9.0 under both x86-64 and
439
- i386.
440
-
441
- There are also documentation updates from Aman Gupta and a test suite
442
- fix from Jeremy Evans for OpenBSD.
443
-
444
- raindrops fully supports unicorn on recent versions of FreeBSD, OpenBSD,
445
- SmartOS, and possibly other Free Software systems. Portability reports
446
- and fixes for Free Software systems is greatly appreciated at
447
- raindrops@librelist.org
448
-
449
- Non-Free systems will never be supported.
450
-
451
- raindrops requires the Linux 2.6.18 or later for full functionality
452
- (which unicorn does not require). Future releases will take advantage
453
- of the unix_diag functionality found in the Linux 3.3 (and later)
454
- kernels.
455
-
456
- commit ce0b50e0a6aed669a59ee31ab3667b4eb34529de
457
- Author: Eric Wong <normalperson@yhbt.net>
458
- Date: Sat May 12 05:38:58 2012 +0000
459
-
460
- avoid warning for rb_thread_io_blocking_region
461
-
462
- This is exported (visibly) under Ruby 1.9.3 but not
463
- in headers, so it was causing warnings.
464
-
465
- commit 71f80afdbcb45245a01ee2c278ebda692587e92a
466
- Author: Eric Wong <normalperson@yhbt.net>
467
- Date: Thu May 10 14:49:39 2012 -0700
468
-
469
- extconf: better check for GCC atomic builtins
470
-
471
- Attempting to test for CMPXCHG on x86 should allow this check to
472
- fail on i386 systems. We also won't need try_run as a result,
473
- enabling cross-compilation. The configure.in check in Ruby
474
- 1.9.3 does something similar and that's far more widely used
475
- than raindrops is.
476
-
477
- commit 1c18fd9c13f95fef6bcbdc0587d38886fa8e9064
478
- Author: Aman Gupta <aman@tmm1.net>
479
- Date: Fri Jan 6 23:48:41 2012 -0800
480
-
481
- avoid calling tcp_listener_stats when it is not available
482
-
483
- Signed-off-by: Aman Gupta <aman@tmm1.net>
484
- Acked-by: Eric Wong <normalperson@yhbt.net>
485
-
486
- commit d166ef4dc5bd62d18c3abd4612d6b11a1e1f28c7
487
- Author: Aman Gupta <aman@tmm1.net>
488
- Date: Fri Jan 6 23:48:40 2012 -0800
489
-
490
- fix ListenStats documentation error in Raindrops::Linux.unix_listener_stats
491
-
492
- Signed-off-by: Aman Gupta <aman@tmm1.net>
493
- Acked-by: Eric Wong <normalperson@yhbt.net>
494
-
495
- commit 8fff8ab721305c4df70904154c4b93a7af993749
496
- Author: Eric Wong <normalperson@yhbt.net>
497
- Date: Thu Nov 17 10:25:38 2011 +0000
498
-
499
- examples/: updated to match current state of affairs
500
-
501
- Consolidating multiple Rack apps into fewer Rack apps on
502
- bogomips.org, might as well be transparent about it.
503
-
504
- commit 499e63e2666f88134f7d47f3bcfdfedd72396e70
505
- Author: Jeremy Evans <code@jeremyevans.net>
506
- Date: Mon Nov 14 10:31:53 2011 -0800
507
-
508
- Test suite fix for non-linux users
509
-
510
- Most other linux-specific test files have this, but
511
- test_linux_tcp_info.rb does not.
512
-
513
- With this patch, gmake test passes on OpenBSD.
514
-
515
- commit 68f5fdb76231aad5d9d2bcf33c33758394bb15a8
516
- Author: Eric Wong <normalperson@yhbt.net>
517
- Date: Fri Oct 14 14:59:52 2011 -0700
518
-
519
- raindrops 0.8.0 - watcher updates
520
-
521
- There are various updates to the Raindrops::Watcher Rack app.
522
- Most notably, the timestamp where the a statistic first and last
523
- hit its peak value (active/queued connections) is captured.
524
-
525
- As usual, the latest Raindrops::Watcher is running at:
526
- http://raindrops-demo.bogomips.org/
527
-
528
- commit 5d76462eb312df5343c1870fb68094459deca6ca
529
- Author: Eric Wong <normalperson@yhbt.net>
530
- Date: Fri Oct 14 14:38:16 2011 -0700
531
-
532
- 1.8 compatibility workarounds
533
-
534
- Math.sqrt on 1.8.7 does not give NaN for certain errors.
535
- We'll also fix our Errno::EDOM retry loop to avoid resetting
536
- the "retried" flag.
537
-
538
- commit d5fc6f66bc17f27770b38126b6c4211fd938c5b5
539
- Author: Eric Wong <normalperson@yhbt.net>
540
- Date: Wed Oct 12 14:00:23 2011 -0700
541
-
542
- avoid inadvertant object creation with invalid addresses
543
-
544
- Just in case somebody tries to scan all addresses, we
545
- won't run out of memory as easily.
546
-
547
- commit 360b8569cbb2b795019db278463245cce4270d09
548
- Author: Eric Wong <normalperson@yhbt.net>
549
- Date: Mon Oct 3 18:40:52 2011 -0700
550
-
551
- watcher: document new headers for users
552
-
553
- These names are not finalized, yet.
554
-
555
- commit 7e8b1f6abe561e33644ca2bf30dc587e0bfac3c0
556
- Author: Eric Wong <normalperson@yhbt.net>
557
- Date: Tue Sep 27 19:32:38 2011 -0700
558
-
559
- watcher: add peak times for statistics
560
-
561
- It could be useful to know when the first and last peak time of
562
- a maximum was.
563
-
564
- commit 26d775916fd3d967a98534eda44a983ea30d0811
565
- Author: Eric Wong <normalperson@yhbt.net>
566
- Date: Tue Sep 27 19:50:43 2011 -0700
567
-
568
- test: updates for newer Unicorn API
569
-
570
- Unicorn.run no longer exists
571
-
572
- commit e974e26fcfb78cd579556495a0635d30ec5c6976
573
- Author: Eric Wong <normalperson@yhbt.net>
574
- Date: Tue Sep 27 17:46:20 2011 -0700
575
-
576
- watcher: add X-Current header to headers
577
-
578
- It can be useful to some to see that info all at once
579
- without hitting the HTML index page.
580
-
581
- commit 9a42edb11efcd091623bb37a33a8ea97b39a1d85
582
- Author: Eric Wong <normalperson@yhbt.net>
583
- Date: Mon Aug 1 13:57:24 2011 -0700
584
-
585
- TODO: patches welcome!
586
-
587
- I don't need this feature myself.
588
-
589
- commit 3966549e4ae209598ed56839dae9154f4615d2dc
590
- Author: Eric Wong <normalperson@yhbt.net>
591
- Date: Mon Aug 1 13:49:43 2011 -0700
592
-
593
- watcher: add POST /reset/$LISTENER endpoint rdoc
594
-
595
- This was always supported via the HTML (browser) interface
596
- but there was no documented way of hitting it without a
597
- browser, before.
598
-
599
- commit a5830080b3cf6011d737342462700f7c5819942a
600
- Author: Jeremy Evans <code@jeremyevans.net>
601
- Date: Mon Jun 27 10:36:21 2011 -0700
602
-
603
- Fix bad rescue statements in a couple tests
604
-
605
- commit af8f564217f87020fbe34c9bdbeb2cb57e13ac54
606
- Author: Eric Wong <normalperson@yhbt.net>
607
- Date: Mon Jun 27 05:31:49 2011 +0000
608
-
609
- raindrops 0.7.0 - FreeBSD fix, code cleanups
610
-
611
- This release fixes a build issue on FreeBSD. There are various
612
- documentation and code cleanups, too.
613
-
614
- commit 2cb1800e7afe0085b135ac693d1b5a9378fadebc
615
- Author: Eric Wong <normalperson@yhbt.net>
616
- Date: Mon Jun 27 04:11:33 2011 +0000
617
-
618
- doc: librelist.com => librelist.org
619
-
620
- A non-profit TLD makes more sense for a Free Software project.
621
-
622
- commit 18318887920773d43b72e9fb6490d3e74674bcf0
623
- Author: Eric Wong <normalperson@yhbt.net>
624
- Date: Mon Jun 27 03:30:39 2011 +0000
625
-
626
- fix Ruby warnings
627
-
628
- Found in the check-warnings target in pkg.mk
629
-
630
- commit ad3bf417b45d50be7b0121b5dacca2bc95b7953b
631
- Author: Eric Wong <normalperson@yhbt.net>
632
- Date: Mon Jun 27 03:28:33 2011 +0000
633
-
634
- Gemfile: remove wrongdoc dependency for tests
635
-
636
- It's not needed.
637
-
638
- commit da7ee89b75b5c0cdd2f332d073104f10ea14e055
639
- Author: Eric Wong <normalperson@yhbt.net>
640
- Date: Mon Jun 27 01:44:39 2011 +0000
641
-
642
- pkg.mk: update to latest version
643
-
644
- * check-warnings option added
645
- * locale-independent grep invocation
646
-
647
- commit 1e7dc89cc38c5dec0b63ac452b23141297701f88
648
- Author: Eric Wong <normalperson@yhbt.net>
649
- Date: Fri Jun 24 17:06:56 2011 -0700
650
-
651
- remove _XOPEN_SOURCE #define for FreeBSD
652
-
653
- This appears to cause __BSD_VISIBLE to not be defined,
654
- which is required for MAP_ANON to be visible in
655
- sys/mman.h
656
-
657
- Thanks for Aleksandar Simic for the hint and Troex Nevelin
658
- for the bug report!
659
-
660
- commit 880dbec44c13e3d5a6b858fc2212714f122b71c6
661
- Author: Eric Wong <normalperson@yhbt.net>
662
- Date: Thu Jun 16 00:39:11 2011 -0700
663
-
664
- linux_inet_diag: avoid pointer aliasing warnings
665
-
666
- No need to cast when C has handy unions. Maybe the compiler
667
- will be able to make better optimization choices here, but
668
- at least it'll be less noisy.
669
-
670
- commit 579f0ea63d1f6976a9a312423f45e8d38357ea68
671
- Author: Eric Wong <normalperson@yhbt.net>
672
- Date: Wed Jun 15 23:31:28 2011 -0700
673
-
674
- test_linux_tcp_info: fix test for higher HZ systems
675
-
676
- The last_data_recv field is dependent on the CONFIG_HZ of
677
- the kernel, so the stock 250 HZ kernel can change the
678
- timing on us.
679
-
680
- commit 9f6e03fcced2ff695eaa355709312a8fe2d4c187
681
- Author: Eric Wong <normalperson@yhbt.net>
682
- Date: Fri Mar 25 09:45:55 2011 -0700
683
-
684
- last_data_recv: fixup rdoc
685
-
686
- formatting is hard :<
687
-
688
- commit cb90a12dec7b1c55ebae5a83bafa15f415b576da
689
- Author: Eric Wong <normalperson@yhbt.net>
690
- Date: Thu Mar 24 13:35:32 2011 -0700
691
-
692
- watcher: fix documentation for X-* headers
693
-
694
- I copied and pasted off the Raindrops::LastDataRecv
695
- documentation. While the headers and mathematical meanings are
696
- identical, they measure different things (but for the same
697
- purpose)
698
-
699
- Noticed-by: Troex Nevelin
700
-
701
- commit ee08d063e47636e9b1100d4fe9cdb7b4bc080f69
702
- Author: Eric Wong <normalperson@yhbt.net>
703
- Date: Mon Mar 21 15:29:38 2011 -0700
704
-
705
- raindrops 0.6.1 - fix build on non-Linux
706
-
707
- TCP_INFO support couldn't compile under non-Linux, this was
708
- broken since 0.5.0 when TCP_INFO support was introduced.
709
-
710
- Thanks to Ben Bleything for the report.
711
-
712
- commit dbfe01c60d0d231f42e18768cbb8b23612f281fc
713
- Author: Eric Wong <normalperson@yhbt.net>
714
- Date: Mon Mar 21 15:17:21 2011 -0700
715
-
716
- tcp_info: mark this as Linux-only
717
-
718
- We can't even pull in linux/*.h headers to check
719
- for TCP_INFO.
720
-
721
- commit f8fe72d588cf50fa0c52058d46980af8bfa012bf
722
- Author: Eric Wong <normalperson@yhbt.net>
723
- Date: Mon Mar 21 14:42:32 2011 -0700
724
-
725
- raindrops 0.6.0 - polishing up the last release
726
-
727
- Following up the huge 0.5.0 release, 0.6.0 makes
728
- some minor improvements:
729
-
730
- * minor UI/UX improvements for Watcher Rack app
731
- * set close-on-exec by default for inet_diag sockets
732
- * inet_diag build fixes for newer GNU libc6
733
- * --with-atomic_ops-dir= build option added
734
-
735
- commit 693beb4015cf3bfd68f76432cb3ce779e9752cc1
736
- Author: Eric Wong <normalperson@yhbt.net>
737
- Date: Mon Mar 21 14:12:17 2011 -0700
738
-
739
- extconf: use dir_config properly
740
-
741
- dir_config may be used to build for libatomic_ops. The
742
- previous use of dir_config was from back when I didn't
743
- understand mkmf.
744
-
745
- This means you can now use:
746
-
747
- gem install raindrops -- --with-atomic_ops-dir=/usr/local
748
-
749
- If you libatomic_ops library was installed in /usr/local
750
- instead of /usr
751
-
752
- commit 14423a47266bbb37fe0b2fe5f24cef9e26037e38
753
- Author: Eric Wong <normalperson@yhbt.net>
754
- Date: Mon Mar 21 11:12:59 2011 -0700
755
-
756
- inet_diag: no need to rely on sin6_addr internals
757
-
758
- Seems to breaks under newer libc headers (on Debian sid).
759
-
760
- commit 4331e3f461af6d66bc8de48c336ece0938e3b59e
761
- Author: Eric Wong <normalperson@yhbt.net>
762
- Date: Mon Mar 21 11:10:10 2011 -0700
763
-
764
- extconf: remove check for rb_struct_alloc_noinit()
765
-
766
- We no longer use it.
767
-
768
- commit f6af45add8c900b02f2b88617a765fa610fbe9aa
769
- Author: Eric Wong <normalperson@yhbt.net>
770
- Date: Mon Mar 21 11:01:57 2011 -0700
771
-
772
- inet_diag: fix build under MRI 1.8.7
773
-
774
- commit 877433494e4a848d6c6a10d0e6521061e6a10118
775
- Author: Eric Wong <normalperson@yhbt.net>
776
- Date: Mon Mar 21 10:57:30 2011 -0700
777
-
778
- inet_diag: FD_CLOEXEC for inet_diag sockets by default
779
-
780
- Very few programs can take advantage of inheriting FDs
781
- across exec() boundaries, and inet_diag sockets have no
782
- reason to be used in this way.
783
-
784
- commit a5d552d90942fe3c3d1adfc809638fd78992da6e
785
- Author: Eric Wong <normalperson@yhbt.net>
786
- Date: Mon Mar 21 10:46:58 2011 -0700
787
-
788
- inet_diag: use rb_thread_io_blocking_region under 1.9.3dev
789
-
790
- It can detect cross-thread close() calls
791
-
792
- commit f86b02018a4195e199136eb0bd8d127d01cae154
793
- Author: Eric Wong <normalperson@yhbt.net>
794
- Date: Mon Mar 21 10:27:59 2011 -0700
795
-
796
- watcher: remove redundant Rack::Response
797
-
798
- No need to duplicate code
799
-
800
- commit cfadf58e6bce04b750605fd71d0cce6bbb06d8b0
801
- Author: Eric Wong <normalperson@yhbt.net>
802
- Date: Fri Mar 18 09:22:28 2011 +0000
803
-
804
- watcher: add title attributes to elements
805
-
806
- It can help navigation, we think...
807
-
808
- commit 681e8295fe87e32676873319fb445709d16212d8
809
- Author: Eric Wong <normalperson@yhbt.net>
810
- Date: Fri Mar 18 09:12:28 2011 +0000
811
-
812
- watcher: RDoc examples point to the demo
813
-
814
- No need to waste bandwidth of example.com when
815
- we have a meaningful demo site :)
816
-
817
- commit b8d44ff60c5cd6db6b971e2206cf18b5420a95cb
818
- Author: Eric Wong <normalperson@yhbt.net>
819
- Date: Fri Mar 18 09:05:47 2011 +0000
820
-
821
- watcher: set Expires headers for cache invalidation
822
-
823
- We know exactly when to invalidate based on the delay :)
824
-
825
- commit 7c7e34dab18331082fe7b703b9bbdd40ea5bcbf6
826
- Author: Eric Wong <normalperson@yhbt.net>
827
- Date: Fri Mar 18 08:58:25 2011 +0000
828
-
829
- zbatery.conf: disable user switching, add pid file
830
-
831
- Zbatery sucks at user switching + USR2+QUIT reloads
832
-
833
- commit 734133e15620584618df49e76ecabd7c28c72444
834
- Author: Eric Wong <normalperson@yhbt.net>
835
- Date: Fri Mar 18 08:20:11 2011 +0000
836
-
837
- watcher: prevent Rack::Deflater from buffering
838
-
839
- Set "Cache-Control: no-transform" to prevent frontend proxies
840
- from flushing data.
841
-
842
- commit 9af99455c06abd69d18fed751ea16d914e62cf84
843
- Author: Eric Wong <normalperson@yhbt.net>
844
- Date: Thu Mar 17 16:43:46 2011 -0700
845
-
846
- watcher: add link to the Watcher documentation
847
-
848
- Hopefully people can learn to use the REST API
849
- this way.
850
-
851
- commit 37718b5833f04870d14bfdca3dc84e4f885c71d9
852
- Author: Eric Wong <normalperson@yhbt.net>
853
- Date: Wed Mar 16 20:18:22 2011 -0700
854
-
855
- watcher: fix rdoc
856
-
857
- commit 744c4c11c58f40c925c0d36eefb2287095a2f127
858
- Author: Eric Wong <normalperson@yhbt.net>
859
- Date: Wed Mar 16 19:53:59 2011 -0700
860
-
861
- raindrops 0.5.0 - more Linux extras!
862
-
863
- Portable changes:
864
- * Raindrops are now resizable within the limits of system page size
865
- * Raindrops::Middleware proxies +to_path+ in response bodies
866
- * More documentation
867
-
868
- Linux-only changes:
869
- * Raindrops::LastDataRecv[1] Rack application
870
- * Raindrops::Watcher[2] Rack application
871
- * Raindrops::TCP_Info[3] class for capturing TCP connection stats
872
- * IPv6 support for inet_diag
873
- * faster inet_diag stats for multiple sockets
874
-
875
- There is also a demo server running the Watcher and Middleware
876
- components. It's capped to 30 concurrent users, so go easy on
877
- it:
878
-
879
- Raindrops::Watcher: http://raindrops-demo.bogomips.org/
880
- Raindrops::Middleware: http://raindrops-demo.bogomips.org/_raindrops
881
-
882
- [1] http://raindrops.bogomips.org/Raindrops/LastDataRecv.html
883
- [2] http://raindrops.bogomips.org/Raindrops/Watcher.html
884
- [3] http://raindrops.bogomips.org/Raindrops/TCP_Info.html
885
-
886
- commit f1b45e2f44f45122313abc88e139d49c0e39c7b7
887
- Author: Eric Wong <normalperson@yhbt.net>
888
- Date: Wed Mar 16 20:12:22 2011 -0700
889
-
890
- watcher: retry on empty stats
891
-
892
- Those will cause Aggregate to raise Errno::EDOM
893
-
894
- commit 3c6aee0e33c53d0f270b1ceb40efe6ed29fa9232
895
- Author: Eric Wong <normalperson@yhbt.net>
896
- Date: Wed Mar 16 20:10:12 2011 -0700
897
-
898
- test_raindrops_gc: disable by default
899
-
900
- It takes too long
901
-
902
- commit 7e3b385eb433a5b23da5742ca69804f34837f947
903
- Author: Eric Wong <normalperson@yhbt.net>
904
- Date: Wed Mar 16 20:09:38 2011 -0700
905
-
906
- test_linux_all_tcp_listen_stats_leak: fix for 1.8
907
-
908
- Apparently 1.8 Test::Unit doesn't like empty test classes
909
-
910
- commit a3cf985b82f5b252434c89d7e0ec6277ac8fe596
911
- Author: Eric Wong <normalperson@yhbt.net>
912
- Date: Thu Mar 17 02:47:47 2011 +0000
913
-
914
- rdoc: document the demo URLs
915
-
916
- commit 0ab20cd7e10a3c9d4ddcbe2bde28542c350b4b0e
917
- Author: Eric Wong <normalperson@yhbt.net>
918
- Date: Thu Mar 17 02:33:29 2011 +0000
919
-
920
- watcher_demo: add more listeners to the mix
921
-
922
- git is on 9418 and my cgit UNIX domain socket
923
-
924
- commit 601fdd86fdbf847e47cdbb981afc60dafa407bd5
925
- Author: Eric Wong <normalperson@yhbt.net>
926
- Date: Thu Mar 17 02:33:28 2011 +0000
927
-
928
- inet_diag: properly deal with INADDR_ANY binds
929
-
930
- Oops :x This was totally broken with the all-listener
931
- filter.
932
-
933
- commit ca49963f55447794c3e2254fe9dc633c9268e9be
934
- Author: Eric Wong <normalperson@yhbt.net>
935
- Date: Thu Mar 17 02:33:27 2011 +0000
936
-
937
- linux-listener-stats: all means all (UNIX and TCP listeners)
938
-
939
- No more splitting all TCP or all UNIX listeners
940
-
941
- commit 39cab8b630d41d8d002f5d4f65280bc63706c74f
942
- Author: Eric Wong <normalperson@yhbt.net>
943
- Date: Thu Mar 17 02:33:26 2011 +0000
944
-
945
- update examples for http://raindrops-demo.bogomips.org/
946
-
947
- Whee!
948
-
949
- commit 1f29269eabd806f1e0cb9ca7fd4231d8588d7669
950
- Author: Eric Wong <normalperson@yhbt.net>
951
- Date: Thu Mar 17 02:33:25 2011 +0000
952
-
953
- watcher: properly stream responses for <= HTTP/1.0
954
-
955
- nginx makes HTTP/1.0 requests and expects HTTP/1.1 responses
956
-
957
- commit 57c9f70fb3c14ed94f4fb2445a8a4168f8c5253b
958
- Author: Eric Wong <normalperson@yhbt.net>
959
- Date: Wed Mar 16 16:38:46 2011 -0700
960
-
961
- update examples for Rack/Zbatery
962
-
963
- commit 3656a61bfb24ac76bc47d314327c01f9fd10a717
964
- Author: Eric Wong <normalperson@yhbt.net>
965
- Date: Wed Mar 16 16:03:56 2011 -0700
966
-
967
- doc: fix documentation for Raindrops::InetDiagSocket class
968
-
969
- commit db9162575b885add7c3b7ab06f9c03a2ebc44a1f
970
- Author: Eric Wong <normalperson@yhbt.net>
971
- Date: Wed Mar 16 15:22:42 2011 -0700
972
-
973
- add Watcher Rack application
974
-
975
- It does streaming!
976
-
977
- commit b0be66c37bb7080b0f06ab76b0e7d3404e2f9059
978
- Author: Eric Wong <normalperson@yhbt.net>
979
- Date: Mon Mar 14 14:58:40 2011 -0700
980
-
981
- linux-listener-stats: use timerfd if available
982
-
983
- It is more accurate than sleep and doesn't require calculating
984
- times
985
-
986
- commit 65dc45b7a13c92b27bc3589e37a3b52c29b7fbee
987
- Author: Eric Wong <normalperson@yhbt.net>
988
- Date: Mon Mar 14 16:52:19 2011 -0700
989
-
990
- linux: avoid Array#first/Array#last
991
-
992
- More confusing for me, actually...
993
-
994
- commit a9bfa55f9a1d1c96d73367d3bb46f7b9e81fbbf9
995
- Author: Eric Wong <normalperson@yhbt.net>
996
- Date: Mon Mar 14 16:38:58 2011 -0700
997
-
998
- linux: unix_listener_stats may scan all paths
999
-
1000
- This matches behavior of the TCP version.
1001
-
1002
- commit 724f82bb5feaf1df40b02b8f353e94496f060647
1003
- Author: Eric Wong <normalperson@yhbt.net>
1004
- Date: Mon Mar 14 14:50:43 2011 -0700
1005
-
1006
- linux-listener-stats: allow -a for all TCP sockets
1007
-
1008
- Sometimes we want more of them
1009
-
1010
- commit 65f46737ad5641841a5e5a89f4651d160dacffc0
1011
- Author: Eric Wong <normalperson@yhbt.net>
1012
- Date: Sat Mar 12 12:56:16 2011 -0800
1013
-
1014
- inet_diag: switch to inet_pton() for translation
1015
-
1016
- getaddrinfo() needs to get a list of available interfaces
1017
- from the kernel with every single call (since ipv6 could've
1018
- been modprobed), so it's a waste of syscalls.
1019
-
1020
- commit c478549ea7490de2432ed31ffee37a2bfc1d24f3
1021
- Author: Eric Wong <normalperson@yhbt.net>
1022
- Date: Sat Mar 12 12:56:15 2011 -0800
1023
-
1024
- allow reusing netlink socket for inet_diag
1025
-
1026
- No need to waste resources on creating/destroying
1027
- a socket.
1028
-
1029
- commit a4b9c8334e2bc0698f0650d275be0935e86dc13e
1030
- Author: Eric Wong <normalperson@yhbt.net>
1031
- Date: Sat Mar 12 10:17:00 2011 +0000
1032
-
1033
- inet_diag: fix signedness warnings on 32-bit
1034
-
1035
- I thought my compiler would be smarter :<
1036
-
1037
- commit 44bb459d7af7efad26540c9844b86f59088d3e13
1038
- Author: Eric Wong <normalperson@yhbt.net>
1039
- Date: Sat Mar 12 10:13:27 2011 +0000
1040
-
1041
- inet_diag: no need to specify family
1042
-
1043
- The way we dump, we dump it all, it seems.
1044
-
1045
- commit f9f10fb9815e11d5935edc9427eb1bc05dce751f
1046
- Author: Eric Wong <normalperson@yhbt.net>
1047
- Date: Sat Mar 12 10:04:45 2011 +0000
1048
-
1049
- inet_diag: fix up IPv6 address stringification
1050
-
1051
- This means we can read multiple addresses at once,
1052
- even IPv6 ones.
1053
-
1054
- commit 54e0335c80a062c2fb4ec1351975500cf778f7eb
1055
- Author: Eric Wong <normalperson@yhbt.net>
1056
- Date: Sat Mar 12 09:43:21 2011 +0000
1057
-
1058
- tests: remove unused_port function
1059
-
1060
- It's not needed since we don't care to rebind sockets
1061
-
1062
- commit 79be320c3e4baf1af4b36fb269f08448c5400e47
1063
- Author: Eric Wong <normalperson@yhbt.net>
1064
- Date: Sat Mar 12 09:39:49 2011 +0000
1065
-
1066
- inet_diag: fall back on IPv6 lookups
1067
-
1068
- It's slow, but at least it works.
1069
-
1070
- commit bf0a3c731ec3573160b9ee40cbfd7e2817d91080
1071
- Author: Eric Wong <normalperson@yhbt.net>
1072
- Date: Sat Mar 12 09:26:30 2011 +0000
1073
-
1074
- inet_diag: fold all_tcp_listener_stats into tcp_listener_stats
1075
-
1076
- No reason to have an extra method. This also speeds up
1077
- the multi-listener case for tcp_listener_stats since it
1078
- avoids expensive sendmsg() syscalls.
1079
-
1080
- commit 562e2e243e69f128c47ceb59c5b1710fa35c7081
1081
- Author: Eric Wong <normalperson@yhbt.net>
1082
- Date: Sat Mar 12 08:58:35 2011 +0000
1083
-
1084
- inet_diag: small reorganization
1085
-
1086
- commit 8f12e060ce2a47f92b47d197f8daf7c094277bf3
1087
- Author: Eric Wong <normalperson@yhbt.net>
1088
- Date: Sat Mar 12 08:51:11 2011 +0000
1089
-
1090
- inet_diag: do not set unblocking function
1091
-
1092
- netlink is fast and predictable in response times, so permitting
1093
- interrupts would just complicate things and lead to errors.
1094
-
1095
- commit 3a2fe1f1330899c42deb5e714db1d5799e50a292
1096
- Author: Eric Wong <normalperson@yhbt.net>
1097
- Date: Sat Mar 12 08:46:07 2011 +0000
1098
-
1099
- move st_table cleanup
1100
-
1101
- Fewer places to check for errors, we think.
1102
-
1103
- commit e6b5e940fdb8e2ded70a80132af6c280db02e8d8
1104
- Author: Eric Wong <normalperson@yhbt.net>
1105
- Date: Sat Mar 12 08:30:40 2011 +0000
1106
-
1107
- inet_diag: stricter IPv6 address parsing
1108
-
1109
- Be stricter about invalid inputs.
1110
-
1111
- commit d4faac5480f6416cf92301745a9a9572bc865061
1112
- Author: Eric Wong <normalperson@yhbt.net>
1113
- Date: Fri Mar 11 20:56:49 2011 -0800
1114
-
1115
- linux: method for dumping all TCP listener stats
1116
-
1117
- This is a work-in-progress and will probably be modified
1118
- before the next release.
1119
-
1120
- commit fe2615590d5e8ac8e735200696ec8396fb3cd219
1121
- Author: Eric Wong <normalperson@yhbt.net>
1122
- Date: Fri Mar 11 19:45:54 2011 -0800
1123
-
1124
- inet_diag: force the use of 32-bit counters
1125
-
1126
- 64-bit counters are unnecessarily large for tracking
1127
- active or queued connections until we have IP_ROFLSCALE
1128
- support :>
1129
-
1130
- commit f6cdffc3f8ba6dc276cff38c11d9f92aea1313ea
1131
- Author: Eric Wong <normalperson@yhbt.net>
1132
- Date: Fri Mar 11 19:44:24 2011 -0800
1133
-
1134
- inet_diag: fixup braindamage from refactoring
1135
-
1136
- Oops :x
1137
-
1138
- commit af73ca855100a9aadad9bf60de45df62e8aa44e2
1139
- Author: Eric Wong <normalperson@yhbt.net>
1140
- Date: Fri Mar 11 16:12:17 2011 -0800
1141
-
1142
- cleanup struct initialization to avoid ifdefs
1143
-
1144
- Too hard to maintain.
1145
-
1146
- commit fac0211221d70b94c0301f977e8a6ba429d79ef8
1147
- Author: Eric Wong <normalperson@yhbt.net>
1148
- Date: Fri Mar 11 16:05:12 2011 -0800
1149
-
1150
- use unsigned values for all counters
1151
-
1152
- We can't have negative values
1153
-
1154
- commit da18a484d7e8ae15de68298557aa63cc431a7c63
1155
- Author: Eric Wong <normalperson@yhbt.net>
1156
- Date: Fri Mar 11 15:58:33 2011 -0800
1157
-
1158
- inet_diag: cleanup unnecessarily large struct
1159
-
1160
- We don't care for this address.
1161
-
1162
- commit cf4acabf3e8993fe59840aaa6717d65f2ca95fc9
1163
- Author: Eric Wong <normalperson@yhbt.net>
1164
- Date: Fri Mar 11 15:04:39 2011 -0800
1165
-
1166
- inet_diag: fixup broken assertion
1167
-
1168
- Oops, strings are always true :x
1169
-
1170
- commit 70041dfa82015119b33d34b46ecbb0a5c45587cf
1171
- Author: Eric Wong <normalperson@yhbt.net>
1172
- Date: Fri Mar 11 14:56:19 2011 -0800
1173
-
1174
- inet_diag: factor out prep code
1175
-
1176
- We're going to experiment with something...
1177
-
1178
- commit 55c9127ede4114f65b0bc01cdaa1152ef21ca95a
1179
- Author: Eric Wong <normalperson@yhbt.net>
1180
- Date: Fri Mar 11 13:49:08 2011 -0800
1181
-
1182
- doc: more rdoc updates for Linux users
1183
-
1184
- Yes we love Linux more than other systems :>
1185
-
1186
- commit 57fe99f294e0fe948593beeae7cf879efe4cdd52
1187
- Author: Eric Wong <normalperson@yhbt.net>
1188
- Date: Fri Mar 11 13:37:48 2011 -0800
1189
-
1190
- the core Raindrops class is portable, yes it is
1191
-
1192
- OK, not to non-Unix but I'll never care :>
1193
-
1194
- commit 154842a48c0baba66daf744f3be06fd8701b9638
1195
- Author: Eric Wong <normalperson@yhbt.net>
1196
- Date: Fri Mar 11 13:35:47 2011 -0800
1197
-
1198
- tcp_info: more documentation on last_data_recv
1199
-
1200
- It's useful, yes.
1201
-
1202
- commit 666cb9c38fd132ec8bee0b7860b6cf30db0f9b41
1203
- Author: Eric Wong <normalperson@yhbt.net>
1204
- Date: Thu Mar 10 19:18:23 2011 -0800
1205
-
1206
- .document: remove non-existent reference
1207
-
1208
- raindrops_ext.c never existed :o
1209
-
1210
- commit 035bcb9fa5ab9c95bd2f5b0515f74d8d51b87805
1211
- Author: Eric Wong <normalperson@yhbt.net>
1212
- Date: Thu Mar 10 18:29:10 2011 -0800
1213
-
1214
- tests: only do the GC test on MRI
1215
-
1216
- "Advanced" GCs are typically less aggressive and typically allow
1217
- much more memory to be used.
1218
-
1219
- commit 42e8c96aa4e4d2cf3ba82751fcc0487e7e8a0225
1220
- Author: Eric Wong <normalperson@yhbt.net>
1221
- Date: Thu Mar 10 18:28:18 2011 -0800
1222
-
1223
- fix stupid typo in Raindrops#size=
1224
-
1225
- Oops, it could give the GC problems.
1226
-
1227
- commit e87875ba261fa5b0cd328bcf03e666e2d9078114
1228
- Author: Eric Wong <normalperson@yhbt.net>
1229
- Date: Thu Mar 10 17:24:02 2011 -0800
1230
-
1231
- tests: ensure munmap() in children don't muck up the parent
1232
-
1233
- Raindrops is designed to work with forking servers after all.
1234
-
1235
- commit e516e45640206fa3e7864938da74a7cb5ca31715
1236
- Author: Eric Wong <normalperson@yhbt.net>
1237
- Date: Fri Mar 11 02:12:37 2011 +0000
1238
-
1239
- support for Raindrops#size= and Raindrops#evaporate!
1240
-
1241
- This allows limited resizing of the Raindrops memory
1242
- area since we always over-allocate due to the required
1243
- page aligment for mmap.
1244
-
1245
- It would be nice if mremap() worked with MAP_SHARED,
1246
- but it does not and triggers a bus error when attempting
1247
- to access the new area.
1248
-
1249
- ref: https://bugzilla.kernel.org/show_bug.cgi?id=8691
1250
-
1251
- commit 61962b27a51031965cef70451d369b115868fb11
1252
- Author: Eric Wong <normalperson@yhbt.net>
1253
- Date: Thu Mar 10 10:51:38 2011 +0000
1254
-
1255
- rdoc: 100% documentation coverage!
1256
-
1257
- Of course, RDoc doesn't know quantity vs quality :)
1258
-
1259
- commit 8392f8186cd21f9190474bd6b5ac6ec58c7af96a
1260
- Author: Eric Wong <normalperson@yhbt.net>
1261
- Date: Thu Mar 10 06:11:10 2011 +0000
1262
-
1263
- test_middleware_unicorn: GC is aggressive!
1264
-
1265
- Oops, don't let GC close our listener before Unicorn
1266
- can inherit it.
1267
-
1268
- commit b353e42e6f12f26a926bbb3202c8bb8e7a916d1c
1269
- Author: Eric Wong <normalperson@yhbt.net>
1270
- Date: Wed Mar 9 21:12:32 2011 -0800
1271
-
1272
- experiment with Bundler for dev dependencies
1273
-
1274
- It seems nice
1275
-
1276
- commit 485d3fa598a119b409734e0a4193d78fe50f4ff7
1277
- Author: Eric Wong <normalperson@yhbt.net>
1278
- Date: Wed Mar 9 17:03:20 2011 -0800
1279
-
1280
- disable aggregate/pmq stuff under 1.8
1281
-
1282
- POSIX message queues needs native threads to function.
1283
-
1284
- commit fa64d77ac096612d6bc731407066df8aa1ff79a7
1285
- Author: Eric Wong <normalperson@yhbt.net>
1286
- Date: Wed Mar 9 16:54:46 2011 -0800
1287
-
1288
- aggregate/pmq: we need a Mutex to protect fcntl() locks
1289
-
1290
- fcntl() locks are per-process, so we also need something
1291
- to protect individual threads within a process from stepping
1292
- over each other.
1293
-
1294
- commit b57881c86de4e7406ca537b5285f27d7130b0073
1295
- Author: Eric Wong <normalperson@yhbt.net>
1296
- Date: Tue Mar 8 16:52:43 2011 -0800
1297
-
1298
- linux-listener-stats: do not load aggregate for single snapshot
1299
-
1300
- This is only useful when looped inside screen or something
1301
- similar...
1302
-
1303
- commit d5cbd604badd58ebd99a5e19953d20d7672da4dc
1304
- Author: Eric Wong <normalperson@yhbt.net>
1305
- Date: Tue Mar 8 16:45:01 2011 -0800
1306
-
1307
- linux-listener-stats: add optional Aggregate gem support
1308
-
1309
- USR1 dumps histograms, and USR2 resets the counters
1310
-
1311
- commit 93bb8af761dbaa8e19c4660c520db1ee7ba1c70b
1312
- Author: Eric Wong <normalperson@yhbt.net>
1313
- Date: Tue Mar 8 16:30:47 2011 -0800
1314
-
1315
- linux-listener-stats: favor narrower display if possible
1316
-
1317
- No need to make eyes drift :)
1318
-
1319
- commit 90726e5187a9053c6eb7caf90ebec1d38d4372ea
1320
- Author: Eric Wong <normalperson@yhbt.net>
1321
- Date: Tue Mar 8 14:18:11 2011 -0800
1322
-
1323
- preliminary Rack app to track last_data_recv
1324
-
1325
- Seems to basically work
1326
-
1327
- commit 96c8be2ea8830e2eb3a9108f501df52c21b42546
1328
- Author: Eric Wong <normalperson@yhbt.net>
1329
- Date: Fri Mar 4 17:08:13 2011 -0800
1330
-
1331
- test_linux_tcp_info: add test for last_data_recv
1332
-
1333
- commit 4372cf8ef8203c93632cdaf163a1c923075e7d0f
1334
- Author: Eric Wong <normalperson@yhbt.net>
1335
- Date: Fri Mar 4 16:00:38 2011 -0800
1336
-
1337
- Aggregate support via POSIX message queues
1338
-
1339
- commit 55efe20df7f2cf594786e16e890382208a114f65
1340
- Author: Eric Wong <normalperson@yhbt.net>
1341
- Date: Tue Mar 1 16:36:44 2011 -0800
1342
-
1343
- tests: cleaner skipping for missing components
1344
-
1345
- commit 26558f816ecbe25955f549355aa57aef5959a22e
1346
- Author: Eric Wong <normalperson@yhbt.net>
1347
- Date: Tue Mar 1 16:30:24 2011 -0800
1348
-
1349
- gemspec: add Rack and Unicorn as dev dependencies
1350
-
1351
- They are useful
1352
-
1353
- commit 16201f3c16b66beb9694eff2bed2f4b8ccd1f010
1354
- Author: Eric Wong <normalperson@yhbt.net>
1355
- Date: Tue Mar 1 14:47:42 2011 -0800
1356
-
1357
- test_linux_tcp_info: workaround for ancient kernels
1358
-
1359
- UGH...
1360
-
1361
- commit 943fbb44f7b2194311ac614c3a6c54420c8dda94
1362
- Author: Eric Wong <normalperson@yhbt.net>
1363
- Date: Tue Mar 1 14:47:41 2011 -0800
1364
-
1365
- use struct tcp_info from linux/tcp.h
1366
-
1367
- It's more complete for people on ancient systems where
1368
- "struct tcp_info" is defined in netinet/tcp and missing
1369
- tcp_ircv_rtt, tcpi_rcv_space and tcpi_total_retrans.
1370
-
1371
- commit d93e6b2903f2d702b5dc85de86eb91eb7794cc0d
1372
- Author: Eric Wong <normalperson@yhbt.net>
1373
- Date: Tue Mar 1 14:07:59 2011 -0800
1374
-
1375
- linux-listener-stats: add timestamps and thresholds
1376
-
1377
- Matches my common usage patterns
1378
-
1379
- commit 03c75f547db2d40ea29b5753359bb0df210834f9
1380
- Author: Eric Wong <normalperson@yhbt.net>
1381
- Date: Mon Feb 28 17:14:04 2011 -0800
1382
-
1383
- linux-tcp-listener-stats: fix fractional second delays
1384
-
1385
- Sometimes sleeping for one second between reads is too much...
1386
-
1387
- commit 1c3e0a2575c0644a7fca02bbe865e2ce421f5adb
1388
- Author: Eric Wong <normalperson@yhbt.net>
1389
- Date: Tue Mar 1 00:57:35 2011 +0000
1390
-
1391
- linux-listener-stats: not just for TCP...
1392
-
1393
- This can now be used to monitor UNIX domain socket queues, too.
1394
-
1395
- commit 6d12a518f69f950d814eb223fe5bf1ad448dcc34
1396
- Author: Eric Wong <normalperson@yhbt.net>
1397
- Date: Tue Mar 1 00:50:40 2011 +0000
1398
-
1399
- linux-tcp-listener-stats: synchronize stdout/stderr
1400
-
1401
- We want any pipe readers to see this immediately
1402
-
1403
- commit b080ac88303f31332252aae4b430af5445114b99
1404
- Author: Eric Wong <normalperson@yhbt.net>
1405
- Date: Mon Feb 28 16:29:18 2011 -0800
1406
-
1407
- doc: mention tcp_diag/inet_diag for old kernels
1408
-
1409
- People actually need to load modules manually on older kernels :<
1410
-
1411
- commit 012d2fe51afd46fdddbf62f7ebba5102c7f3361a
1412
- Author: Eric Wong <normalperson@yhbt.net>
1413
- Date: Sat Feb 26 21:02:57 2011 +0000
1414
-
1415
- middleware: split out proxy class
1416
-
1417
- It's easier to find this way.
1418
-
1419
- commit ac6b83ea1c277cd798e2f627fa5eee605efab4fe
1420
- Author: Eric Wong <normalperson@yhbt.net>
1421
- Date: Sat Feb 26 20:59:00 2011 +0000
1422
-
1423
- middleware: avoid double decrement when reading stats
1424
-
1425
- Oops!
1426
-
1427
- commit e4ab2cc40bdbd1698f4bcf138e83c4823d118f81
1428
- Author: Eric Wong <normalperson@yhbt.net>
1429
- Date: Fri Feb 25 19:43:06 2011 -0800
1430
-
1431
- proxy +to_path+ calls in the response body
1432
-
1433
- We need to do this for apps that depend on things like the
1434
- sendfile() optimizations in Rainbows!
1435
-
1436
- commit fcf99bd7e3323ea99c5bfc8a3a15fbbc18cc8285
1437
- Author: Eric Wong <normalperson@yhbt.net>
1438
- Date: Tue Feb 22 19:24:56 2011 -0800
1439
-
1440
- LICENSE: fix wording, we bundle a copy of the LGPL
1441
-
1442
- No need for people to download glibc to get the LGPL :>
1443
-
1444
- commit df3d3a0b09f05249aff9f25f558f988bfcad8874
1445
- Author: Eric Wong <normalperson@yhbt.net>
1446
- Date: Tue Feb 22 19:24:55 2011 -0800
1447
-
1448
- add Raindrops::MAX constant
1449
-
1450
- This is the highest number a counter may be incremented to
1451
- before it overflows.
1452
-
1453
- commit db192979f096d0153ad14e530e1e2e193289c7e0
1454
- Author: Eric Wong <normalperson@yhbt.net>
1455
- Date: Tue Feb 22 19:24:54 2011 -0800
1456
-
1457
- linux: add support for TCP_INFO reporting
1458
-
1459
- This returns a Raindrops::TCP_Info object
1460
- that wraps a tcp_info struct.
1461
-
1462
- commit ebc2093847705c382b4d83ed5120e44b9afad3c0
1463
- Author: Eric Wong <normalperson@yhbt.net>
1464
- Date: Tue Feb 22 19:24:53 2011 -0800
1465
-
1466
- split out RSTRUCT* compat macros
1467
-
1468
- We might reuse that for other code...
1469
-
1470
- commit a73fe2f033a766a05ecef01bef015e2d1993bddd
1471
- Author: Eric Wong <normalperson@yhbt.net>
1472
- Date: Tue Feb 22 19:24:52 2011 -0800
1473
-
1474
- use autoload for Linux module
1475
-
1476
- We'll be doing more Linux-only stuff
1477
-
1478
- commit e10e520d47fa96cf549c7d544d6575baa8ed748a
1479
- Author: Eric Wong <normalperson@yhbt.net>
1480
- Date: Wed Feb 16 01:31:41 2011 +0000
1481
-
1482
- middleware: add ipv6 address detection for Unicorn
1483
-
1484
- Since Unicorn and Rainbows! support IPv6 now, it makes sense to
1485
- support the rfc2732-style addresses it returns.
1486
-
1487
- commit e5faa4da78af196ee5abbccf197671fd8e77adad
1488
- Author: Eric Wong <normalperson@yhbt.net>
1489
- Date: Wed Feb 16 01:31:40 2011 +0000
1490
-
1491
- linux: add ipv6 support for inet_diag
1492
-
1493
- inet_diag already supports AF_INET6.
1494
-
1495
- commit 5183832d1e70cd89aab1cb8bb2e2795f0ad247c7
1496
- Author: Eric Wong <normalperson@yhbt.net>
1497
- Date: Tue Feb 15 15:02:04 2011 -0800
1498
-
1499
- README: shorten git URLs
1500
-
1501
- bogomips.org is on a URL diet
1502
-
1503
- commit 05458d4067c1642fe89f164ce3e6466af1458043
1504
- Author: Eric Wong <normalperson@yhbt.net>
1505
- Date: Tue Feb 15 14:57:18 2011 -0800
1506
-
1507
- test_linux: fix STRESS=1 tests
1508
-
1509
- commit f9233c20d453475df22ce7e4d0d098837f0d859a
1510
- Author: Eric Wong <normalperson@yhbt.net>
1511
- Date: Tue Feb 15 10:37:06 2011 -0800
1512
-
1513
- middleware: switch to ivars
1514
-
1515
- These are slightly faster than regular method dispatch
1516
-
1517
- commit 7f186515f214347bf5e146ce8d16a38f32f9cdfb
1518
- Author: Eric Wong <normalperson@yhbt.net>
1519
- Date: Tue Feb 15 10:14:22 2011 -0800
1520
-
1521
- middleware: avoid capturing block variable
1522
-
1523
- It's a needless allocation
1524
-
1525
- commit 489d08233b2ec43353e25f857e3639751f4f529b
1526
- Author: Eric Wong <normalperson@yhbt.net>
1527
- Date: Tue Feb 15 10:13:15 2011 -0800
1528
-
1529
- unindent modules
1530
-
1531
- No need to clutter/confuse namespace lookups
1532
-
1533
- commit 0344ffd5fa6c4693f5a8351e451c6a0852de81ed
1534
- Author: Eric Wong <normalperson@yhbt.net>
1535
- Date: Tue Feb 15 09:58:09 2011 -0800
1536
-
1537
- update packaging to use wrongdoc + pkg.mk
1538
-
1539
- No more JavaScript!
1540
-
1541
- commit 29216b7c3337d545e49a5ce978659d47a5f3e8b0
1542
- Author: Bryan McLellan <btm@loftninjas.org>
1543
- Date: Fri Feb 11 16:46:43 2011 -0800
1544
-
1545
- addrs are always an Array of Strings
1546
-
1547
- Acked-by: Eric Wong <normalperson@yhbt.net>
1548
-
1549
- commit 304287f2e12e351fb5bf18e28ab3ad62a2f913e5
1550
- Author: Eric Wong <normalperson@yhbt.net>
1551
- Date: Sun Sep 26 06:51:57 2010 +0000
1552
-
1553
- README: update for Rubinius support
1554
-
1555
- It works!
1556
-
1557
- commit 9736c2e991bc695b53b995ee2ecb44b58f88d0af
1558
- Author: Eric Wong <normalperson@yhbt.net>
1559
- Date: Sun Sep 26 06:44:45 2010 +0000
1560
-
1561
- raindrops 0.4.1 - more portability!
1562
-
1563
- Rubinius 1.1.0 support is complete. Atomic operations
1564
- are now available under FreeBSD 7.0 now.
1565
-
1566
- Full changelog below:
1567
-
1568
- commit 8a2a725a4ad074af493e5aa075155eda8b1d6be7
1569
- Author: Eric Wong <e+absinthe@yhbt.net>
1570
- Date: Sat Sep 25 00:14:48 2010 -0700
1571
-
1572
- force -march=i486 where GCC is targeted for i386
1573
-
1574
- Nobody uses i386 anymore (especially not with Ruby!),
1575
- but some systems like FreeBSD 7.0 still target GCC at
1576
- i386 by default, so we force GCC to use a slightly
1577
- more modern instruction set and allow it to use
1578
- atomic builtins.
1579
-
1580
- commit 256cc7c8ffb441dcf2d2a2da3bbbcc82546962d9
1581
- Author: Eric Wong <e+absinthe@yhbt.net>
1582
- Date: Sat Sep 25 00:01:46 2010 -0700
1583
-
1584
- disable Linux-only code on non-Linux
1585
-
1586
- This allows us to build and link correctly on FreeBSD 7.0
1587
-
1588
- commit 22a5a39d75faa890048d07ae4ea0d494acd414ce
1589
- Author: Eric Wong <e@yhbt.net>
1590
- Date: Sat Sep 25 06:25:42 2010 +0000
1591
-
1592
- linux: workaround missing RSTRUCT* macros in rbx
1593
-
1594
- Rubinius does not include macros for accessing
1595
- Struct members in the C API.
1596
-
1597
- ref: http://github.com/evanphx/rubinius/issues/494
1598
-
1599
- commit 8a2a725a4ad074af493e5aa075155eda8b1d6be7
1600
- Author: Eric Wong <e+absinthe@yhbt.net>
1601
- Date: Sat Sep 25 00:14:48 2010 -0700
1602
-
1603
- force -march=i486 where GCC is targeted for i386
1604
-
1605
- Nobody uses i386 anymore (especially not with Ruby!),
1606
- but some systems like FreeBSD 7.0 still target GCC at
1607
- i386 by default, so we force GCC to use a slightly
1608
- more modern instruction set and allow it to use
1609
- atomic builtins.
1610
-
1611
- commit 256cc7c8ffb441dcf2d2a2da3bbbcc82546962d9
1612
- Author: Eric Wong <e+absinthe@yhbt.net>
1613
- Date: Sat Sep 25 00:01:46 2010 -0700
1614
-
1615
- disable Linux-only code on non-Linux
1616
-
1617
- This allows us to build and link correctly on FreeBSD 7.0
1618
-
1619
- commit 22a5a39d75faa890048d07ae4ea0d494acd414ce
1620
- Author: Eric Wong <e@yhbt.net>
1621
- Date: Sat Sep 25 06:25:42 2010 +0000
1622
-
1623
- linux: workaround missing RSTRUCT* macros in rbx
1624
-
1625
- Rubinius does not include macros for accessing
1626
- Struct members in the C API.
1627
-
1628
- ref: http://github.com/evanphx/rubinius/issues/494
1629
-
1630
- commit 663111480d8222763e5f553a71166442ef9990cc
1631
- Author: Eric Wong <normalperson@yhbt.net>
1632
- Date: Tue Sep 21 22:40:16 2010 +0000
1633
-
1634
- release: publish rubyforge news post
1635
-
1636
- Otherwise we'd keep forgetting and users would not know
1637
- about us.
1638
-
1639
- commit 1370d991d6bbe7b1916550996bca95b6b7a8f43d
1640
- Author: Eric Wong <normalperson@yhbt.net>
1641
- Date: Mon Sep 20 13:51:00 2010 -0700
1642
-
1643
- raindrops 0.4.0 - flowing into new systems!
1644
-
1645
- Non-GCC 4.x users may use the libatomic_ops[1] package to
1646
- compile Raindrops. Memory efficiency is improved for modern
1647
- glibc users with run-time cache line size detection, we no
1648
- longer assume 128 byte cache lines.
1649
-
1650
- [1] - http://www.hpl.hp.com/research/linux/atomic_ops/
1651
-
1652
- commit 7cbba13a1be4928705148de359c3cf14a6552b71
1653
- Author: Eric Wong <normalperson@yhbt.net>
1654
- Date: Mon Sep 20 13:50:39 2010 -0700
1655
-
1656
- README: updates for upcoming 0.4.0 release
1657
-
1658
- No more GCC 4.x dependency!
1659
-
1660
- commit 2d02974c708ab9fe1e690e902c94ba0bff5a4dd0
1661
- Merge: daec89e 24d6944
1662
- Author: Eric Wong <normalperson@yhbt.net>
1663
- Date: Mon Sep 20 12:14:33 2010 -0700
1664
-
1665
- Merge branch '0.3.0' (fixup minor 0.3.0 mistag)
1666
-
1667
- * 0.3.0:
1668
- raindrops v0.3.0 - LGPL v2.1 and v3.0
1669
-
1670
- commit 24d6944eae2b9af585b89bf0f7de64162848b0a7
1671
- Merge: e3679c4 eed4332
1672
- Author: Eric Wong <normalperson@yhbt.net>
1673
- Date: Mon Sep 20 12:14:23 2010 -0700
1674
-
1675
- Merge commit 'v0.3.0' into 0.3.0
1676
-
1677
- * commit 'v0.3.0':
1678
- raindrops v0.3.0 - LGPL v2.1 and v3.0
1679
-
1680
- commit daec89e0cae4b4f87cd263d385eca353c04f3f0d
1681
- Author: Eric Wong <normalperson@yhbt.net>
1682
- Date: Sat Sep 18 09:08:00 2010 +0000
1683
-
1684
- use runtime cache line size detection
1685
-
1686
- Modern glibc can easily return the L1 cache line size with
1687
- sysconf(3), so we'll use that and avoid paying a size penalty on
1688
- CPUs with smaller cache lines than 128 (every modern x86 except
1689
- the idiotic P4).
1690
-
1691
- Additionally, if we detect a single CPU machine, avoid paying
1692
- any padding penalty at all.
1693
-
1694
- On machines without the non-portable glibc sysconf(3)
1695
- enhancements, we'll continue to operate on the assumption
1696
- of an enormous 128 byte cache line size.
1697
-
1698
- commit c658a2be7355ceee72736cc17754022dc7abfa9f
1699
- Author: Eric Wong <normalperson@yhbt.net>
1700
- Date: Sat Sep 18 06:43:19 2010 +0000
1701
-
1702
- allow using libatomic_ops headers from HP
1703
-
1704
- This allows non-GCC 4.x users to experience Raindrops.
1705
-
1706
- commit 7a0bb1afb81da3c83f2cc59403826e1f855d3f0d
1707
- Author: Eric Wong <normalperson@yhbt.net>
1708
- Date: Tue Aug 3 17:11:32 2010 -0700
1709
-
1710
- test: make GC test (hopefully) more reliable
1711
-
1712
- It's not pretty...
1713
-
1714
- commit dd84e5742cb2fc6aaa96aa0214e0ed3a963d68da
1715
- Author: Eric Wong <normalperson@yhbt.net>
1716
- Date: Tue Aug 3 17:11:31 2010 -0700
1717
-
1718
- avoid munmap(MAP_FAILED,...) in GC phase
1719
-
1720
- This is only possible during an exit if our invocation of
1721
- rb_gc() fails and causes the process to terminate. Otherwise
1722
- the GC won't free something that's obviously on the stack.
1723
-
1724
- commit aeb4de9ccdbc0c896e71f5286ca767c8200278bf
1725
- Author: Eric Wong <normalperson@yhbt.net>
1726
- Date: Mon Aug 2 21:04:07 2010 +0000
1727
-
1728
- doc: fix web link in Atom feed
1729
-
1730
- commit 5768c4339c130975658f4d084fb29fdb781403a6
1731
- Author: Eric Wong <normalperson@yhbt.net>
1732
- Date: Sat Jul 10 22:31:03 2010 +0000
1733
-
1734
- doc: fix ChangeLog generation
1735
-
1736
- There was never a 0.2.1 :x
1737
-
1738
- commit e3679c4d3ebd8b80aa5d9e4a3a2a945c9c9ff2b4
1739
- Author: Eric Wong <normalperson@yhbt.net>
1740
- Date: Sat Jul 10 22:19:40 2010 +0000
1741
-
1742
- raindrops v0.3.0 - LGPL v2.1 and v3.0
1743
-
1744
- Raindrops is now licensed under the LGPLv2.1 or LGPLv3 (from
1745
- LGPLv3-only) to allow bundling in GPLv2-only applications.
1746
-
1747
- There are small documentation updates and updated examples
1748
- at http://raindrops.bogomips.org/examples/
1749
-
1750
- commit eed4332421a421a3455aa48ec688347502a9cb0a
1751
- Author: Eric Wong <normalperson@yhbt.net>
1752
- Date: Sat Jul 10 22:19:40 2010 +0000
1753
-
1754
- raindrops v0.3.0 - LGPL v2.1 and v3.0
1755
-
1756
- Raindrops is now licensed under the LGPLv2.1 or LGPLv3 (from
1757
- LGPLv3-only) to allow bundling in GPLv2-only applications.
1758
-
1759
- There are small documentation updates and updated examples
1760
- at http://raindrops.bogomips.org/examples/
1761
-
1762
- commit 4e42082413f64baec0b844bdf743d598af433aad
1763
- Author: Eric Wong <normalperson@yhbt.net>
1764
- Date: Sat Jul 10 22:19:20 2010 +0000
1765
-
1766
- doc: add examples directory to website
1767
-
1768
- commit 87dc142973f7d1546bdf739b2b1f0fa714313750
1769
- Author: Eric Wong <normalperson@yhbt.net>
1770
- Date: Sat Jul 10 22:13:02 2010 +0000
1771
-
1772
- LICENSE: dual license under LGPLv2.1 and LGPLv3
1773
-
1774
- This allows GPLv2-only applications to bundle us.
1775
-
1776
- commit 3f7f59ff522bf322383f1bebaa18a979608804f7
1777
- Author: Eric Wong <normalperson@yhbt.net>
1778
- Date: Thu Jul 1 19:25:57 2010 -0700
1779
-
1780
- examples/linux-tcp-listener-stats: warn on possibly invalid addresses
1781
-
1782
- It is a likely mistake to specify a local address such as
1783
- "127.0.0.1:#{port}" as an argument to linux-tcp-listener-stats
1784
- when our listener is listening on all addresses
1785
- ("0.0.0.0:#{port}").
1786
-
1787
- So make an effort to detect this mistake as all of our known
1788
- users on our mailing list seem to make it:
1789
-
1790
- http://mid.gmane.org/AANLkTinP5fBfcRa6Y3-MrMzDqjRRrgEOIunvn_h7q2WS@mail.gmail.com
1791
-
1792
- commit bb24816e1291bbbb26065af3fb5bd76a4cbb0c95
1793
- Author: Eric Wong <normalperson@yhbt.net>
1794
- Date: Thu Jul 1 17:37:08 2010 -0700
1795
-
1796
- linux_inet_diag: rename "addrs" => "query_addr"
1797
-
1798
- "query_addr" is a more appropriate name since we only query one
1799
- address at a time via netlink rather than relying on OR-ing in
1800
- the bytecode.
1801
-
1802
- commit 590b3d9b66e8b345a6053cbfc8304f08ab58caf5
1803
- Author: Eric Wong <normalperson@yhbt.net>
1804
- Date: Tue Jun 29 00:51:23 2010 +0000
1805
-
1806
- examples/linux-tcp-listener-stats: fix usage string
1807
-
1808
- commit 06c5595cb7b77f65648740d47f0b98a1a73eed8c
1809
- Author: Eric Wong <normalperson@yhbt.net>
1810
- Date: Tue May 4 17:30:26 2010 -0700
1811
-
1812
- raindrops 0.2.0 - raining penguins!
1813
-
1814
- For servers running Unicorn 0.98.0 (and derivative servers)
1815
- under Linux, :listeners no longer needs to be passed explicitly
1816
- when configuring the Rack middleware.
1817
-
1818
- Some small documentation updates and cleanups, too.
1819
-
1820
- commit ccf41c19164d9658f7fcbcae170ae11267b1abd0
1821
- Author: Eric Wong <normalperson@yhbt.net>
1822
- Date: Tue May 4 17:29:24 2010 -0700
1823
-
1824
- examples: add sample standalone Rack application
1825
-
1826
- commit 0a5a13eaae957a3c7cacd26a0fcc0c8053f1d0f3
1827
- Author: Eric Wong <normalperson@yhbt.net>
1828
- Date: Tue May 4 17:29:01 2010 -0700
1829
-
1830
- README: add note about Unicorn 0.98.0 listener_names
1831
-
1832
- commit ad1a354968d0ae2abf5b0450cd5b254d95077ba0
1833
- Author: Eric Wong <normalperson@yhbt.net>
1834
- Date: Tue May 4 17:23:32 2010 -0700
1835
-
1836
- cleanup a few typos
1837
-
1838
- commit eadaec56aef29360f5b18abd3d2683c835d3725a
1839
- Author: Eric Wong <normalperson@yhbt.net>
1840
- Date: Tue May 4 17:16:04 2010 -0700
1841
-
1842
- middleware: no need to ensure in #close
1843
-
1844
- If stats.decr_writing never fails, really (or something is
1845
- seriously wrong (like memory corruption) and the ensure block
1846
- wouldn't fire anyways).
1847
-
1848
- commit 7664144957b4916c76ec52132eaaa552a348de28
1849
- Author: Eric Wong <normalperson@yhbt.net>
1850
- Date: Tue May 4 17:01:37 2010 -0700
1851
-
1852
- use Unicorn.listener_names method if available
1853
-
1854
- This allows easier configuration when used with Unicorn and
1855
- derived servers (Rainbows! and Zbatery).
1856
-
1857
- commit c48b2ce337bddd5f0e7f0a6a21dfd7fc925f1e42
1858
- Author: Eric Wong <normalperson@yhbt.net>
1859
- Date: Sun May 2 16:57:58 2010 -0700
1860
-
1861
- GNUmakefile: add publish_doc target
1862
-
1863
- commit 0f316f004787c4a86c854cc251e2c3cbf8c2dce3
1864
- Author: Eric Wong <normalperson@yhbt.net>
1865
- Date: Sun May 2 16:55:54 2010 -0700
1866
-
1867
- rdoc 2.5.x updates
1868
-
1869
- commit b7f2bbca3ada5ef2e8942690f658510a226394ce
1870
- Author: Eric Wong <normalperson@yhbt.net>
1871
- Date: Sun May 2 16:55:03 2010 -0700
1872
-
1873
- README: add information about mailing list archives
1874
-
1875
- commit 957ddbbdc88ff0d644692935f31794a9efb86598
1876
- Author: Eric Wong <normalperson@yhbt.net>
1877
- Date: Sun Apr 11 20:21:59 2010 -0700
1878
-
1879
- tests: fix to run under MRI 1.8.6
1880
-
1881
- commit da0d9cbbd9f6cf2e68274dd5c2204b105f8b030d
1882
- Author: Eric Wong <normalperson@yhbt.net>
1883
- Date: Thu Apr 8 14:26:04 2010 -0700
1884
-
1885
- linux: slightly simpler scan for /proc/net/unix
1886
-
1887
- File.read under 1.9 takes an :encoding argument to force binary
1888
- encoding for its return value.
1889
-
1890
- commit b9eeebe9d448431a97ac4515cae6a53b6976ac4e
1891
- Author: Eric Wong <normalperson@yhbt.net>
1892
- Date: Wed Apr 7 17:57:23 2010 -0700
1893
-
1894
- gemspec: fix rubyforge project
1895
-
1896
- commit 07832552d8d1e3fe0e40b529acf723e15ecaf042
1897
- Author: Eric Wong <normalperson@yhbt.net>
1898
- Date: Wed Apr 7 17:54:55 2010 -0700
1899
-
1900
- gemspec: fix summary
1901
-
1902
- commit 2eb54ed4024c544448a712ffe4acd1e575823c9f
1903
- Author: Eric Wong <normalperson@yhbt.net>
1904
- Date: Wed Apr 7 17:44:50 2010 -0700
1905
-
1906
- raindrops 0.1.0
1907
-
1908
- initial release
1909
-
1910
- commit ae4faee4054d7c9d95ef95a47c794185a5c20bd8
1911
- Author: Eric Wong <normalperson@yhbt.net>
1912
- Date: Wed Apr 7 17:43:45 2010 -0700
1913
-
1914
- Rakefile: fix web_url
1915
-
1916
- commit c3e9f5ba6fc10397f55941f36da29808a105d248
1917
- Author: Eric Wong <normalperson@yhbt.net>
1918
- Date: Wed Apr 7 17:07:42 2010 -0700
1919
-
1920
- initial