cockroachdb/docs

Docker-based geo-partitioning test

Opened this issue · 0 comments

Exalate commented:

Document docker network latency to #2538. This will allow developers to test geo-partitioned benefits without spinning up cloud VMs.

The following 3 steps are to be added.

docker network connect ${net}net $host
docker exec -it ${host} ip route change default via $(docker network inspect ${loc}net --format '{{ (index .IPAM.Config 0).Gateway }}')
docker exec -t $host tc qdisc replace dev $to_dev root netem $delaytype $delayval

Jira Issue: DOC-237