Tag: go

  • Choosing the Perfect Message Queue: Factors to Consider

    Choosing the Perfect Message Queue: Factors to Consider

    Not long ago, I was handed a problem that’s no stranger to the world of programming: making asynchronous threads communicate effectively within the same process. Given the widespread nature of this issue, I expected to find an existing solution to resolve it. My search led me to the concept of message queue, which seemed promising…

    by

    in
  • Managing Go Processes

    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…

    by

    in
  • MongoDB in Mock Mode: Acting the Server Part

    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…

    by

    in
  • A Guide for Observing Go Process with eBPF tracing

    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.…

    by

    in