BlogSeries
  • 30 January 2023
  • Optimizing Large File Transfers in Linux with Go - An Exploration of TCP and Syscall

    Explore efficient large file transfers in Linux using Go, focusing on minimizing data copies and context switches via the sendfile syscall.

    golinuxsocketsnetworkfeatured
    11 minute read
    Optimizing Large File Transfers in Linux with Go - An Exploration of TCP and Syscall
    • featured
    • all
    • go
    • redis
    • services
    • algorithm
    • data structure
    • k8s
    • network
    • linux
    • sockets
    • blockchain
    • poc
    • python
    • genai
    • eBPF
    • kernel
    • rust
  • 16 December 2022
  • A simple example of using unix domain socket in Kubernetes

    Discover using Unix domain sockets in Kubernetes for inter-container communication within a pod, illustrated with Go applications. Gain insights into setup, benefits like faster communication, and testing the deployment​.

    golinuxsocketsnetworkk8s
    6 minute read
    A simple example of using unix domain socket in Kubernetes
  • 5 December 2022
  • Understanding Unix Domain Sockets in Golang

    Delve into the workings of Unix domain sockets in Golang, contrasting them with network sockets. Explore their creation, efficient inter-process communication on the same machine, and practical code examples demonstrating a simple echo server setup​.

    golinuxsocketsnetworkfeatured
    16 minute read
    Understanding Unix Domain Sockets in Golang
  • 21 August 2021
  • Socket sharding in Linux example with Go

    Uncover socket sharding in Linux using Go, enabling multiple sockets to bind to the same IP and port for enhanced load balancing. The article provides insights into setting the SO_REUSEPORT socket option, creating a ListenConfig instance in Go.

    linuxgosocketsfeatured
    7 minute read
    Socket sharding in Linux example with Go
    rocket

    © 2023 KungFuDev

    Heavily inspired/copied from shuttle.rs