parse-community / parse-community/parse-server-push-adapter
Large number of targeted Installations make the servers failed (499 errors)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 96
- Forks
- 108
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
We want to be able to send a push request to all our users in an area (more than 100k) but it fails the servers with far too many connexions (nginx 1024 worker_connections are not enough) and all the standard requests to the servers end up with 499 errors.
Our Parse servers are on Elastic Beanstalk, and we use a simple query new Parse.Query("Parse.Installation").exists("deviceToken") in the Parse.Push.send method.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Parse.Push.send call and the Parse.Installation query described in the issue, then trace how a targeted push to more than 100k installations creates connections. Reproduce the nginx 499 failures with a large target set and identify how standard requests are affected. Done means large targeted pushes no longer exhaust the server's available connections or cause normal requests to fail.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nginx
- Domain
- backend, infrastructure, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100