{"action":"created","issue":{"url":"https://api.github.com/repos/miekg/coredns/issues/197","repository_url":"https://api.github.com/repos/miekg/coredns","labels_url":"https://api.github.com/repos/miekg/coredns/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/miekg/coredns/issues/197/comments","events_url":"https://api.github.com/repos/miekg/coredns/issues/197/events","html_url":"https://github.com/miekg/coredns/issues/197","id":168704035,"number":197,"title":"etcd: resolving takes up to 5 seconds","user":{"login":"f0","id":1117435,"avatar_url":"https://avatars.githubusercontent.com/u/1117435?v=3","gravatar_id":"","url":"https://api.github.com/users/f0","html_url":"https://github.com/f0","followers_url":"https://api.github.com/users/f0/followers","following_url":"https://api.github.com/users/f0/following{/other_user}","gists_url":"https://api.github.com/users/f0/gists{/gist_id}","starred_url":"https://api.github.com/users/f0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f0/subscriptions","organizations_url":"https://api.github.com/users/f0/orgs","repos_url":"https://api.github.com/users/f0/repos","events_url":"https://api.github.com/users/f0/events{/privacy}","received_events_url":"https://api.github.com/users/f0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-01T17:56:56Z","updated_at":"2016-08-02T16:49:44Z","closed_at":null,"body":"Hi, \r\n\r\nquering a SRV record from coredns with etcd backend takes between 20 and 5000 ms  (random)\r\nquering an A record is always fast (~15ms)\r\nusing etcdctl ls --recursive for the tree take ~10ms\r\nIt seems  there is some performace problem or is this expected ?\r\n(with caching enabled, the forst request is slow, then some are really fast (0ms), and the again one slow)\r\n\r\n```\r\ndig -t SRV nodes.sysmon.local @localhost\r\n\r\n; <<>> DiG 9.10.3-P4 <<>> -t SRV nodes.sysmon.local @localhost\r\n;; global options: +cmd\r\n;; Got answer:\r\n;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42969\r\n;; flags: qr aa rd ra; QUERY: 1, ANSWER: 31, AUTHORITY: 0, ADDITIONAL: 1\r\n\r\n;; OPT PSEUDOSECTION:\r\n; EDNS: version: 0, flags:; udp: 4096\r\n;; QUESTION SECTION:\r\n;nodes.sysmon.local.\t\tIN\tSRV\r\n\r\n;; ANSWER SECTION:\r\nnodes.sysmon.local.\t8\tIN\tSRV\t10 3 9100 hw2577.example.net.\r\nnodes.sysmon.local.\t11\tIN\tSRV\t10 3 9100 hw2607.example.net.\r\nnodes.sysmon.local.\t10\tIN\tSRV\t10 3 9100 hw2067.example.net.\r\nnodes.sysmon.local.\t11\tIN\tSRV\t10 3 9100 hw2140.example.net.\r\nnodes.sysmon.local.\t8\tIN\tSRV\t10 3 9100 hw2612.example.net.\r\nnodes.sysmon.local.\t11\tIN\tSRV\t10 3 9100 hw2581.example.net.\r\nnodes.sysmon.local.\t11\tIN\tSRV\t10 3 9100 hw2617.example.net.\r\nnodes.sysmon.local.\t8\tIN\tSRV\t10 3 9100 hw2621.example.net.\r\nnodes.sysmon.local.\t12\tIN\tSRV\t10 3 9100 hw1950.example.net.\r\nnodes.sysmon.local.\t11\tIN\tSRV\t10 3 9100 hw2613.example.net.\r\nnodes.sysmon.local.\t10\tIN\tSRV\t10 3 9100 hw2614.example.net.\r\nnodes.sysmon.local.\t8\tIN\tSRV\t10 3 9100 hw2620.example.net.\r\nnodes.sysmon.local.\t8\tIN\tSRV\t10 3 9100 hw2580.example.net.\r\nnodes.sysmon.local.\t9\tIN\tSRV\t10 3 9100 hw2606.example.net.\r\nnodes.sysmon.local.\t11\tIN\tSRV\t10 3 9100 hw2419.example.net.\r\nnodes.sysmon.local.\t11\tIN\tSRV\t10 3 9100 hw2615.example.net.\r\nnodes.sysmon.local.\t9\tIN\tSRV\t10 3 9100 hw2619.example.net.\r\nnodes.sysmon.local.\t8\tIN\tSRV\t10 3 9100 hw2583.example.net.\r\nnodes.sysmon.local.\t8\tIN\tSRV\t10 3 9100 hw2582.example.net.\r\nnodes.sysmon.local.\t14\tIN\tSRV\t10 3 9100 hw1951.example.net.\r\nnodes.sysmon.local.\t10\tIN\tSRV\t10 3 9100 hw2618.example.net.\r\nnodes.sysmon.local.\t8\tIN\tSRV\t10 3 9100 hw2579.example.net.\r\nnodes.sysmon.local.\t10\tIN\tSRV\t10 3 9100 hw2421.example.net.\r\nnodes.sysmon.local.\t11\tIN\tSRV\t10 3 9100 hw2575.example.net.\r\nnodes.sysmon.local.\t8\tIN\tSRV\t10 3 9100 hw2420.example.net.\r\nnodes.sysmon.local.\t12\tIN\tSRV\t10 3 9100 hw1927.example.net.\r\nnodes.sysmon.local.\t10\tIN\tSRV\t10 3 9100 hw2616.example.net.\r\nnodes.sysmon.local.\t8\tIN\tSRV\t10 3 9100 hw2584.example.net.\r\nnodes.sysmon.local.\t11\tIN\tSRV\t10 3 9100 hw2578.example.net.\r\nnodes.sysmon.local.\t11\tIN\tSRV\t10 3 9100 hw2605.example.net.\r\nnodes.sysmon.local.\t11\tIN\tSRV\t10 3 9100 hw2576.example.net.\r\n\r\n;; Query time: 5367 msec\r\n;; SERVER: ::1#53(::1)\r\n;; WHEN: Mon Aug 01 19:53:09 CEST 2016\r\n;; MSG SIZE  rcvd: 892\r\n```\r\n\r\nregards f0\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/miekg/coredns/issues/comments/236966885","html_url":"https://github.com/miekg/coredns/issues/197#issuecomment-236966885","issue_url":"https://api.github.com/repos/miekg/coredns/issues/197","id":236966885,"user":{"login":"miekg","id":353371,"avatar_url":"https://avatars.githubusercontent.com/u/353371?v=3","gravatar_id":"","url":"https://api.github.com/users/miekg","html_url":"https://github.com/miekg","followers_url":"https://api.github.com/users/miekg/followers","following_url":"https://api.github.com/users/miekg/following{/other_user}","gists_url":"https://api.github.com/users/miekg/gists{/gist_id}","starred_url":"https://api.github.com/users/miekg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miekg/subscriptions","organizations_url":"https://api.github.com/users/miekg/orgs","repos_url":"https://api.github.com/users/miekg/repos","events_url":"https://api.github.com/users/miekg/events{/privacy}","received_events_url":"https://api.github.com/users/miekg/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T16:49:43Z","updated_at":"2016-08-02T16:49:43Z","body":"Yes, something like that. Should be fairly easy.\n\nOn 2 Aug 2016 9:38 a.m., \"f0\" <notifications@github.com> wrote:\n\n> @miekg <https://github.com/miekg> maybe a hint that the names are not\n> resolving?\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/miekg/coredns/issues/197#issuecomment-236963704>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AAVkW20E91fxoVKAj7dHV0IAy9Mz3JL8ks5qb3KfgaJpZM4JZ1U8>\n> .\n>\n"}}
{"actor":{"display_login":"miekg"}}