{"action":"created","issue":{"url":"https://api.github.com/repos/dthtvwls/wsmax/issues/1","labels_url":"https://api.github.com/repos/dthtvwls/wsmax/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dthtvwls/wsmax/issues/1/comments","events_url":"https://api.github.com/repos/dthtvwls/wsmax/issues/1/events","html_url":"https://github.com/dthtvwls/wsmax/issues/1","id":90483733,"number":1,"title":"Realistic testing","user":{"login":"jessetane","id":452396,"avatar_url":"https://avatars.githubusercontent.com/u/452396?v=3","gravatar_id":"","url":"https://api.github.com/users/jessetane","html_url":"https://github.com/jessetane","followers_url":"https://api.github.com/users/jessetane/followers","following_url":"https://api.github.com/users/jessetane/following{/other_user}","gists_url":"https://api.github.com/users/jessetane/gists{/gist_id}","starred_url":"https://api.github.com/users/jessetane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessetane/subscriptions","organizations_url":"https://api.github.com/users/jessetane/orgs","repos_url":"https://api.github.com/users/jessetane/repos","events_url":"https://api.github.com/users/jessetane/events{/privacy}","received_events_url":"https://api.github.com/users/jessetane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-23T20:29:48Z","updated_at":"2015-06-24T01:50:11Z","closed_at":null,"body":"Any thoughts on how to test without spinning up a ton of ec2 instances? Posting a link to the demo on hn or reddit probably works at least once if you've got enough karma, but would be cool if there was some bot net already out there for doing simulations like this.."},"comment":{"url":"https://api.github.com/repos/dthtvwls/wsmax/issues/comments/114696662","html_url":"https://github.com/dthtvwls/wsmax/issues/1#issuecomment-114696662","issue_url":"https://api.github.com/repos/dthtvwls/wsmax/issues/1","id":114696662,"user":{"login":"dthtvwls","id":258992,"avatar_url":"https://avatars.githubusercontent.com/u/258992?v=3","gravatar_id":"","url":"https://api.github.com/users/dthtvwls","html_url":"https://github.com/dthtvwls","followers_url":"https://api.github.com/users/dthtvwls/followers","following_url":"https://api.github.com/users/dthtvwls/following{/other_user}","gists_url":"https://api.github.com/users/dthtvwls/gists{/gist_id}","starred_url":"https://api.github.com/users/dthtvwls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dthtvwls/subscriptions","organizations_url":"https://api.github.com/users/dthtvwls/orgs","repos_url":"https://api.github.com/users/dthtvwls/repos","events_url":"https://api.github.com/users/dthtvwls/events{/privacy}","received_events_url":"https://api.github.com/users/dthtvwls/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T01:50:11Z","updated_at":"2015-06-24T01:50:11Z","body":"The thing to keep in mind is that whatever generates load has to retain the websocket connection indefinitely. This is why I'm using phantomjs to load the html client and then idle, thousands of times. (I found it to work best in batches of about 500 per process.) The development dependency \"thor\" is supposed to do this at the websocket level but I didn't spend too much time with it.\r\n\r\nThere are a few cloud tools I know of for generating load, but I don't know if any of them are suited for websockets (I'm pretty sure BlazeMeter is using JMeter, for example, so they're out). Blitz, the one I am most familiar with, sends all of its traffic for a single run from the same region of ec2, so I don't know if that meets your realism requirement.\r\n\r\n[bees with machine guns](https://github.com/newsapps/beeswithmachineguns) and [tsung](https://github.com/processone/tsung) are probably worth a look into."}}