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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Track in depth Sidekiq::Batch progress

3 点作者 darrhiggs将近 8 年前

1 comment

darrhiggs将近 8 年前
So this is my first open source project.<p>I am creating a rails app that helps move data between two sites and I wanted to keep the users informed of the complex, and slow, background work that was being performed outside the http request response cycle. The functionality that comes with Sidekiq Pro was a half decent solution but I wanted the progress on the front-end to show something more detailed than something like 16&#x2F;42 units of work complete, especially as some units of work were far more time consuming than others.<p>The result is Sidekiq::TrackableBatch[0]. Check out the demo app[1] that shows how it could be used in the context of a e-commerce site. The demo (source[2]) uses action cable to update the UI.<p>I hope somebody finds it useful.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;darrhiggs&#x2F;sidekiq-trackable_batch#usage" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;darrhiggs&#x2F;sidekiq-trackable_batch#usage</a> [1] <a href="https:&#x2F;&#x2F;sidekiq-trackable-batch-demo.herokuapp.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sidekiq-trackable-batch-demo.herokuapp.com&#x2F;</a> [2] <a href="https:&#x2F;&#x2F;github.com&#x2F;darrhiggs&#x2F;sidekiq_trackable_batch_demo_app" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;darrhiggs&#x2F;sidekiq_trackable_batch_demo_ap...</a>