Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 932 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 932 Bytes

This module implements an RFC 3164 IETF Syslog Protocol parser in Rust. The code is a modified fork of the Roguelazer's more complex 5424 parser.

Build Status

Documentation

This tool supports serializing the parsed messages using serde.

Performance

On a recent system1, a release build takes approximately 8µs to parse an average message and approximately 300ns to parse the smallest legal message. Debug timings are a bit worse -- about 60µs for an average message and about 8µs for the minimal message. A single-threaded Syslog server should be able to parse at least 100,000 messages/s, as long as you run a separate thread for the parser.