https://github.com/bootjp/dcache_evaluation
evaluation for coredns plugin async distribute cache https://github.com/bootjp/dcache
https://github.com/bootjp/dcache_evaluation
Last synced: over 1 year ago
JSON representation
evaluation for coredns plugin async distribute cache https://github.com/bootjp/dcache
- Host: GitHub
- URL: https://github.com/bootjp/dcache_evaluation
- Owner: bootjp
- License: apache-2.0
- Created: 2021-11-14T10:49:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-31T11:55:44.000Z (over 4 years ago)
- Last Synced: 2025-01-03T23:28:03.584Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dcache_evaluation
```
pssh -h ~/dcache_evaluation -i --timeout=0 'sudo docker run -d --restart=always -v$(pwd)/Corefile:/Corefile -p53:53 -p53:53/udp -p9253:9253 ghcr.io/bootjp/dcache_evaluation:latest'
pssh -h ~/dcache_evaluation -i --timeout=0 'sudo docker pull ghcr.io/bootjp/dcache_evaluation:latest'
pssh -h ~/dcache_evaluation -i --timeout=0 'sudo docker rm -f $(sudo docker ps -aqf "publish=53")'
# clear cache
pssh -O StrictHostKeyChecking=no -h ~/dcache_evaluation -i --timeout=0 'sudo docker restart $(sudo docker ps -aqf "publish=53")'
# run benchmark
pssh -O StrictHostKeyChecking=no -h ~/dcache_evaluation -i --timeout=0 "sudo docker pull ghcr.io/bootjp/top1000load:latest"
pssh -h ~/dcache_evaluation -i --timeout=0 "sudo docker run --rm -e REDIS_HOST=10.146.0.10:6379 --net=host --cap-add=SYS_ADMIN ghcr.io/bootjp/top1000load:latest"
pssh -h ~/dcache_evaluation -i -o out/metrics --timeout=30 "curl -s localhost:9253/metrics | grep -v ^# "
pssh -h ~/dcache_evaluation -i -o out/logs --timeout=30 'docker logs $(sudo docker ps -aqf "publish=53")'
sudo docker run -d --name dcache --log-driver=gcplogs --restart=always -p53:53 -p53:53/udp -p9253:9253 ghcr.io/bootjp/dcache_evaluation:latest
```