Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
uniform_notifier
uniform notifier for rails logger, customized logger, javascript alert, javascript console, growl and xmpp
-
wt_activerecord_index_spy
A gem to spy queries running with Active Record and report missing indexes
The bullet gem helps us identify some well-known database-related problems:
I will use some examples from a project that I created for this post.
This error is raised by the uniform_notifier gem which was extracted from bullet.
As an extra tip, if you want to be even more protected against performance problems related to the database, take a look at the wt-activerecord-index-spy gem, which helps to detect queries that are not using proper indexes.