RepositoryRubyDEĐức
FR

fractaledmind/acidic_job

🧪 Durable execution workflows for Active Job

630sao
19fork
4issue
1lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: activejob

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: sidekiq

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: rails

#1 Repository của tháng

🧪 acidic_job: Durable execution workflows cho Active Job

Dùng transactional outbox + state machine để jobs chạy đúng ngay cả khi lỗi hệ thống.

acidic_job của fractaledmind là gem Ruby tích hợp sâu với Active Job, biến jobs thành workflows bền vững (durable). Thay vì chạy fire-and-forget như Sidekiq thông thường, acidic_job ghi nhận trạng thái job trong DB và tái thiếp lòng khi crash.

✨ Điểm nổi bật

  • Transactional outbox: Job được tạo trong cùng transaction với business logic, tránh mất job khi rollback.
  • State machine: Theo dõi trạng thái job (pending, processing, completed, failed) qua DB.
  • Retry thông minh: Tự động retry với backoff, giữ nguyên context khi lỗi.
  • Idempotency: Hỗ trợ job chạy lại an toàn khi có trùng lặp.
  • Tích hợp Active Job: Dùng giống như jobs thường, không cần thay đổi API lớn.
  • Rails-native: Chạy trên DB transaction, không cần message queue phức tạp.

💡 Vì sao đáng chú ý

Khác với Sidekiq hay Active Job thường chạy "đuổi" jobs, acidic_job dùng transactional outbox pattern — job chỉ được gửi khi transaction commit thành công. Phù hợp hệ thống Rails cần độ tin cậy cao, job không được mất.


#Ruby #Rails #ActiveJob #Sidekiq #DurableExecution #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryRuby
rails/rails

Ruby on Rails

59.1k
Nov 29, 2026
RepositoryRuby
discourse/discourse

A platform for community discussion. Free, open, simple.

48.1k
Dec 1, 2026
RepositoryRuby
gitlabhq/gitlabhq

GitLab CE Mirror | Please open new issues in our issue tracker on GitLab.com

24.6k
Oct 23, 2026
RepositoryRuby
heartcombo/devise

Flexible authentication solution for Rails with Warden.

24.3k
Oct 6, 2026
RepositoryRuby
forem/forem

For empowering community 🌱

22.8k
Nov 25, 2026
RepositoryRuby
diaspora/diaspora

A privacy-aware, distributed, open source social network.

13.7k
Nov 18, 2026
RepositoryRuby
sidekiq/sidekiq

Simple, efficient background processing for Ruby

13.6k
Nov 23, 2026
RepositoryRuby
activeadmin/activeadmin

The administration framework for Ruby on Rails applications.

9.7k
Nov 25, 2026
RepositoryRuby
kaminari/kaminari

⚡ A Scope & Engine based, clean, powerful, customizable and sophisticated paginator for Ruby webapps

8.7k
Nov 5, 2026