Skip to content

Batch Push to all users uses a lot of RAM #2434

Closed
@benishak

Description

@benishak

ENV:

Parse-Server : 2.2.16 on AWS EC2 T2.MEDIUM (CentOS+NGINX)
Parse JavaScript SDK : 1.9.0
Push Adapter : AWS SNS

Problem

Before 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
But ... when we send push to all installation (12k), our server get huge CPU load and massive RAM usage more than 1.5GB

How can we get ride of high CPU load and massive RAM usage ? what is the best practice to handle Pushes in general ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions