Multipurpose Local Resource Caching for Jini TM Murali Sangubhatla
Download
Report
Transcript Multipurpose Local Resource Caching for Jini TM Murali Sangubhatla
Multipurpose Local Resource
Caching for JiniTM
Murali Sangubhatla
Sagar Dalvi
Lakshman Abburi
Aim
To propose an enhanced architecture for unicast Jini environments.
Agenda
Analyze some failure points in traditional unicast Jini networks
Define our architecture goals
Step through an example of the enhanced architecture
List the issues and challenges tackled
Preliminary results and analysis
Unicast Scenario
Lookup
1
Lookup
2
Proxy 1
…
Client
Service
1
Architecture Goals
Application Independent Caching
Transparent to Client Applications
Improved Service Provider Identification
Very Useful in Unicast Discovery Environments
Pluggable Design
LUS Monitors for Recovery Automation
Global State LUS
No functionality changes to LUS etc.,
Legend
7. Check if lookup service is
alive
8. Receive confirmation
9. Initiate recovery if step 8 fails
Recovery
7
9
Lookup
Monitoring
Thread
6
4
8
3
Legend
1. Client VM queries Persistent
Daemon
2. Service proxy returned if found
3. Else Discovery of lookup
4. Lookup returns Registrar
5. Sends template of service required
6. Service proxy returned if found
1
Client
Machine
5
Persistent
Daemon
2
Issues & Challenges
Transparent Implementation
Multithreaded Persistent Daemon
Capable of Self Healing
Reduce Service Lookup Times
Reduce the probability of failures
LUS shutdown
Service in vicinity but not identified
Comparison of times taken to obtain service proxy across client restarts - w ith loaded
lookup
4500
4000
3500
3000
2500
time (msec)
2000
1500
1000
500
0
1
2
3
4
5
client restart points
w ithout persistent daemon
w ith persistent daemon
6
7
8