News for hackers. Stuff that matters.
Re:Wait-free queueing and ultra-low latency logging by VikingCoder on Thursday May 29, 2014 @10:46AM (#7816449)
> A key requirement for logging is to write statements, from any thread, in order, to a single log-file.

I do not agree that it's a necessary requirement that all threads must write to a single log-file.

> Formatting strings, required by a log system, is a slow operation.

I also do not agree that it's a necessary requirement that a log system must format strings. Binary log files have their uses. I've used Google Protocol Buffers quite happily. They may not be appropriate for extremely high-speed logs, like a low-latency trading system implies, but they have their uses. I'd be tempted to try something like Cap'n Proto, if I were taking a whack at it.

Re:Wait-free queueing and ultra-low latency logging by kentonv on Thursday May 29, 2014 @05:25PM (#7818685)
FWIW, CloudFlare uses Cap'n Proto for logging.
Re:Wait-free queueing and ultra-low latency logging by VikingCoder on Tuesday June 03, 2014 @09:59AM (#7840193)
Yeah, what do you know about it?

;-)