Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic


Gayatri Shende
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to implement a time syncronization algorithm in distributed systems.
I have multiple machine on LAN which run time daemon. One of them is configured to be time master. Others are slave. Master asks all other for their current time. It calculates the average time and sends back the time to all others. All then adjust their time. This is the berkeley syncronization algorithm.

while making RMI call to all slaves to ask for time , how can I store the responses from esch slave? Do I need to implement call back functionality ? I am not getting the structure of the code.

PLease help. HOw to structure my master daemon code ?

Thanks in advance

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic