2934: count events and bytes in-memory
authorTim Pierce <twp@curoverse.com>
Fri, 13 Jun 2014 18:03:04 +0000 (14:03 -0400)
committerTim Pierce <twp@curoverse.com>
Fri, 13 Jun 2014 18:03:04 +0000 (14:03 -0400)
commitd7e23d9ae16310f9efe16a6a74ff2fc95ae4ccb4
tree51c9990190a4f59ed586917b2cb5598da4d77909
parent54e43ffa674583332713d980b5ba6701b4fa4d02
2934: count events and bytes in-memory

To avoid thrashing the database, crunch-dispatch.rb counts log events
and bytes in RAM instead of reading the database each time.

Refs #2934.
services/api/script/crunch-dispatch.rb