Skip to content

Optimizing the json-serialization of the Json-Logger #1229

Answered by ChrisHines
dsidirop asked this question in Q&A
Discussion options

You must be logged in to vote

There is some work going on to create a better json package for the standard library that I've been helping to review. Once it's ready, the plan is to put it through the proposal process and hopefully get it accepted. If that happens, then I think Go kit would consider using it since standard library packages shouldn't be off limits for us. The experimental code is publicly mirrored at https://github.com/go-json-experiment/json. The README there explains the project in more detail.

Some of my contributions to the design discussions were related to performance concerns for logging use cases such as Go kit. Although, subject to change, some recent benchmarks I saw show the new version is si…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@dsidirop
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dsidirop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants