Beyond validates_presence_of: ensuring eventual consistency in distributed systems

Beyond validates_presence_of: ensuring eventual consistency in distributed systems

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.

C904d45853b2e4de64d080c6630c0d8f?s=128

Amy Unger

April 27, 2017
Tweet