Real Time Baseline

advertisement
Real Time Baseline
Fault-Tolerant Distributed System
Team6 (SURE)
Mar/25/05
TPC Server1
Pool of Call generator
(Client Object)
Client
service
TPC_Gateway
FT_Stub
TPC Service
FT Manager
TPC_Gateway
Stub
Callee
FT Checker
FT Manager
Caller
(SP:service
Provider)
TPC Service
TPC Server2
Database for FT handling
TPC Service Logic Server
FT Checker & FT Manager
Local & Peer Server Checker
and Recovery Purpose
Real time values and descriptions
1. Server side
1. Third Party RTT
 The time of duration between Server and Third Party Subscribers.
2. Third Naming Lookup RTT
 The time of duration between Server and Naming server.
3. Database RTT
 The time of duration between Server and Database when the server needs to check the state.
2. Client side
1
1. Client RTT
 The total service time of duration between Client and Server.
2. Server Naming Lookup RTT
 The time of duration between Client and Naming server.
1. Real time value descriptions
Fault Free Case
Fault Free
R T T (m s)
500
450
400
350
300
250
200
150
100
50
0
1
51 101 151 201 251 301 351 401 451 501 551 601 651 701 751 801 851 901 951 1001
C lie n t R T T
C lie n t R T T a v e ra g e
T h ird P a rty R T T
# o f ru n s
T h ird P a rty N a m in g L o o k u p
S e rv e r D B R T T
2
Fault Injected Case
Fault Injected
R TT (m s)
900
850
800
750
700
650
600
550
500
450
400
350
300
250
200
150
100
50
0
1
C lient R TT
51 101 151 201 251 301 351 401 451 501 551 601 651 701 751 801 851 901 951 1001
C lient R TT average
Third P arty R TT
3
#
Third P arty N am ing Lo o kup
of runsS erver D B
R TT
Failover time
Failover T im e
F a ilo ve r T im e
1000
800
600
Failover
Average
400
200
0
1
3
5
7
9
11
13
# o f fa u lt in je c te d
4
15
17
19
Fault Free Pie Chart
Fault Free P ie C hart
7%
0%
12%
62%
19%
C lientN S
ThirdP artyC all
S erverN S
D B A ccess
E TC
Fault Injected Pie Chart
Fault Injected P ie C hart
0%
7%
14%
54%
25%
C lientN S
ThirdP artyC all
S erverN S
5
D B A ccess
E TC
2. Analysis after real time modification
1. Modification
- We applied DB pool when access DB.
- We applied naming server when fault injection time
2. You can see that the result after real time modification was better than original data.
However, the gap was small. It means the two modifications did not affect failover time highly.
The failover average without real time modification: 177.6
The failover average with real time modification: 172
Failover
Fail Average
Fault-free average
Failover after realtime modification
Average after realtime modification
Failover Time
350
Failover Time
300
250
200
150
100
50
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# of fault injected
6
Download