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.
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.
My introduction to the Blockchain and Merkle Tree
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.
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.
Implementing a simple K8s admission controller 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.
How BigCache avoids expensive GC cycles and speeds up concurrent access in Go
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.
Implementation of Dijkstra using heap in Go
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.
Capturing logs and send them in an email with Go
Simple demo about how to capture logs and send them in an email.
Let's talk about Health Checks
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.
Tracking Service with Go and Redis V2
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.
Tracking Service with Go and Redis
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.
Oauth2 with Google in Go
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.
How important is math in computer programming?
Discover the significance of math in computer programming through a HackerRank exercise example, illustrating how a mathematical approach leads to efficient problem-solving, contradicting the notion that good coders are bad at math.