CosId 1.4.0 发布,通用、灵活、高性能的分布式 ID 生成器
CosId通用、灵活、高性能的分布式ID生成器 更新内容(v1.4.0) 🎉 🎉 🎉 增强:添加cosid-shardingsphere模块CosIdKeyGenerateAlgorithm支持org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm Kotlin DSL implementation("me.ahoo.cosid:cosid-shardingsphere:${cosidVersion}") spring: shardingsphere: rules: sharding: key-generators: cosid: type: COSID props: id-name: __share__ 简介 CosId旨在提供通用、灵活、高性能的分布式 ID 生成器。 目前提供了俩类 ID 生成器: SnowflakeId:单机 TPS 性能:409W/sJMH 基准测试, 主要解决时钟回拨问题、机器号分配问题并且提供更加友好、灵活的使用体验。 SegmentId: 每次获取一段 (St...