Discover the updates to the HTTP package in Go 1.22. This article covers how these changes make http services easier, including better routing and HTTP method management.
Explore efficient large file transfers in Linux using Go, focusing on minimizing data copies and context switches via the sendfile syscall.
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.
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.
Embark on a journey through Blockchain's core, exploring its enticing realm with a dive into Merkle trees. This piece illuminates the path from a gaming intrigue to developing a Go-based Merkle tree, underlining Blockchain's cryptographic elegance and data integrity verification. A must-read for the crypto-curious coder.
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.
Dive into implementing a Kubernetes admission controller in Go, governing cluster usage by intercepting API requests pre-persistence. Explore setup, webhook registration, and server creation, alongside simple validation/mutation use cases, for better cluster governance and security.
Uncover how BigCache in Go alleviates expensive GC cycles and bolsters concurrent access, using sharding for data distribution and byte arrays to minimize GC interference, enhancing cache performance and application responsiveness.
Dive into implementing Dijkstra's Algorithm using a min-heap in Go, focusing on the creation of a priority queue to efficiently find the shortest path between nodes. The guide includes detailed code for heap and graph logic, demonstrating a practical approach to Dijkstra's Algorithm in Go.
Simple demo about how to capture logs and send them in an email.
Explore health checks in microservices, covering their importance, implementation, and practical examples, ensuring service availability and proper functioning even in cloud-hosted scenarios, illustrated with a Redis-dependent service example.
Explore an upgraded tracking service using Go and Redis, designed to efficiently locate drivers. Utilizes Go's Goroutines, Channels, and time.Ticker struct for task execution, ensuring a single client request suffices to initiate a driver search task, thus enhancing user experience and reducing redundant requests.
Delve into creating a tracking service using Go and Redis for saving and processing driver locations similar to Uber, focusing on geospatial functions of Redis.
Authentication is the most common part in any application. You can implement your own authentication system or use one of the many alternatives that exist, but in this case we are going to use OAuth2.