Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想检查 50k RSS 提要的更新。现在需要很长时间,所以我开始研究像 typhoeus 那样执行并行 HTTP 请求的gem ,尽管 sidekiq 和 typhoeus不能很好地配合使用。
在后台执行一堆并发 HTTP 请求的好方法是什么?
https://github.com/httprb/http声称非常快,但我没有尝试过。
看看em-http-request - 它运行在 eventmachine 之上,这是用于非阻塞 IO 的库。