简体   繁体   English

哪个宝石适合APNS持久连接ruby on rails?

[英]Which gem is good for APNS persistent connection for ruby on rails?

Write now i am using apn_on_rails gem, which is not make persistent connection to APN Servers. 现在写我正在使用apn_on_rails gem,它不会与APN服务器建立持久连接。 So i want to use gem which will make persistent connection to APN Servers and also will take low memory to server. 所以我想使用gem来实现与APN服务器的持久连接,并且还需要将低内存连接到服务器。 I have found following gems for the same 我发现了同样的宝石

  • jnak / apnmachine jnak / apnmachine
  • ileitch / rapns ileitch / rapns
  • geoloqi / lead_zeppelin geoloqi / lead_zeppelin

So please suggest me which one is better. 所以请建议我哪一个更好。

I really appreciate if someone guide me for the same. 如果有人指导我,我真的很感激。

thanks 谢谢

We use this one in production https://github.com/nerdsRob/APNS . 我们在生产中使用这个https://github.com/nerdsRob/APNS It works and it can persist connections with 它工作,它可以持续连接

APNS.cache_connections = true

Hope that helps 希望有所帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM