emit-rs / emit

Developer-first diagnostics for Rust applications
https://emit-rs.io
Apache License 2.0
128 stars 2 forks source link

Investigate msgpack as a compact internal format, rather than JSON #4

Closed nblumhardt closed 8 years ago

nblumhardt commented 8 years ago

Events need to be serialized between the emitter and collector (since args won't all be Send + Sync); JSON is okay (reusable for many collectors, like Seq, Splunk, Elastic) but starting out with msgpack might push down the minimum overhead.

nblumhardt commented 8 years ago

https://github.com/3Hren/msgpack-rust/issues/19 looks like the way to do this.

nblumhardt commented 8 years ago

Another option may be to appropriate (or define) something like serde_json::Value.