rs / pushd

Blazing fast multi-protocol mobile and web push notification service
MIT License
1.16k stars 224 forks source link

[feature request] sending in blocks and interval #158

Open larsvegas99 opened 7 years ago

larsvegas99 commented 7 years ago

thank u first for this powerfull tool.

Actually i have the problem, sending a push to a big group of devices. For example all Androids to open the App an read an news. In my Database i have 100.000 of it... So if i send a push to the the subscribers my server bekomms enormous traffic and can not handle that 100.000 request in this short time. So my wish is to limit and sending pushs in blocks for example 10.000 thousend every 10 minutes.
Exists a similar function right now or a workaround ?

blakeembrey commented 7 years ago

Duplicate of https://github.com/rs/pushd/issues/110?

larsvegas99 commented 7 years ago

no, its unfortunately not the solution.

blakeembrey commented 7 years ago

Can you explain the issue more thoroughly? It seems I didn't understand.

larsvegas99 commented 7 years ago

For example: I send a push to a event "all Android Devices" with 1million subscribers with the message: "Dear User, please open the App and do something". So in sequel i have a problem, approximately 1 million users at the same time are overloads my webservice/webserver. The only solution i see is to send the Message delayed shiped into blocks. I hope someone can help?!

blakeembrey commented 7 years ago

I still don't understand. Why wouldn't you just batch it yourself? If there a way you see pushd helping here?