immobiliare / ApnsPHP

ApnsPHP: Apple Push Notification & Feedback Provider
BSD 3-Clause "New" or "Revised" License
1.43k stars 452 forks source link

Http/2 send very slow #154

Open VrasidasP opened 7 years ago

VrasidasP commented 7 years ago

We wanted to update our PushNotifications service by sending with Http/2, but it takes way too long compared to the normal (binary) method. For about 15000 devices, binary method takes about 2 minutes to finish. We haven't been able to finish such a large request using http/2, it takes at least an hour...

Why is this happening?

yetdog commented 5 years ago

I'm working on the 2.0.0 alpha release for HTTP/2, and I wouldn't say it's "at least an hour" slow, but it definitely seems a bit slower than the binary method....