Skip to content

monitoring-system/demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. install baidu uid-generator

sh> git clone https://github.com/baidu/uid-generator.git 
sh> cd uid-generator
sh> mvn install -Dmaven.test.skip

2. create table

login TiDB and running sql:

mysql> source ./init.sql

3. run main in DemoApplication

using IDE run it

or

sh> mvn package
sh> cd target
sh> java -jar demo-0.0.1-SNAPSHOT.jar

4. change param

modify Test.java

    public void test() throws Exception {
        int concurrency = 4;
        int repeat = 10000;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •