-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathexample.puml
More file actions
56 lines (43 loc) · 1.17 KB
/
Copy pathexample.puml
File metadata and controls
56 lines (43 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
@startuml Microservices Architecture
!theme plain
skinparam backgroundColor #FAFAFA
skinparam ArrowColor #555555
skinparam FontName Arial
skinparam roundCorner 8
title Microservices E-Commerce Architecture
actor "Mobile Client" as mobile #AED6F1
actor "Web Client" as web #AED6F1
actor "Admin Portal" as admin #AED6F1
rectangle "API Gateway" as gateway #D7BDE2
rectangle "Microservices" {
component "User Service" as user #AED6F1
component "Order Service" as order #AED6F1
component "Product Service" as product #AED6F1
component "Payment Service" as payment #AED6F1
}
rectangle "Event Layer" {
queue "Kafka" as kafka #FAD7A0
component "Notification" as notif #FAD7A0
}
cloud "Stripe API" as stripe #F1948A
rectangle "Storage" {
database "User DB" as userdb #A9DFBF
database "Order DB" as orderdb #A9DFBF
database "Product DB" as productdb #A9DFBF
database "Redis Cache" as redis #F9E79F
}
mobile --> gateway
web --> gateway
admin --> gateway
gateway --> user
gateway --> order
gateway --> product
gateway --> payment
user --> userdb
order --> orderdb
product --> productdb
payment --> redis
order --> kafka : events
kafka --> notif
payment --> stripe : charge
@enduml