Using Asynchronous Events to enrich Fraud Detection | Designing Event-Driven Microservices

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024

ความคิดเห็น • 10

  • @BlindVirtuoso
    @BlindVirtuoso 3 หลายเดือนก่อน

    Excellent as always. Thanks, Wade.

  • @Zmey5656
    @Zmey5656 3 หลายเดือนก่อน +1

    Thank you, very interesting explanation about using asynchronous events

  • @an2ny2100
    @an2ny2100 3 หลายเดือนก่อน

    good explanation though in terms of a bank transaction as a customer i'd prefer if the transaction was detected as a fraud rather than pushing through but hey, everything comes down to preference which is why we have a lot of software accomplishing the same thing in a different way :-)

    • @WadeWaldron-Confluent
      @WadeWaldron-Confluent 3 หลายเดือนก่อน

      Wade here. The thing is, it may not be as simple as detect fraud or don't detect fraud. It's a balance. Yes, you obviously want to detect fraud as accurately as possible. But your bank also needs to be able to give people money when they ask for it. Financial systems, payment processors, etc, have very strict limits on how long they can take. If running fraud detection exceeds those limits, all transactions will be rejected, whether they are fraudulent or not. If that happens, the fraud detection is going to be largely irrelevant because the bank won't have any customers left.
      Having said that, in a real system, they can definitely have layers of fraud detection. Do the fast stuff in real-time, and leave the slower stuff for an async process.

    • @an2ny2100
      @an2ny2100 3 หลายเดือนก่อน

      @@WadeWaldron-Confluent alright. now i know a bit more about banking system

  • @puneetbhatia2326
    @puneetbhatia2326 3 หลายเดือนก่อน

    So basically, the system would allow at least one fraudulent transaction to go through per account before it can mark the account as compromised. That can be an expensive proposition for the bank if these fraudulent transactions are high $$ value. Thoughts?

    • @Captplanet23
      @Captplanet23 2 หลายเดือนก่อน

      @@ConfluentDevXTeam +1 - a pre-auth fraud check would make sense to have a synchronous response, it’s a decision primarily made on the single transaction, who the payer is, and at this stage in the payment lifecycle you have minimal data. Now you could certainly have some offline and near real time features ready to serve your decision system here, but the more you’re doing the more latency you have and a lot of times you need to make this assessment in 500ms or less. Most banks are also doing batch captures, be it once a day or multiple times a day, so a sync response on a payment capture wouldn’t really make sense.

  • @chalequin
    @chalequin 3 หลายเดือนก่อน

    Great video , enjoying this series
    When it comes to transaction approval , there is the transactional part ( no pun intended ) where the system has to decide within ~100 milliseconds if it goes through or not . Here we must pack a a rule-based solution inside the monolith . Then for higher-latency ML models , the micro service takes over . I haven't seen or implemented the async approach myself but it feels like the right system design to me

  • @BlindVirtuoso
    @BlindVirtuoso 3 หลายเดือนก่อน

    The problem with event-driven architecture is that business almost always wants things to be strongly consistent. In the example, transaction processing is not strongly consistent with fraud detection. I mean a transaction can be processed, but detected as fraud after several milliseconds. So a compensation mechanism needs to come into play and business people usually do not like this :)

    • @BlindVirtuoso
      @BlindVirtuoso 3 หลายเดือนก่อน

      ​@@ConfluentDevXTeam Totally agree