isolator
after_commit_everywhere
isolator | after_commit_everywhere | |
---|---|---|
4 | 1 | |
826 | 661 | |
- | - | |
6.8 | 5.7 | |
6 days ago | 2 months ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
isolator
-
Wfolio: professional image processing for professional photographers
In fact, the project had already taken advantage of a number of Evil Martians OSS products, like Autoprefixer, after_commit_everywhere, and isolator.
- O que não fazer ao usar background jobs(baseado em experiência com rails+sidekiq)
-
TIL: Queuing Sidekiq workers safely with the help of Isolator
The first is isolator, a gem by the folks over at Evil Martians that detects non-atomic interactions within a database transaction. What do we mean by that? A simple example taken from the documentation that uses background jobs is something like the following:
-
Rails application boilerplate for fast MVP development
add isolator
after_commit_everywhere
-
TIL: Queuing Sidekiq workers safely with the help of Isolator
Well, the Evil Martians folks have something else for that problem. The after_commit_everywhere gem allows you to use similar transactional callbacks outside of your models, so something like this:
What are some alternatives?
Ahoy - Simple, powerful, first-party analytics for Rails
Fasterer - :zap: Don't make your Rubies go fast. Make them go fasterer ™. :zap:
bullet - help to kill N+1 queries and unused eager loading
Traceroute - A Rake task gem that helps you find the unused routes and controller actions for your Rails 3+ app
Sidekiq - Simple, efficient background processing for Ruby
rails_best_practices - a code metric tool for rails projects
Lol DBA - lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.
Pundit - Minimal authorization through OO design and pure Ruby classes
FriendlyId - FriendlyId is the “Swiss Army bulldozer” of slugging and permalink plugins for ActiveRecord. It allows you to create pretty URL’s and work with human-friendly strings as if they were numeric ids for ActiveRecord models.
Rack::Attack - Rack middleware for blocking & throttling
Pronto - Quick automated code review of your changes