General distributed system development is not recommended to use the database comes from doing by ID id.
reason:
1. The sub-library sub-table is not convenient. (TIDB age to be open to question)
2. Multi-room is not conducive to live deployment.
So if you do not use the database id. How does that generate id.
1. Twitter's SnowFlake. python version: pysnowflake
2.