News for hackers. Stuff that matters.
Re:Log Everything as JSON. Make Your Life Easier. by frsyuki on Thursday April 26, 2012 @09:17PM (#3896992)
Spitting out sprintfs means parsing texts. JSON might be slow since it's text, but binary based formats should be faster especially the log includes many integers.
Re:Log Everything as JSON. Make Your Life Easier. by jacques_chester on Thursday April 26, 2012 @10:03PM (#3897139)
sprintf tends to be a faster path than "build tree, render down to text".
Re:Log Everything as JSON. Make Your Life Easier. by deno on Friday April 27, 2012 @01:58AM (#3897775)
Both XML and JSON can be streamed. No tree building necessary.