filmov
tv
Using Asynchronous Events to enrich Fraud Detection | Designing Event-Driven Microservices
Показать описание
In this video, you will see an example of how Tributary bank uses asynchronous events to enrich its domain and protect its fraud detection system from failures.
Relying purely on synchronous request/response creates artificial limitations in a system. It requires commands to complete in milliseconds or users end up waiting unreasonable amounts of time. It also requires that all parts of the system remain operational. Should a failure occur, it can cascade back through complex chains of request/response operations. In a banking system, where transactions need to be completed instantly, this can be a significant problem. Fraud detection is a complicated process involving the application of machine learning algorithms, complex rules, and even human analysts. Assuming it can be completed instantly leads to a mismatch in expectations. Instead, designing a system that uses asynchronous events as the backbone of communication allows the system to take the time it needs to complete these complex processes, without leaving a user waiting on the other end.
RELATED RESOURCES
CHAPTERS
00:00 - Intro
00:36 - Example: Purchasing Concert Tickets
00:57 - How to handle failure with Request/Response
02:04 - Producing events to be consumed by a microservice
02:37 - Moving the responsibilities into Apache Kafka
03:48 - Consuming events in the microservice
04:48 - Two-way communication between services
05:54 - Enriching the event model
07:26 - Closing
--
ABOUT CONFLUENT
#microservices #apachekafka #kafka #confluent
Комментарии