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

21 min read

Kubernetes Authentication Time Bomb: The Evolution and Production Practices of ServiceAccount Tokens

The article explains how many teams mistakenly think they are using Kubernetes authentication while actually mounting long‑lived Bearer tokens, outlines the risks of legacy ServiceAccount tokens, describes the new projected token mechanism, and provides step‑by‑step guidance for secure production deployment and migration.

18 min read

7 Golden Rules for Building High‑Availability Cloud‑Native Go Services (Production‑Proven)

This article presents a step‑by‑step guide to building highly available cloud‑native Go systems, covering graceful error handling, structured logging, minimal dependencies, concurrency control, health checks, Raft‑based replication, timeout/retry strategies, circuit breaking, rate limiting, observability with Zap, Loki, Prometheus, OpenTelemetry, and future architectural directions.

12 min read

Redesigning Parallel File Storage for AI Production: Introducing Baidu PFS L3

As AI moves from isolated model training to full‑scale production with mixed workloads, Baidu's new PFS L3 offers elastic, cloud‑native parallel file storage that delivers tens of GB/s throughput, millions of IOPS, sub‑millisecond latency, and automated data lifecycle management to meet the evolving demands of modern AI platforms.

7 min read

10 Practical Tips to Quickly Build Cloud‑Native Apps with golang‑samples

This guide walks developers through ten hands‑on techniques for using Google Cloud's golang‑samples repository—covering environment setup, authentication methods, workflow orchestration, structured logging, AI integration, storage choices, serverless functions, secret management, observability, and automated testing and deployment—to accelerate production‑grade cloud‑native Go applications.

36 min read

Mastering GPU Scheduling, Isolation, and Resource Allocation in Kubernetes Clusters

This guide walks through the complete GPU resource path from node to container, explains how Kubernetes discovers and registers GPUs via the NVIDIA Device Plugin, and provides step‑by‑step procedures for environment inventory, pod specifications, scheduling constraints, isolation models, quota management, monitoring, troubleshooting, and safe upgrades.

23 min read

Stop Hand‑Crafting ClusterRoles: Build a Production‑Grade Kubernetes RBAC Governance System with rbac‑manager

This article explains why manually managing ClusterRoles leads to governance chaos in Kubernetes, introduces rbac‑manager as a declarative controller that centralises binding creation, recycling and auditing, and provides a step‑by‑step guide with real‑world examples to build a scalable, production‑ready RBAC management workflow.

16 min read

Building a Scalable Go Service Mesh from Scratch: Core Cloud‑Native Practices

This article walks through why Go is ideal for cloud‑native development and demonstrates step‑by‑step how to build a scalable service mesh, covering static compilation, HTTP services, Go modules, Gin/Gorilla APIs, configuration, logging, health checks, service registration, load balancing, sidecar proxies, traffic interception, circuit breaking, rate limiting, retries, and distributed tracing with OpenTelemetry.

25 min read

Mastering the Kubernetes Control Plane: From Informer Source Code to a Production‑Ready Dynamic Gateway Operator

The article explains why naïve operators that only watch a few resources quickly fail under load, then dives into the true purpose of the Informer pipeline, demonstrates how to design a four‑layer state model for a dynamic gateway, and provides production‑grade patterns for reconciliation, status handling, governance, and when an Operator is truly needed.

13 min read

Designing a Live‑Streaming Platform for 1.2 Million Concurrent Viewers

To support 1.2 million simultaneous viewers, the article details a three‑layer push‑stream‑transcode‑distribution architecture, SRT/WHIP protocols, AV1 GPU‑accelerated transcoding, multi‑CDN edge delivery, a scalable WebSocket message system, Kubernetes‑based auto‑scaling, and extensive performance tuning and disaster‑recovery strategies.

34 min read

How to Schedule, Isolate, and Allocate GPUs in a Kubernetes Cluster

Even when GPU nodes show up with nvidia‑smi, Pods can stay pending, see all devices, or suffer memory spikes; this guide walks through the full GPU resource chain in Kubernetes, from PCIe detection and driver loading to Device Plugin registration, node labeling, affinity, taints, isolation levels, MIG, time‑slicing, quotas, monitoring, and safe upgrade procedures.

38 min read

Spring Boot + Netty MQTT Gateway for Million Connections & Millisecond Push

To support millions of persistent MQTT connections with sub‑millisecond latency, the article walks through a Spring Boot + Netty cloud‑native gateway design that separates connection, event, state and governance planes, details async authentication, back‑pressure handling, command state machines, and loss‑less Kubernetes roll‑outs.