Skip to content
I

Isolator

Detect non-atomic interactions within DB transactions

by palkanFree

#2334in Developer Tools
0In stores

Description

Isolator is a Ruby gem that detects non-atomic side effects performed inside database transactions, such as HTTP requests or background job…

Highlights

  • Detects HTTP calls, job enqueues and other side effects inside transactions
  • Catches implicit transactions such as after_create callbacks
  • Plug-and-play once required
  • Transactional test support with errors raised in tests
  • Configurable adapters and uniform_notifier alerts
  • Experimental multiple database support

Ratings & Reviews

No ratings yet

Be the first to rate Isolator.

People also visit

R

Rorvswild

Performances & exceptions monitoring for Ruby on Rails applications

Developer Tools
Launch
D

DeadBro

Rails Performance Monitoring & Error Tracking

Developer Tools
Launch
R

rails-expert

Rails 7+ specialist that optimizes Active Record queries

AI Skills
Get
A

Airbroke

Lightweight, Airbrake/Sentry-compatible

Developer Tools
Launch
M

Mutant

Mutation testing for Ruby

AI
Launch
R

Rails Performance

Monitor performance of you Rails applications (self-hosted and free)

Developer Tools
Launch

Isolator FAQ

What problem does Isolator catch?

Non-atomic interactions inside database transactions, like making network calls or enqueueing background jobs that cannot be rolled back if the transaction fails.

Where should I use it?

In tests and on staging.

How do I install it?

Add it to your Gemfile. Make sure isolator is required last, since it detects which adapters to load based on what is already loaded.

How do I avoid false positives with a safe job backend?

Disable the :active_job adapter in an initializer if you use a transaction-safe Active Job adapter such as Que.

What are the best Isolator alternatives?

Popular alternatives to Isolator include Rorvswild, DeadBro and Airbroke. See all Isolator alternatives

Developer Stuff

Badges