Skip to content

Commit cdefd7f

Browse files
committed
digital identity service - code and flow diagrams added
1 parent 144fe0d commit cdefd7f

File tree

12 files changed

+379
-110
lines changed

12 files changed

+379
-110
lines changed
Loading
Loading
Loading
Loading
Loading

docs/howtos/solutions/fraud-detection/digital-identity-validation/index-digital-identity-validation.mdx

+360-110
Large diffs are not rendered by default.

docs/howtos/solutions/fraud-detection/transaction-risk-scoring/index-transaction-risk-scoring.mdx

+18
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ authors: [prasan, will]
77
---
88

99
import Authors from '@theme/Authors';
10+
import MicroservicesArchitectureWithRedis from '../../microservices/common-data/microservices-arch-with-redis.mdx';
1011

1112
<Authors frontMatter={frontMatter} />
1213

@@ -39,6 +40,23 @@ This is exactly where **Redis Enterprise** fits in transaction risk scoring
3940

4041
Finally, both of the use cases above can be deployed in an Active-Active set-up, allowing for 99.999% uptime.
4142

43+
## Microservices Architecture for an E-commerce Application
44+
45+
<MicroservicesArchitectureWithRedis />
46+
47+
Consider below fraud detection flow where Digital identity is validated before order checkout/ payment.
48+
49+
![Flow](./images/flow.svg)
50+
51+
- Purchase : Item is selected for purchase
52+
- **Check Digital Identity** : Confirm the user characteristics (like **user session/ cookie, IP address, Browser fingerprint, location, device type**..etc) and calculate **Identity score** from 0.0-1.0
53+
- Check User Profile : Confirm the user behavior (like purchased from this category and level before?) and calculate **Profile score** from 0.0-1.0
54+
- AI (Artificial Intelligence) : Score overall purchase patterns ( say basket comparison) and calculate **AI score** from 0.0-1.0
55+
- Add to cart : Add the selected item in to the cart
56+
57+
Calculate the transaction fraud/ risk score from above identity score, profile score and AI score.
58+
If the **fraud/ risk score is high**, the customer is sent through a **challenge flow** to provide additional authentication. Challenges typically include a one-time password sent via text, email, or biometric scan.
59+
4260
## Demo
4361

4462
- [loan prediction - github](https://github.com/RedisVentures/loan-prediction-microservice)

docs/howtos/solutions/microservices/common-data/microservices-arch-with-redis.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ The e-commerce microservices application discussed in the rest of this tutorial
44
1. `orders service` - handles validating and creating orders
55
1. `order history service` - handles querying a customer's order history
66
1. `payments service` - handles processing orders for payment
7+
1. `digital identity service` - handles storing identity and calculating identity score
78
1. `api gateway` - unifies your services under a single endpoint
89
1. `mongodb` - serves as the primary database, storing orders, order history, products, etc.
910
1. `redis` - serves as the stream processor and caching database
32 KB
Loading

0 commit comments

Comments
 (0)