Tag

go-zero

0 views collected around this technical thread.

360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Feb 14, 2025 · Backend Development

How go-zero Extends gRPC: Architecture, Integration, and Service Startup

This article explains why extending gRPC is necessary, outlines the go‑zero directory structure, describes how go‑zero adapts gRPC through a wrapper generated by goctl, and walks through service initialization and startup, highlighting metrics, etcd registration, interceptors, and health checks.

Backend DevelopmentETCDGo
0 likes · 9 min read
How go-zero Extends gRPC: Architecture, Integration, and Service Startup
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Dec 20, 2024 · Backend Development

Go‑Zero Load Balancing Explained: Stateless vs Stateful Algorithms and gRPC Integration

This article explores the fundamentals of load balancing in microservice architectures, detailing both stateless and stateful strategies such as round‑robin, random, hash, and weighted algorithms, and demonstrates how go‑zero and gRPC implement these mechanisms through custom balancers, service discovery, and request scheduling.

Load BalancingMicroservicesService Discovery
0 likes · 11 min read
Go‑Zero Load Balancing Explained: Stateless vs Stateful Algorithms and gRPC Integration
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Dec 4, 2024 · Operations

Service Reliability Essentials: Rate Limiting, Circuit Breaking & Degradation

This article explains common service problems and presents practical solutions such as rate limiting, circuit breaking, and degradation, detailing their principles, implementation methods—including Nginx, token‑bucket, sliding‑window algorithms, and Go‑zero code examples—while highlighting key considerations for building resilient microservice systems.

Microservicescircuit breakergo-zero
0 likes · 15 min read
Service Reliability Essentials: Rate Limiting, Circuit Breaking & Degradation
Laravel Tech Community
Laravel Tech Community
Nov 15, 2021 · Backend Development

go-zero Framework Overview and Latest Updates

go-zero, a CNCF‑listed cloud‑native web and RPC framework, offers a minimalist API definition tool (goctl) that generates client code for multiple platforms, and provides built‑in microservice governance features such as TLS, rate‑limiting, circuit‑breaking, and seamless integration, with the latest release adding TLS support for REST, ZRPC, Redis, etc.

API GenerationGoMicroservices
0 likes · 3 min read
go-zero Framework Overview and Latest Updates