RailsConf 2017: Beyond Validates_Presence_of: Ensuring Eventual Consistency by Amy Unger
Channel: Confreaks
Date: 2017-05-19

RailsConf 2017: Beyond Validates_Presence_of: Ensuring Eventual Consistency by Amy Unger

You've added background jobs. You have calls to external services that perform actions asynchronously. Your data is no longer always in one perfect state-- it's in one of tens or hundreds of acceptable states.

How can you confidently ensure that your data is valid without validations?

In this talk, I’ll introduce some data consistency issues you may see in your app when you begin introducing background jobs and external services. You’ll learn some patterns for handling failure so your data never gets out of sync and we’ll talk about strategies to detect when something is wrong.