- create config file:
cp .env.template .env
vim .env
- start test
make run
- get test containers
docker ps -a | grep concurrency-tester
- get logs
docker logs <container>
Test details:
- the test app was running in
5
containers - each test app executed creations on
2
go routines - each go routine created
15
records
Test results:
Maximum number of parallel operations: 5 * 2 = 10
Total number of records created: 150
Total number of conflicts: 461
Total execution time: ~64s