{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/2434","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/2434/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/2434/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/2434/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/2434","id":168691960,"number":2434,"title":"Batch Push to all users uses a lot of RAM","user":{"login":"benishak","id":5909357,"avatar_url":"https://avatars.githubusercontent.com/u/5909357?v=3","gravatar_id":"","url":"https://api.github.com/users/benishak","html_url":"https://github.com/benishak","followers_url":"https://api.github.com/users/benishak/followers","following_url":"https://api.github.com/users/benishak/following{/other_user}","gists_url":"https://api.github.com/users/benishak/gists{/gist_id}","starred_url":"https://api.github.com/users/benishak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benishak/subscriptions","organizations_url":"https://api.github.com/users/benishak/orgs","repos_url":"https://api.github.com/users/benishak/repos","events_url":"https://api.github.com/users/benishak/events{/privacy}","received_events_url":"https://api.github.com/users/benishak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-01T16:53:26Z","updated_at":"2016-08-11T12:07:13Z","closed_at":null,"body":"# ENV:\r\nParse-Server : 2.2.16 on AWS EC2 T2.MEDIUM (CentOS+NGINX)\r\nParse JavaScript SDK : 1.9.0\r\nPush Adapter : AWS SNS\r\n\r\n# Problem\r\nBefore we were using Parse native to send Push but it fails to send to all installations, so we switched to use AWS SNS Push Adapter\r\nBut ... when we send push to all installation (12k), our server get huge CPU load and massive RAM usage more than 1.5GB\r\n\r\nHow can we get ride of high CPU load and massive RAM usage ? what is the best practice to handle Pushes in general ?\r\n"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/239142718","html_url":"https://github.com/ParsePlatform/parse-server/issues/2434#issuecomment-239142718","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/2434","id":239142718,"user":{"login":"benishak","id":5909357,"avatar_url":"https://avatars.githubusercontent.com/u/5909357?v=3","gravatar_id":"","url":"https://api.github.com/users/benishak","html_url":"https://github.com/benishak","followers_url":"https://api.github.com/users/benishak/followers","following_url":"https://api.github.com/users/benishak/following{/other_user}","gists_url":"https://api.github.com/users/benishak/gists{/gist_id}","starred_url":"https://api.github.com/users/benishak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benishak/subscriptions","organizations_url":"https://api.github.com/users/benishak/orgs","repos_url":"https://api.github.com/users/benishak/repos","events_url":"https://api.github.com/users/benishak/events{/privacy}","received_events_url":"https://api.github.com/users/benishak/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T12:07:13Z","updated_at":"2016-08-11T12:07:13Z","body":"how would this work with SQS + SNS,\r\nnormally it goes this way\r\nParse -> SNS -> SQS then the user should pull the message from the Queue (maybe some code must be add in the client side)\r\nI think in this case each device using Parse must have it own Queue in SQS and each Queue.\r\n\r\nI'm really quite confused here specially if it would come to targetet push notification! But for Batch/Bulk Push it is easy because the message is same for all receiver,  I guess, or do I understand this wrong ?"}}
{"actor":{"display_login":"benishak"}}