Tag: go
-
Efficient TCP Server Connection Management
TCP connections, they are everywhere, almost every online interaction you make, whether it’s streaming your favourite video, sending an important email, or just casually browsing through different websites. They are like the foundational building blocks of the internet and so it’s important for them to be consistent and reliable. As you can see TCP servers…
-
Managing Go Processes
Introduction: The Challenge of Managing Blocking Processes While working on an application that required executing a command to run a blocking program, such as a TCP/HTTP server, I encountered an interesting challenge. I needed a way to stop the application and its child processes when a signal was sent to the main program, such as…
-
MongoDB in Mock Mode: Acting the Server Part
Imagine, for a moment, a scenario where instead of writing mocks with pre-defined behaviours, you can duplicate the behaviour of a real-world server. Picture a restaurant where the chef’s apprentice mimics each of the chef’s moves in real time, creating an identical dish concurrently. That’s precisely what we’re diving into here. By leveraging the genuine…
-
A Guide for Observing Go Process with eBPF tracing
Introduction In my journey as a software enthusiast, I’ve constantly sought innovative ways to unravel the intricacies of my Go applications. Recently, I stumbled upon a fascinating technology that has significantly transformed the way I observe and analyze Go processes. In this blog post, We’ll go on a journey of observing Go processes with eBPF.…