{"action":"created","issue":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1544","repository_url":"https://api.github.com/repos/phoenixframework/phoenix","labels_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1544/labels{/name}","comments_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1544/comments","events_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1544/events","html_url":"https://github.com/phoenixframework/phoenix/issues/1544","id":133397162,"number":1544,"title":"Phoenix rest api performance problem","user":{"login":"Sachinx0e","id":2828314,"avatar_url":"https://avatars.githubusercontent.com/u/2828314?v=3","gravatar_id":"","url":"https://api.github.com/users/Sachinx0e","html_url":"https://github.com/Sachinx0e","followers_url":"https://api.github.com/users/Sachinx0e/followers","following_url":"https://api.github.com/users/Sachinx0e/following{/other_user}","gists_url":"https://api.github.com/users/Sachinx0e/gists{/gist_id}","starred_url":"https://api.github.com/users/Sachinx0e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sachinx0e/subscriptions","organizations_url":"https://api.github.com/users/Sachinx0e/orgs","repos_url":"https://api.github.com/users/Sachinx0e/repos","events_url":"https://api.github.com/users/Sachinx0e/events{/privacy}","received_events_url":"https://api.github.com/users/Sachinx0e/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-13T04:28:37Z","updated_at":"2016-02-13T12:46:25Z","closed_at":null,"body":"I have been testing Phoenix for a rest api. I have built a very basic application that has one model \"User\" with fields \"FullName\", \"Email\", \"Address\", \"PhoneNo\".  \r\nWhen I tested the server with Apache jmeter, the performance of the server degraded sharply when it reached 1500 concurrent users. The test included getting all the users from the database repeatedly. The database has 7 user records. The through put never seems to go above 3000 req/sec and as soon as the throughput reaches 1200 req/sec, the error rate starts to go up. The errors are \"connection refused\" and \"connection timed out\". \r\nI even built a similar application in Golang using beego framework and it went upto 6900 req/sec with no errors at all. \r\n\r\nThe link to phoenix project : https://github.com/Sachinx0e/test_phoenix.git\r\n\r\nApache Jmeter config\r\nNumber of threads : 5000\r\nRamp-Up period    : 100\r\nLoop Count            : 100\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/comments/183660070","html_url":"https://github.com/phoenixframework/phoenix/issues/1544#issuecomment-183660070","issue_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1544","id":183660070,"user":{"login":"Sachinx0e","id":2828314,"avatar_url":"https://avatars.githubusercontent.com/u/2828314?v=3","gravatar_id":"","url":"https://api.github.com/users/Sachinx0e","html_url":"https://github.com/Sachinx0e","followers_url":"https://api.github.com/users/Sachinx0e/followers","following_url":"https://api.github.com/users/Sachinx0e/following{/other_user}","gists_url":"https://api.github.com/users/Sachinx0e/gists{/gist_id}","starred_url":"https://api.github.com/users/Sachinx0e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sachinx0e/subscriptions","organizations_url":"https://api.github.com/users/Sachinx0e/orgs","repos_url":"https://api.github.com/users/Sachinx0e/repos","events_url":"https://api.github.com/users/Sachinx0e/events{/privacy}","received_events_url":"https://api.github.com/users/Sachinx0e/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T12:46:25Z","updated_at":"2016-02-13T12:46:25Z","body":"Yes I have set MIX_ENV to prod. I am running on windows 10."}}