about summary refs log tree commit homepage
path: root/lib/raindrops/aggregate
DateCommit message (Collapse)
2017-03-18aggregate/pmq: avoid File#stat allocation aggregate-pmq
File#size is available in modern Rubies so the extra syscall is avoided.
2017-03-18aggregate/pmq: remove io-extra requirement
IO.copy_stream is standard in 1.9+ and can use pread when given an offset. We do not need to use pwrite with fcntl locking, actually.
2017-03-18aggregate/pmq: avoid false sharing of lock buffers
And rely on frozen string optimizations in Ruby while we're at it.
2016-02-02remove optimizations which made sense for older rubies
Since Ruby 2.2, frozen string literals are implied for Hash#[] lookups. Constant lookups have inline caching since Ruby 1.9 (from YARV).
2011-06-27fix Ruby warnings
Found in the check-warnings target in pkg.mk
2011-03-11doc: more rdoc updates for Linux users
Yes we love Linux more than other systems :>
2011-03-10rdoc: 100% documentation coverage!
Of course, RDoc doesn't know quantity vs quality :)
2011-03-09aggregate/pmq: we need a Mutex to protect fcntl() locks
fcntl() locks are per-process, so we also need something to protect individual threads within a process from stepping over each other.
2011-03-08preliminary Rack app to track last_data_recv
Seems to basically work
2011-03-04Aggregate support via POSIX message queues