Go Time: Golang, Software Engineering cover image

gRPC & protocol buffers

Go Time: Golang, Software Engineering

NOTE

Optimize with Care

Deploying a change may risk breaking existing clients, indicating that while technical breakthroughs are possible, they often come with complexity. The JSON parser in the standard library, while widely used, is less efficient than third-party options due to its dual-pass reading approach, optimizing for validation before parsing. In contrast, a binary format assumes validity, streamlining the process. Despite these optimizations, most users stick to the standard library's parser, suggesting that for many, performance gains are not crucial enough to justify the shift. Additionally, creating faster custom JSON encoders is achievable but not universally adopted.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner