Skip to content
Tagged articles

leaf-segment

2 articles · Page 1 of 1
Cloud Architecture
Cloud Architecture
Oct 22, 2026 · Backend Development

From Redis INCR to Leaf-Segment: Reliable Short-Link ID Generation

This article analyzes short-link ID generation systems, comparing Redis INCR, database auto-increment, Leaf-segment, and Snowflake approaches, covering Base62 capacity planning, segment allocation with audit tables, dual-buffer prefetching, cache consistency for immediate readability, failure recovery protocols, and observability requirements for production-grade reliability.

Cache Consistencybase62database sharding
0 likes · 36 min read
From Redis INCR to Leaf-Segment: Reliable Short-Link ID Generation
Cloud Architecture
Cloud Architecture
Aug 17, 2026 · Backend Development

Comprehensive Guide to Building an Enterprise‑Grade Distributed ID System in Go

This article walks through the full design and production‑ready implementation of a Go‑based distributed ID service, comparing Snowflake and Leaf Segment algorithms, detailing a dual‑engine architecture, SDK caching, scaling on Kubernetes, observability, deployment, and performance testing for high‑throughput enterprise applications.

GoKubernetesObservability
0 likes · 36 min read
Comprehensive Guide to Building an Enterprise‑Grade Distributed ID System in Go