Real time data check notifications with MongoDB
Sometimes error logs don't pick up serious logic problems in your apps and your database's integrity is compromised.
This week's Speed Run shows you how to quickly build a data integrity monitoring system to alert you whenever you have malformed or incorrect data in your MongoDB database.
"Check ups" were coined by Ryan Laughlin at RailsConf 2018. You can watch his entire presentation on how they helped him and his team at SplitWise to detect logic bugs in their code:
This same pattern will work with relational databases as well, like MySQL, Postgres and others.
We'll send ourselves a Slack message if impossible data is present in our database, so we can investigate and fix before more data causes downstream issues in our apps.