Tagged articles
6 articles
Page 1 of 1
Code Wrench
Code Wrench
Sep 16, 2025 · Backend Development

Mastering GORM DBResolver: Read/Write Splitting and Load Balancing in Go

Learn how to use GORM's DBResolver plugin in Go to achieve efficient read/write separation and load balancing across master and replica databases, with detailed code examples, configuration tips, production best practices, and strategies for connection pooling, transaction consistency, and handling replication lag.

DBResolverGORMGo
0 likes · 8 min read
Mastering GORM DBResolver: Read/Write Splitting and Load Balancing in Go
Linux Ops Smart Journey
Linux Ops Smart Journey
Aug 4, 2024 · Cloud Native

How to Build a High-Performance, Highly-Available Production Kubernetes Cluster

This guide walks you through planning, configuring, and deploying a production‑grade Kubernetes cluster with high performance and availability, covering host planning, HA load balancing with keepalived and HAProxy, Harbor setup, node initialization, and essential system tweaks, all illustrated with ready‑to‑run code snippets.

DockerHAKubernetes
0 likes · 12 min read
How to Build a High-Performance, Highly-Available Production Kubernetes Cluster
Open Source Linux
Open Source Linux
May 30, 2023 · Operations

Essential Linux Ops Interview Questions & Answers for Sysadmins

A comprehensive collection of Linux operations interview questions covering topics such as system administration, RAID configurations, load balancing, middleware, MySQL troubleshooting, network monitoring, security, scripting, and best practices for optimizing and maintaining Linux servers.

LinuxLoadBalancingNetworking
0 likes · 38 min read
Essential Linux Ops Interview Questions & Answers for Sysadmins
ShiZhen AI
ShiZhen AI
Sep 10, 2022 · Interview Experience

When Does Adding Consumers Reduce RocketMQ Backlog?

The article walks through an interview scenario on RocketMQ, explaining when increasing consumer instances speeds up message consumption, the conditions that cause consumer pull delays, and the six built‑in queue‑allocation strategies with code examples and practical trade‑offs.

AllocationStrategyConsumerScalingLoadBalancing
0 likes · 10 min read
When Does Adding Consumers Reduce RocketMQ Backlog?
Programmer DD
Programmer DD
Jul 16, 2022 · Operations

How a Lua Bug Crashed Bilibili’s Load Balancer and the Lessons Learned

A detailed post‑mortem of the July 2021 Bilibili outage reveals how a Lua‑induced CPU spike in the OpenResty‑based SLB caused widespread service disruption, the step‑by‑step emergency response, root‑cause analysis, and the subsequent architectural and operational improvements to prevent recurrence.

IncidentResponseLoadBalancingLua
0 likes · 19 min read
How a Lua Bug Crashed Bilibili’s Load Balancer and the Lessons Learned
Programmer DD
Programmer DD
Dec 22, 2016 · Backend Development

Enable Automatic Retries for Spring Cloud Ribbon Calls

This guide explains how to configure Spring Cloud Ribbon with @LoadBalanced RestTemplate to add client‑side load balancing and a robust retry mechanism that automatically re‑issues failed requests across service instances.

LoadBalancingRetrySpring Retry
0 likes · 4 min read
Enable Automatic Retries for Spring Cloud Ribbon Calls