Blog.

6 May

2024

Optimization Odyssey: pprof-ing & Benchmarking Golang App

A guide through the whole process of profiling and benchmarking the Golang app in 5 stages. The step-by-step process of finding slow spots in your application with the help of the pprof profiling tool. Using various optimization techniques, I will show you how to increase the RPS of a simple router by 20 times.

profiling
pprof
golang
optimization

20m 3s read

22 Apr

2024

The State of Dependency Injections in Golang

Discuss dependency Injection (DI) in Golang, highlighting its significance in promoting loose coupling and easier testing. Implement DI in Go using Google's Wire tool, showcasing its simplicity and effectiveness in managing dependencies without imposing specific syntax of DI frameworks.

golang
di
google
wire

6m 37s read

31 Mar

2024

Long-term pitfalls of using Protobuf for Apache Kafka

The challenges encountered when integrating Protobuf with Kafka in a complex project environment featuring a diverse technology stack. Insights and lessons learned from the complicated process of updating Protobuf and gRPC tools. A cautionary tale and a guide for others navigating similar legacy systems and the intricacies of using Protobuf outside of its conventional gRPC context.

kafka
grpc
protobuf
golang
nodejs

6m 41s read

19 Mar

2024

BlogV2.Init()

The rebirth of my blog, reincarnation and a warm introduction for the new readers. Discussing how this blog initially started many years ago and what to expect from in the future.

1m 17s read

Welcome to Sam Gozman's Dev Blog!

Hello fellow developers and enthusiasts! I'm thrilled to welcome you to my blog, a space where I share insights, experiences, and updates from the world of development. As a lead backend engineer with a strong passion for open-source initiatives, I've dedicated myself to crafting and refining my own projects. This blog marks the second incarnation of my journey, where I continue to explore, create, and contribute within the vibrant open-source community.

Whether you're a seasoned developer or just starting out on your coding journey, there's something here for everyone. Welcome aboard!