5min chapter

Go Time: Golang, Software Engineering cover image

Event-driven systems

Go Time: Golang, Software Engineering

CHAPTER

How to Write Protobuf Schemas?

I am 100% in the camp of you should use protobuf. You should not use anything else. Protobuf is not just for GRPC, but really you can use it as a message envelope as well. I would just say avoid JSON. That's like if you do not want to have conflicts, that is how you avoid them. And all the same patterns that apply to writing good types and so on and how to deprecate them and so on for like when you're writing a GRPC service,. Same exact thing applies to these schemas as well.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode