-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending push notification result in server shutdown. #1240
Comments
Can you help us with debugging this a little? Since it sounds like a performance problem, can you first try doing the exact same set of commands on an app with fewer users and see if it works? Also, if you are running on an infrastructure provider that makes this easy, can you try running the server on a more powerful instance and seeing if that helps? Finally, could you show us any logs that the server outputs as it shuts down, and also describe the machine your setup is running on? Amount of RAM, CPU, DB size, storage type, and so on. |
Yeah we may wanna use query cursors on that... |
There was another issue yesterday about memory usage.. there could be a leak somewhere. |
Yah using cursors should help with push related perf issues. |
When will you improve the push performance?I have another question that I cann't find out the open counts from self host parse-server. |
@scorpion1750 Pull requests are welcome! |
Ok,I will try. |
Just to give your pointers:
important notes:
|
I have another question How can I statistic the open rate of one push ?It seems that the latest version have't implement this function yet.By the way I can't find the GCM.js,APNS.js in the source folder,Need I create the ParsePushAdapter.js? |
@scorpion1750 I opened a PR https://github.com/parse-server-modules/parse-server-push-adapter on the push adapter to leverage APNS performance improvements. We're waiting for a good review before merging and distributing. For the open rate push, we don't support that now as the analytics endpoint is not implemented. I suggest you use a mobile analytics platform like mix panel, segment and friends. I'll also be closing it for now as we splitted the push adapter into it's own repository. Feel free to re-open if you feel it's not right. |
Hi,
I have meet problems of push notification.My app have more than 20,0000 users.
2)I check my server process finding out my parse-server had shut down.
4)Push to small amount of users could be find.
I think the performance of push notification is not good as well as the Parse Dashboard,maybe some bugs result in the problem.I hope you can help me solve this problem.Thanks!
The text was updated successfully, but these errors were encountered: