Tagged articles

CosId

2 articles · Page 1 of 1
Yumin Fish Harvest
Yumin Fish Harvest
Aug 29, 2026 · Backend Development

CosId Distributed ID Generation: Snowflake & Segment Modes Explained

This article explores CosId's two ID generation modes—local computation (Snowflake) and segment allocation (SegmentId, SegmentChainId)—with detailed configuration for JDBC, Redis, ZooKeeper, MongoDB, and Proxy backends, plus Spring Boot, MyBatis, and ShardingSphere integration examples.

CosIdJDBCRedis
0 likes · 34 min read
CosId Distributed ID Generation: Snowflake & Segment Modes Explained
Ray's Galactic Tech
Ray's Galactic Tech
Oct 14, 2025 · Backend Development

Choosing the Right Distributed ID Strategy for Spring Boot: A Complete Guide

Generating globally unique, ordered, high‑performance IDs is essential for distributed systems, and this guide compares common ID schemes, outlines key selection criteria, and provides step‑by‑step Spring Boot integration examples using Baidu UidGenerator, CosId, and Snowflake, along with configuration, code, and best‑practice recommendations.

BackendCosIdSnowflake
0 likes · 7 min read
Choosing the Right Distributed ID Strategy for Spring Boot: A Complete Guide