|
|
|
|
|
by aphyr
4880 days ago
|
|
Ah, I didn't intend for this post to reach Hacker News absent context. If you haven't been tracking Riemann, this post might not make sense. ;-) Riemann is not an HTTP server, or anything analogous. It's an event processor, and reacts to incoming events by running them through an arbitrary set of functions. Events are the logical "requests" against the system, if you're thinking in HTTP terms. Messages are just a bundle of events for synchronous transport, and events can be repackaged in varying bundles of messages depending on latency/throughput requirements. The clients can do this for you. For instance, the code which generated this benchmark looks like: (send client
{:host "test"
:service "drop tcp"
:state "ok"
:description "a benchmark"
:metric 1
:ttl 1
:tags ["bench"]})
which is a synchronous call, returning when the event is acknowledged by the server. It's making that call 200,000 times a second (in various threads). The clients are doing all sorts of internal buffering and pipelining to make that possible--this particular test uses a batch size of 100 events/msg.Take a look at http://riemann.io for more. :) |
|