{"action":"opened","issue":{"url":"https://api.github.com/repos/wit-ai/wit/issues/846","repository_url":"https://api.github.com/repos/wit-ai/wit","labels_url":"https://api.github.com/repos/wit-ai/wit/issues/846/labels{/name}","comments_url":"https://api.github.com/repos/wit-ai/wit/issues/846/comments","events_url":"https://api.github.com/repos/wit-ai/wit/issues/846/events","html_url":"https://github.com/wit-ai/wit/issues/846","id":271323223,"number":846,"title":"Response Time wildly varies for same query (0.5 to 16 seconds)","user":{"login":"hactar","id":645674,"avatar_url":"https://avatars2.githubusercontent.com/u/645674?v=4","gravatar_id":"","url":"https://api.github.com/users/hactar","html_url":"https://github.com/hactar","followers_url":"https://api.github.com/users/hactar/followers","following_url":"https://api.github.com/users/hactar/following{/other_user}","gists_url":"https://api.github.com/users/hactar/gists{/gist_id}","starred_url":"https://api.github.com/users/hactar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hactar/subscriptions","organizations_url":"https://api.github.com/users/hactar/orgs","repos_url":"https://api.github.com/users/hactar/repos","events_url":"https://api.github.com/users/hactar/events{/privacy}","received_events_url":"https://api.github.com/users/hactar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-05T23:04:57Z","updated_at":"2017-11-05T23:04:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Do you want to request a *feature*, report a *bug*, or ask a *question* about wit?**\r\nBug\r\n**What is the current behavior?**\r\nWe have a wit app (id see below) where response times vary wildly for the same query. If you send the query 10 times in a row, always waiting for a response before sending of the next query, sometimes wit returns the response in less than a second, and frequently, the *same* query takes over 10 seconds.\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.**\r\n\r\n```\r\ncurl \\\r\n -H 'Authorization: Bearer SECRET' \\\r\n 'https://api.wit.ai/message?v=20171105&q=fundamt'\r\n```\r\nSend this to the server 10 times in a row, not in parallel, one after the other (so as to prove its not a rate limit issue)\r\n\r\nWatch the response times. I've graphed one of my tests here. Response time is in seconds.\r\n\r\n<img width=\"1166\" alt=\"wit-speed\" src=\"https://user-images.githubusercontent.com/645674/32420106-d163d708-c285-11e7-9640-e6094fa8e56b.png\">\r\n\r\n**What is the expected behavior?**\r\n\r\nIn an ideal world Wit would always return in less than a second, but it should never take more than 4? seconds? Definitely not over 10.\r\n\r\n**What is the App ID where you are experiencing this issue (if applicable)?**\r\n573c7652-5ac4-4a83-96d2-d81d7d79a239\r\n"}}
{"actor":{"display_login":"hactar"}}