Tagged articles

SegmentId

1 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