IPC in Go with Unix Sockets and Protobuf

Recently, I explored Unix Sockets and Protobuf with Go. Here’s a brief overview of some of the things I learned. Find the related source code here: https://github.com/m7kvqbe1/unix-sockets-protobuf-play Unix Sockets: Inter-Process Communication Unix Sockets offer a method for inter-process communication (IPC) on the same machine. It’s faster and leaner than using a network protocol like TCP. They’re straightforward to set up in Go: listener, _ := net.Listen("unix", "/tmp/example.sock") conn, _ := net....

April 5, 2024