{"action":"created","issue":{"url":"https://api.github.com/repos/BoPeng/SOS/issues/234","repository_url":"https://api.github.com/repos/BoPeng/SOS","labels_url":"https://api.github.com/repos/BoPeng/SOS/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/BoPeng/SOS/issues/234/comments","events_url":"https://api.github.com/repos/BoPeng/SOS/issues/234/events","html_url":"https://github.com/BoPeng/SOS/issues/234","id":180976971,"number":234,"title":"RQ/Cluster interface","user":{"login":"BoPeng","id":9889312,"avatar_url":"https://avatars.githubusercontent.com/u/9889312?v=3","gravatar_id":"","url":"https://api.github.com/users/BoPeng","html_url":"https://github.com/BoPeng","followers_url":"https://api.github.com/users/BoPeng/followers","following_url":"https://api.github.com/users/BoPeng/following{/other_user}","gists_url":"https://api.github.com/users/BoPeng/gists{/gist_id}","starred_url":"https://api.github.com/users/BoPeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoPeng/subscriptions","organizations_url":"https://api.github.com/users/BoPeng/orgs","repos_url":"https://api.github.com/users/BoPeng/repos","events_url":"https://api.github.com/users/BoPeng/events{/privacy}","received_events_url":"https://api.github.com/users/BoPeng/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BoPeng/SOS/labels/discussion","name":"discussion","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-04T19:03:18Z","updated_at":"2016-10-05T13:26:37Z","closed_at":null,"body":"Command\r\n\r\n```\r\nsos start server [-e rq|mrq|celery]\r\nsos stop server ID\r\n```\r\n\r\n1. start a redis server\r\n2. write .sos/server.yaml\r\n\r\n```\r\nsos start worker [-e rq|mrq|celery]\r\nsos stop worker ID\r\n```\r\n\r\n1. check `.sos/server.yaml` for redis server\r\n2. wait if redis server is not started (e.g. still in PBS queue)\r\n3. try to connect to redis server and check if it is alive\r\n4. start working once redis server is alive\r\n\r\n```\r\nsos start monitor\r\n```\r\n\r\n1. check .sos/server.yaml for redis server\r\n2. start a browser and point to rq monitor interface\r\n\r\n```\r\nsos run myscript [-e rq|mrq|celery]\r\n```\r\n\r\n1. check .sos/server.yaml for redis server\r\n2. connect to redis server\r\n3. submit tasks to redis server\r\n\r\nOf course we do not have to support multiple backend but the interface should be general enough if we need to switch."},"comment":{"url":"https://api.github.com/repos/BoPeng/SOS/issues/comments/251673680","html_url":"https://github.com/BoPeng/SOS/issues/234#issuecomment-251673680","issue_url":"https://api.github.com/repos/BoPeng/SOS/issues/234","id":251673680,"user":{"login":"gaow","id":917985,"avatar_url":"https://avatars.githubusercontent.com/u/917985?v=3","gravatar_id":"","url":"https://api.github.com/users/gaow","html_url":"https://github.com/gaow","followers_url":"https://api.github.com/users/gaow/followers","following_url":"https://api.github.com/users/gaow/following{/other_user}","gists_url":"https://api.github.com/users/gaow/gists{/gist_id}","starred_url":"https://api.github.com/users/gaow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaow/subscriptions","organizations_url":"https://api.github.com/users/gaow/orgs","repos_url":"https://api.github.com/users/gaow/repos","events_url":"https://api.github.com/users/gaow/events{/privacy}","received_events_url":"https://api.github.com/users/gaow/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T13:26:37Z","updated_at":"2016-10-05T13:26:37Z","body":"Indeed! I think it is also under consideration that we use `mrq` as the backbone. \r\n\r\nOur application is more specific for a cluster environment and perhaps involving more steps. But if we can get it work with 2 HPC system (yours and mine) we should be able to come up with something easy to use and interesting to the general public. So we need a good name for the repo ... "}}
{"actor":{"display_login":"gaow"}}