{"action":"reopened","number":4011,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-openwhisk/pulls/4011","id":214186503,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MTg2NTAz","html_url":"https://github.com/apache/incubator-openwhisk/pull/4011","diff_url":"https://github.com/apache/incubator-openwhisk/pull/4011.diff","patch_url":"https://github.com/apache/incubator-openwhisk/pull/4011.patch","issue_url":"https://api.github.com/repos/apache/incubator-openwhisk/issues/4011","number":4011,"state":"open","locked":false,"title":"Customize invoker use memory for memory based loadbalancing","user":{"login":"ningyougang","id":11749867,"node_id":"MDQ6VXNlcjExNzQ5ODY3","avatar_url":"https://avatars3.githubusercontent.com/u/11749867?v=4","gravatar_id":"","url":"https://api.github.com/users/ningyougang","html_url":"https://github.com/ningyougang","followers_url":"https://api.github.com/users/ningyougang/followers","following_url":"https://api.github.com/users/ningyougang/following{/other_user}","gists_url":"https://api.github.com/users/ningyougang/gists{/gist_id}","starred_url":"https://api.github.com/users/ningyougang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ningyougang/subscriptions","organizations_url":"https://api.github.com/users/ningyougang/orgs","repos_url":"https://api.github.com/users/ningyougang/repos","events_url":"https://api.github.com/users/ningyougang/events{/privacy}","received_events_url":"https://api.github.com/users/ningyougang/received_events","type":"User","site_admin":false},"body":"Currently, all invokers share the same value from invoker.use-memory,\r\nbut in some cases, some invoker machines have big memory, some invoker\r\nmachines may have low memory, so it is necessary to customize invoker\r\nuse memory\r\n\r\nfor example, in `environments/local/hosts`\r\n```\r\n[invokers]\r\ninvoker0            ansible_host=172.17.0.1 ansible_connection=local\r\ninvoker1            ansible_host=172.17.0.1 ansible_connection=local use_memory='512 m'\r\ninvoker2            ansible_host=172.17.0.1 ansible_connection=local use_memory='2048 m'\r\n```\r\n\r\n<!--- Provide a concise summary of your changes in the Title -->\r\n\r\n## Description\r\n<!--- Provide a detailed description of your changes. -->\r\n<!--- Include details of what problem you are solving and how your changes are tested. -->\r\n\r\n## Related issue and scope\r\n<!--- Please include a link to a related issue if there is one. -->\r\n- [ ] I opened an issue to propose and discuss this change (#????)\r\n\r\n## My changes affect the following components\r\n<!--- Select below all system components are affected by your change. -->\r\n<!--- Enter an `x` in all applicable boxes. -->\r\n- [ ] API\r\n- [ ] Controller\r\n- [ ] Message Bus (e.g., Kafka)\r\n- [ ] Loadbalancer\r\n- [x] Invoker\r\n- [ ] Intrinsic actions (e.g., sequences, conductors)\r\n- [ ] Data stores (e.g., CouchDB)\r\n- [ ] Tests\r\n- [ ] Deployment\r\n- [ ] CLI\r\n- [ ] General tooling\r\n- [ ] Documentation\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Use `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (generally a non-breaking change which closes an issue).\r\n- [ ] Enhancement or new feature (adds new functionality).\r\n- [ ] Breaking change (a bug fix or enhancement which changes existing behavior).\r\n\r\n## Checklist:\r\n<!--- Please review the points below which help you make sure you've covered all aspects of the change you're making. -->\r\n\r\n- [x] I signed an [Apache CLA](https://github.com/apache/incubator-openwhisk/blob/master/CONTRIBUTING.md).\r\n- [x] I reviewed the [style guides](https://github.com/apache/incubator-openwhisk/wiki/Contributing:-Git-guidelines#code-readiness) and followed the recommendations (Travis CI will check :).\r\n- [ ] I added tests to cover my changes.\r\n- [ ] My changes require further changes to the documentation.\r\n- [ ] I updated the documentation where necessary.\r\n\r\n","created_at":"2018-09-10T02:59:08Z","updated_at":"2018-09-13T06:59:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d94ccf86d9fc6e5211071d03a93e05afb33610e","assignee":null,"assignees":[],"requested_reviewers":[{"login":"cbickel","id":13397688,"node_id":"MDQ6VXNlcjEzMzk3Njg4","avatar_url":"https://avatars1.githubusercontent.com/u/13397688?v=4","gravatar_id":"","url":"https://api.github.com/users/cbickel","html_url":"https://github.com/cbickel","followers_url":"https://api.github.com/users/cbickel/followers","following_url":"https://api.github.com/users/cbickel/following{/other_user}","gists_url":"https://api.github.com/users/cbickel/gists{/gist_id}","starred_url":"https://api.github.com/users/cbickel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbickel/subscriptions","organizations_url":"https://api.github.com/users/cbickel/orgs","repos_url":"https://api.github.com/users/cbickel/repos","events_url":"https://api.github.com/users/cbickel/events{/privacy}","received_events_url":"https://api.github.com/users/cbickel/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":354873442,"node_id":"MDU6TGFiZWwzNTQ4NzM0NDI=","url":"https://api.github.com/repos/apache/incubator-openwhisk/labels/invoker","name":"invoker","color":"0e8a16","default":false},{"id":401833916,"node_id":"MDU6TGFiZWw0MDE4MzM5MTY=","url":"https://api.github.com/repos/apache/incubator-openwhisk/labels/review","name":"review","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-openwhisk/pulls/4011/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-openwhisk/pulls/4011/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-openwhisk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-openwhisk/issues/4011/comments","statuses_url":"https://api.github.com/repos/apache/incubator-openwhisk/statuses/7b56a7f41bf6d1ec3672f9d499c225a9f80a5830","head":{"label":"ningyougang:customize-invoker-use-memory","ref":"customize-invoker-use-memory","sha":"7b56a7f41bf6d1ec3672f9d499c225a9f80a5830","user":{"login":"ningyougang","id":11749867,"node_id":"MDQ6VXNlcjExNzQ5ODY3","avatar_url":"https://avatars3.githubusercontent.com/u/11749867?v=4","gravatar_id":"","url":"https://api.github.com/users/ningyougang","html_url":"https://github.com/ningyougang","followers_url":"https://api.github.com/users/ningyougang/followers","following_url":"https://api.github.com/users/ningyougang/following{/other_user}","gists_url":"https://api.github.com/users/ningyougang/gists{/gist_id}","starred_url":"https://api.github.com/users/ningyougang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ningyougang/subscriptions","organizations_url":"https://api.github.com/users/ningyougang/orgs","repos_url":"https://api.github.com/users/ningyougang/repos","events_url":"https://api.github.com/users/ningyougang/events{/privacy}","received_events_url":"https://api.github.com/users/ningyougang/received_events","type":"User","site_admin":false},"repo":{"id":95518639,"node_id":"MDEwOlJlcG9zaXRvcnk5NTUxODYzOQ==","name":"incubator-openwhisk","full_name":"ningyougang/incubator-openwhisk","owner":{"login":"ningyougang","id":11749867,"node_id":"MDQ6VXNlcjExNzQ5ODY3","avatar_url":"https://avatars3.githubusercontent.com/u/11749867?v=4","gravatar_id":"","url":"https://api.github.com/users/ningyougang","html_url":"https://github.com/ningyougang","followers_url":"https://api.github.com/users/ningyougang/followers","following_url":"https://api.github.com/users/ningyougang/following{/other_user}","gists_url":"https://api.github.com/users/ningyougang/gists{/gist_id}","starred_url":"https://api.github.com/users/ningyougang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ningyougang/subscriptions","organizations_url":"https://api.github.com/users/ningyougang/orgs","repos_url":"https://api.github.com/users/ningyougang/repos","events_url":"https://api.github.com/users/ningyougang/events{/privacy}","received_events_url":"https://api.github.com/users/ningyougang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ningyougang/incubator-openwhisk","description":"Apache OpenWhisk is a serverless event-based programming service and an Apache Incubator project.","fork":true,"url":"https://api.github.com/repos/ningyougang/incubator-openwhisk","forks_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/forks","keys_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/teams","hooks_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/hooks","issue_events_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/issues/events{/number}","events_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/events","assignees_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/assignees{/user}","branches_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/branches{/branch}","tags_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/tags","blobs_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/git/refs{/sha}","trees_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/statuses/{sha}","languages_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/languages","stargazers_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/stargazers","contributors_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/contributors","subscribers_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/subscribers","subscription_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/subscription","commits_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/commits{/sha}","git_commits_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/git/commits{/sha}","comments_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/comments{/number}","issue_comment_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/issues/comments{/number}","contents_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/contents/{+path}","compare_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/merges","archive_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/downloads","issues_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/issues{/number}","pulls_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/pulls{/number}","milestones_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/milestones{/number}","notifications_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/labels{/name}","releases_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/releases{/id}","deployments_url":"https://api.github.com/repos/ningyougang/incubator-openwhisk/deployments","created_at":"2017-06-27T04:49:24Z","updated_at":"2018-09-10T02:50:27Z","pushed_at":"2018-09-13T06:58:43Z","git_url":"git://github.com/ningyougang/incubator-openwhisk.git","ssh_url":"git@github.com:ningyougang/incubator-openwhisk.git","clone_url":"https://github.com/ningyougang/incubator-openwhisk.git","svn_url":"https://github.com/ningyougang/incubator-openwhisk","homepage":"http://openwhisk.org","size":62709,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"2fa71962aa2105f13c149d7e07b6770cb937abe3","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":52039373,"node_id":"MDEwOlJlcG9zaXRvcnk1MjAzOTM3Mw==","name":"incubator-openwhisk","full_name":"apache/incubator-openwhisk","owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-openwhisk","description":"Apache OpenWhisk is a serverless event-based programming service and an Apache Incubator project.","fork":false,"url":"https://api.github.com/repos/apache/incubator-openwhisk","forks_url":"https://api.github.com/repos/apache/incubator-openwhisk/forks","keys_url":"https://api.github.com/repos/apache/incubator-openwhisk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-openwhisk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-openwhisk/teams","hooks_url":"https://api.github.com/repos/apache/incubator-openwhisk/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-openwhisk/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-openwhisk/events","assignees_url":"https://api.github.com/repos/apache/incubator-openwhisk/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-openwhisk/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-openwhisk/tags","blobs_url":"https://api.github.com/repos/apache/incubator-openwhisk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-openwhisk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-openwhisk/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-openwhisk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-openwhisk/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-openwhisk/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-openwhisk/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-openwhisk/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-openwhisk/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-openwhisk/subscription","commits_url":"https://api.github.com/repos/apache/incubator-openwhisk/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-openwhisk/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-openwhisk/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-openwhisk/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-openwhisk/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-openwhisk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-openwhisk/merges","archive_url":"https://api.github.com/repos/apache/incubator-openwhisk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-openwhisk/downloads","issues_url":"https://api.github.com/repos/apache/incubator-openwhisk/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-openwhisk/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-openwhisk/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-openwhisk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-openwhisk/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-openwhisk/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-openwhisk/deployments","created_at":"2016-02-18T21:16:19Z","updated_at":"2018-09-12T22:45:33Z","pushed_at":"2018-09-13T06:58:45Z","git_url":"git://github.com/apache/incubator-openwhisk.git","ssh_url":"git@github.com:apache/incubator-openwhisk.git","clone_url":"https://github.com/apache/incubator-openwhisk.git","svn_url":"https://github.com/apache/incubator-openwhisk","homepage":"http://openwhisk.org","size":62684,"stargazers_count":3479,"watchers_count":3479,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":655,"mirror_url":null,"archived":false,"open_issues_count":425,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":655,"open_issues":425,"watchers":3479,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-openwhisk/pulls/4011"},"html":{"href":"https://github.com/apache/incubator-openwhisk/pull/4011"},"issue":{"href":"https://api.github.com/repos/apache/incubator-openwhisk/issues/4011"},"comments":{"href":"https://api.github.com/repos/apache/incubator-openwhisk/issues/4011/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-openwhisk/pulls/4011/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-openwhisk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-openwhisk/pulls/4011/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-openwhisk/statuses/7b56a7f41bf6d1ec3672f9d499c225a9f80a5830"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":57,"deletions":14,"changed_files":5}}
{"actor":{"display_login":"ningyougang"}}