The unique identifier of the user is a random number generated from 111111111~999999999
The estimated number of users in the future is tens of millions
The coordinate points uploaded by the user are stored to draw the action trajectory and are not stored in the log file generated by the database
I use the modulus Algorithm to distribute
Or use hash to distribute
If you use hash to distribute, please explain in detail.
The unique identifier of the user is a random number generated from 111111111~999999999
The estimated number of users in the future is tens of millions
The coordinate points uploaded by the user are stored to draw the action trajectory and are not stored in the log file generated by the database
I use the modulus Algorithm to distribute
Or use hash to distribute
If you use hash to distribute, please explain in detail.
NoSQL is used for log storage, such as mongodb, hbase or elasticsearch, and sharding is automatically done for you