Skip to content

0.2.0(April 23rd, 2024)

Latest

Choose a tag to compare

@finovy finovy released this 29 Apr 06:22
· 1 commit to main since this release

Project Introduction

The project utilizes Redis, Segment, and Snowflake as its primary distributed ID generation solutions, aiming to minimize external dependencies and standardize internal processes for generating distributed IDs within the team. The project offers three access methods: Http, Rpc, and Grpc, to cater to the diverse language requirements of internal projects as much as possible.

Runtime Environment

  • Java 17 +
  • Spring Cloud 4.0.5
  • Spring Cloud Alibaba 2022.0.0.0-RC2
  • Redis
  • Zookeeper
  • Mysql
  • Sentinel 1.8.6
  • Nacos 2.3.2
  • Dubbo 3.2.11

Key Features

  • Implemented an auto-incrementing ID using Lua scripts in Redis, with persistence in the database.
  • Integrated an efficient Segment-based in-memory ID allocation system.
  • Integrated the Snowflake ID generation scheme.
  • Implemented elastic caching of IDs to enhance the system's scalability in high-concurrency scenarios.