CockroachDB Videos
← Back to all videos

Idempotency and Ordering

2021-12-09

Uncategorized

Description

This is a lecture from the Cockroach University course “Event-Driven Architecture with Java”. In this lecture, students will learn about idempotency and ordering guarantees when building Event-Driven systems. We will highlight a few techniques that can be used to introduce idempotency and ordering into the system, when it isn’t naturally present. We will also discuss some of the consequences of relying on ordering in a distributed system. 00:00 Duplicate events in Event-driven systems 00:21 What is Idempotency 1:11 Using timestamps for idempotency 1:48 How to use version numbers for idempotency 2:30 How to use event IDs for idempotency 3:04 How to handle out of order events 3:56 How to use the queue for ordering guarantees Learn more about CockroachDB by signing up for free training at Cockroach University: https://university.cockroachlabs.com/courses/course-v1:crl+event-driven-architecture-for-java-devs+self-paced/about #CockroachUniversity #CockroachDB