Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Cloud Native

8 min read

Why Does Feign’s 3‑Second Timeout Actually Take 10 Seconds? The Hidden Role of Ribbon

Feign may be set to a 3‑second timeout, but in Spring Cloud versions before 2020.0 the call is handled by Ribbon, whose default 5‑second read timeout and a single retry to another instance double the wait, producing a consistent 10‑second timeout; the article details this behavior and shows how to configure Ribbon, upgrade Spring Cloud, or use a circuit‑breaker to enforce the intended timeout.

49 min read

etcd Operations Handbook: Backup, Restore, Scaling, and Performance Tuning for Kubernetes

This guide explains why mastering etcd is essential for Kubernetes stability and walks through its core concepts, Raft consensus, MVCC storage, deployment, backup and restore procedures, scaling from three to five nodes, performance optimization, monitoring, alerting, troubleshooting, upgrade strategies, security hardening, and real‑world best‑practice recommendations.

12 min read

Understanding Docker’s Core Architecture, Commands, and How It Differs from Virtual Machines

This article explains Docker’s client‑server architecture, common command‑line tools, the underlying Linux technologies (namespaces, cgroups, UnionFS) that enable containers, compares containers with traditional virtual machines, and details Docker’s networking modes and image layering.

10 min read

Deploy a Full‑Stack App with One Command: Inside the 3.6k‑Star PinMe CLI

PinMe is a 3.6k‑star open-source CLI that lets you create and deploy a full‑stack React front‑end, Cloudflare Worker back‑end, and D1 database with a single command, using IPFS for static assets and ENS for domains, while supporting incremental updates and Claude Code integration, though it has upload size limits and requires wallet balance for custom domains.

8 min read

Boost Spring Boot Service Availability to 99.9% with Smart K8s Probe Configurations

The article walks through common Kubernetes health‑probe pitfalls for Spring Boot services and presents a concrete set of liveness, readiness, graceful‑shutdown, autoscaling, and configuration‑separation techniques that together raise production availability to 99.9%, backed by real‑world incidents and code snippets.

43 min read

Kubernetes Deployment Node Scheduling: A Complete Guide Beyond Just Running Pods

The article explains why the default Kubernetes scheduler is insufficient for production, details the four scheduling constraints—resource, topology, performance, and governance—covers the scheduler's internal phases, and provides practical patterns, code examples, and troubleshooting steps for robust Deployment node scheduling.

37 min read

Kubernetes Outage? Essential Troubleshooting Guide for Production Clusters

A comprehensive, step‑by‑step guide that explains the most common Kubernetes failure scenarios—from pod crashes and image pull errors to node NotReady and API server timeouts—provides concrete kubectl commands, diagnostic scripts, real‑world case studies, best‑practice recommendations, monitoring metrics, and backup‑restore procedures to keep production clusters healthy.

25 min read

From Individual Productivity to Organizational Insight: Building AI Coding Metrics with LoongSuite‑Pilot and SLS

The article explains how to capture event‑level AI coding agent data using LoongSuite‑Pilot, align it with the LoongSuite GenAI semantic conventions, store it in Alibaba Cloud Log Service (SLS), and construct a multi‑layered SQL dashboard that turns personal usage signals into organization‑wide metrics for informed decision‑making.

6 min read

Agentic AICon Recap: Agent Infrastructure and AgentOps Insights

The Agentic AICon event gathered over 180 technical professionals to dissect enterprise‑scale agent engineering, presenting the full lifecycle of Agent Infra—including construction, deployment, observability, and intelligent operations—through detailed sessions on HiClaw, AgentRun, AgentLoop, STAROps, and a RocketMQ‑based asynchronous architecture.

36 min read

Dockerfile Best Practices: Build Efficient, Lightweight, Secure Images

This guide explains how to write Dockerfiles that dramatically reduce image size, speed up builds, and improve security by leveraging layer caching, multi‑stage builds, BuildKit features, proper base‑image selection, and CI/CD integration, with concrete examples for Node.js, Python, Go, and Java projects.

41 min read

Complete Docker Container Deployment Guide: From Installation to Production Best Practices

This guide walks you through every step of Docker container deployment, covering installation, environment requirements, daemon configuration, Dockerfile best practices, multi‑stage builds, Compose orchestration, security hardening, resource limits, monitoring, troubleshooting, and production‑grade recommendations to ensure reliable, scalable services.

37 min read

Deep Dive into Kubernetes Scheduler: From Scheduling Cycle to Managing Ten‑Thousands of Pods

This guide explains why the kube‑scheduler becomes a bottleneck in large clusters, walks through its architecture, scheduling cycle, queue mechanics, constraint handling, plugin framework, multi‑scheduler designs, production‑grade tuning, observability, and real‑world case studies for achieving stable, high‑throughput pod placement.

38 min read

Kubernetes ConfigMap & Secret: Principles, Architecture, and Production‑Ready Governance Guide

This guide explains why ConfigMap and Secret often cause production incidents, outlines their responsibilities, details the propagation chain from the API server to pods, and provides concrete best‑practice patterns—including immutable objects, GitOps workflows, external secret management, reloader controllers, and observability—to achieve safe, scalable configuration governance in Kubernetes.

33 min read

Deep Dive into Container Runtimes: Production Architecture, Tuning, and Troubleshooting from Docker to Kubernetes

This article examines why many Kubernetes failures stem from the container runtime layer, explains the responsibilities of Docker, containerd, runc, and CRI, and provides production‑grade architectures, tuning guidelines, migration steps, security hardening, and observability practices to keep clusters stable and performant.

31 min read

Kubernetes Rolling Updates & Rollbacks: From Deployment Mechanics to Release

Rolling updates in Kubernetes go beyond simple image changes, requiring a coordinated strategy across control planes, scheduling, service discovery, traffic routing, and application lifecycle; this article dissects Deployment mechanics, readiness probes, capacity modeling, and practical configurations to build a safe, observable, and controllable production release system.

36 min read

Practical Cloud‑Native Log Aggregation with Loki, Promtail & Grafana

This guide walks SREs and DevOps engineers through the challenges of log aggregation in containerized Kubernetes environments and shows how Loki, Promtail, and Grafana together provide a low‑cost, label‑based alternative to the ELK stack, covering architecture, deployment, query language, multi‑tenant security, performance tuning, alerting, and disaster recovery.

22 min read

Implementing Gray Release in Spring Cloud Using Nacos and Load Balancer

This article explains how to build a full‑link gray (canary) release for a Spring Cloud microservice system by leveraging Nacos as the service registry, Spring Cloud Gateway filters, a custom Ribbon load‑balancer, and OpenFeign interceptors, complete with demo project structure, configuration files, and three test scenarios.

19 min read

Unified Messaging with Spring Cloud Stream: One Codebase for Multiple MQs

This article demonstrates how Spring Cloud Stream provides a unified programming model that decouples business logic from the underlying message broker, allowing a single codebase to work with RocketMQ, Kafka, or RabbitMQ by only changing configuration, and walks through project structure, implementation, conditional routing, MQ switching, testing, and common pitfalls.

39 min read

200+ Essential kubectl Commands for Managing and Troubleshooting Kubernetes Clusters

This guide compiles over 200 practical kubectl commands, covering cluster setup, context switching, resource inspection, workload management, networking, storage, security hardening, high‑availability patterns, troubleshooting techniques, and performance monitoring to help operators efficiently administer Kubernetes environments.