OTH (Online Travel Hub)
OTH is a specialized service for specific market segments with dedicated infrastructure.
Architecture Diagram
graph TB
subgraph OTH_INFRA["OTH Infrastructure"]
subgraph OTH_LB["OTH Load Balancers"]
OTHLB1["OTH-HAProxy-Master<br/>10.32.8.106"]
OTHLB2["OTH-HAProxy-Standby<br/>10.32.8.107"]
OTHVIP["OTH VIP<br/>10.32.8.105"]
end
subgraph OTH_SERVERS["OTH Application Servers (VMs)"]
OTH1["OTH-1<br/>10.32.8.11"]
OTH2["OTH-2<br/>10.32.8.86"]
OTH3["OTH-3<br/>10.32.8.40"]
end
subgraph OTH_CACHE["OTH Caching"]
OTHCM["OTH-Cache-Master"]
OTHCS["OTH-Cache-Standby"]
REDISOTH["Redis-OTH"]
end
end
OTHVIP --> OTHLB1
OTHVIP -.->|"Failover"| OTHLB2
OTHLB1 & OTHLB2 --> OTH1 & OTH2 & OTH3
OTH1 & OTH2 & OTH3 --> OTHCM & REDISOTH
style OTHVIP fill:#87CEEB
style OTHLB1 fill:#90EE90
style OTHLB2 fill:#FFE4B5
Server Inventory
| Component |
IP Address |
Type |
Host |
| OTH-1 |
10.32.8.11 |
VM |
XCP-1 |
| OTH-2 |
10.32.8.86 |
VM |
XCP-3 |
| OTH-3 |
10.32.8.40 |
VM |
XCP-1 |
| OTH-HAProxy-Master |
10.32.8.106 |
VM |
XCP-2 |
| OTH-HAProxy-Standby |
10.32.8.107 |
VM |
XCP-2 |
| OTH VIP |
10.32.8.105 |
Virtual |
- |
| OTH-Cache-Master |
- |
VM |
XCP-2 |
| OTH-Cache-Standby |
- |
VM |
XCP-2 |
| Redis-OTH |
- |
VM |
XCP-1 |
OTH Features
| Feature |
Description |
| Purpose |
Specialized travel hub for specific markets |
| Architecture |
Dedicated servers, separate from main API |
| Load Balancing |
HAProxy HA pair with VIP |
| Caching |
Redis + dedicated cache servers |
| Database |
Separate optimized database |
Traffic Flow
sequenceDiagram
participant Client as OTH Client
participant VIP as OTH VIP<br/>10.32.8.105
participant LB as HAProxy<br/>Master/Standby
participant OTH as OTH Servers<br/>(1, 2, 3)
participant Cache as Redis-OTH
Client->>VIP: Request
VIP->>LB: Route to active LB
LB->>OTH: Load balance
OTH->>Cache: Check cache
Cache-->>OTH: Cache response
OTH-->>LB: Response
LB-->>Client: Return data
High Availability
| Component |
HA Method |
| Load Balancer |
Active-Standby with VIP failover |
| Application |
3 OTH servers behind LB |
| Cache |
Master-Standby cache pair |
| Redis |
Dedicated Redis instance |
Last Updated: 2025-12-02