What is Tinyid?
This article mainly explains "what is Tinyid". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "what is Tinyid?"
Brief introduction
Tinyid is a distributed id generation system developed by Java, which is based on database number segment algorithm. About this algorithm, you can refer to Meituan leaf or tinyid principle introduction. Tinyid extends the leaf-segment algorithm, supports multi-db (master), and provides java-client (sdk) to localize id generation for better performance and availability. Tinyid is used in Didi's customer service department and is accessed through tinyid-client, generating 100 million-level id every day.
Tinyid system architecture diagram
Tinyid provides both http and tinyid-client access.
Tinyid-server internal cache of two number segments
The number segment is generated based on db and is atomic.
Db supports multiple
Tinyid-server built-in easy-router Select db
At this point, I believe you have a deeper understanding of "what is Tinyid", might as well come to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!