{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/143","labels_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/143/comments","events_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/143/events","html_url":"https://github.com/dimagi/commcarehq-ansible/pull/143","id":87118458,"number":143,"title":"Load test tsung","user":{"login":"benrudolph","id":918514,"avatar_url":"https://avatars.githubusercontent.com/u/918514?v=3","gravatar_id":"","url":"https://api.github.com/users/benrudolph","html_url":"https://github.com/benrudolph","followers_url":"https://api.github.com/users/benrudolph/followers","following_url":"https://api.github.com/users/benrudolph/following{/other_user}","gists_url":"https://api.github.com/users/benrudolph/gists{/gist_id}","starred_url":"https://api.github.com/users/benrudolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benrudolph/subscriptions","organizations_url":"https://api.github.com/users/benrudolph/orgs","repos_url":"https://api.github.com/users/benrudolph/repos","events_url":"https://api.github.com/users/benrudolph/events{/privacy}","received_events_url":"https://api.github.com/users/benrudolph/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dimagi/commcarehq-ansible/labels/Open%20for%20review:%20hold%20off%20on%20merge","name":"Open for review: hold off on merge","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-10T21:48:31Z","updated_at":"2015-06-11T07:43:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/143","html_url":"https://github.com/dimagi/commcarehq-ansible/pull/143","diff_url":"https://github.com/dimagi/commcarehq-ansible/pull/143.diff","patch_url":"https://github.com/dimagi/commcarehq-ansible/pull/143.patch"},"body":"@snopoke this is a very early draft of Tsung setup targeting postgres. I have to do a bunch more reading on exactly what all the levers and buttons in the tsung configuration file do, but from what i've read so far it seems really powerful. One interesting thing we can do to simulate real load, is to take the logs from our postgres database, run them through pgbadger to generate a `.tsung` file which creates sessions for us to use. just throwing this up so you know where i'm at with it. (note this is a PR into `load-test` branch)\r\n\r\nelf: @dannyroberts "},"comment":{"url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/comments/111031397","html_url":"https://github.com/dimagi/commcarehq-ansible/pull/143#issuecomment-111031397","issue_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/143","id":111031397,"user":{"login":"snopoke","id":249606,"avatar_url":"https://avatars.githubusercontent.com/u/249606?v=3","gravatar_id":"","url":"https://api.github.com/users/snopoke","html_url":"https://github.com/snopoke","followers_url":"https://api.github.com/users/snopoke/followers","following_url":"https://api.github.com/users/snopoke/following{/other_user}","gists_url":"https://api.github.com/users/snopoke/gists{/gist_id}","starred_url":"https://api.github.com/users/snopoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snopoke/subscriptions","organizations_url":"https://api.github.com/users/snopoke/orgs","repos_url":"https://api.github.com/users/snopoke/repos","events_url":"https://api.github.com/users/snopoke/events{/privacy}","received_events_url":"https://api.github.com/users/snopoke/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T07:43:34Z","updated_at":"2015-06-11T07:43:34Z","body":"I wouldn't worry too much about using ansible to set up the session files since we'll probably end up tweaking those quite a but and won't want to have to keep updating them in ansible repo. Actually it might make sense to create a separate repo for them."}}