wgy8283335 commented on issue #1775: Leaf key generator implementation for 
Apache ShardingSphere
URL: 
https://github.com/apache/incubator-shardingsphere/issues/1775#issuecomment-485046447
 
 
   @terrymanu. I've read the reference. There are two kinds of generators in 
the leaf. One is leaf-segment and another is leaf-snowflake. I'd like to start 
with leaf-segment. The leaf-segment algorithm needs a third component to recode 
the latest id segment. The third component could be a database or zookeeper. I 
prefer to choose zookeeper to recode the latest id segment. Because, if id 
segments stored in a database, a conflit may happen when the table name of id 
segment is the same as another table of service. Another reason for using 
zookeeper, is that the zookeeper is necessary for leaf-snowflake. So, do you 
have any suggestion for me?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to