TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Grocer - New Gem for Sending Apple Push Notifications in Ruby

39 点作者 vanstee将近 13 年前

3 条评论

kyledrake将近 13 年前
Awesome! This is great.<p>I'm also working on an APNS gem called Lead Zeppelin, which is similar in design, but adds a few things like a pool of connections (read: concurrent on threaded systems like JRuby and Rubinius): <a href="https://github.com/geoloqi/lead_zeppelin" rel="nofollow">https://github.com/geoloqi/lead_zeppelin</a><p>There is some high quality code here, this is a great start. I think the error handling needs to be drilled down a bit, and there needs to be more logging. I'm definitely going to borrow some components of this.. the apns test server is really awesome! I'm happy that APNS support is improving in the Ruby community.
评论 #4103335 未加载
juliennakache将近 13 年前
Hey, you do know that Apple requires developers to maintain persistent connections to their servers, right?<p>Checkout <a href="https://github.com/jnak/apnmachine" rel="nofollow">https://github.com/jnak/apnmachine</a> Feature list: - persistent connection to APN Servers (as Apple recommends) - real-time notifications (no regular polling a la Resque) - super easy to use in Ruby and any languages (as easy as enqueuing a serialized JSON hash in Redis) - persist and queue messages when server is down - horizontal scalability and out-of-the-box load-balancing - fast daemons
评论 #4103388 未加载
评论 #4105508 未加载
aaronbrethorst将近 13 年前
Or, if you use Urban Airship; it's literally like five lines of code with HTTParty to send a push notification.<p>Of course, your needs may vary, but UA scales well and is essentially free to start with.
评论 #4104189 未加载
评论 #4103714 未加载