Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Openshift: move dnsmasq to another container in apicast pod.
DNSmasq process was not handled by Apicast at all, dnsmasq process can die and will never be up, so dns queries will start to fail. This commit changed the DNS service to another container into the apicast pod and Openshift will take care that the process is always up. About the performance, tested in minishift: With two containers: ``` ✗ oc exec -ti apicast-client -- wrk -d 100 -c 100 -t 20 -H "Host: one" http://172.30.136.10:8080/\?user_key\=123 Running 2m test @ http://172.30.136.10:8080/?user_key=123 20 threads and 100 connections Thread Stats Avg Stdev Max +/- Stdev Latency 81.62ms 31.71ms 339.01ms 82.13% Req/Sec 62.66 21.25 137.00 67.09% 124294 requests in 1.67m, 16.71MB read Requests/sec: 1241.75 Transfer/sec: 170.92KB ``` With one container: ``` ✗ oc exec -ti apicast-client -- wrk -d 100 -c 100 -t 20 -H "Host: one" http://172.30.136.20:8080/\?user_key\=123 Running 2m test @ http://172.30.136.20:8080/?user_key=123 20 threads and 100 connections Thread Stats Avg Stdev Max +/- Stdev Latency 100.75ms 46.53ms 501.73ms 81.52% Req/Sec 51.57 21.33 150.00 63.64% 101442 requests in 1.67m, 13.64MB read Requests/sec: 1013.35 Transfer/sec: 139.49KB ``` Fix THREESCALE-1555 Signed-off-by: Eloy Coto <[email protected]>
- Loading branch information