> El 5/3/2015, a las 18:45, hjh <[email protected]> escribió: > > Hi, I need to know exact time delay in storm. For example, I have a topology > like SpoutA->BoltB>BoltC. First I collect the time when SpoutA emit the > tuple, and then in BoltB and BoltC, each will collect the time when the new > tuple arrives and when the tuple is emitted to the next tuple. In this way, I > can get t-SpoutA-Emit, t-BoltB-NewTuple, t-BoltB-Emit, t-BoltC-NewTuple and > t-BoltC-Emit. Then the process delay and the transmit delay can be > calculated. How ever when I use this method to get the delays, some delays > are negative. For example t-BoltC-NewTuple minus t-BoltB-Emit may be > negative. I use System.currentTimeMillis() to record time. Can anybody help > to figure out why this happens?
Hi there, We have experienced this on EC2, where we are seeing increasing processing time over the time in a linear increase. Just use NTP to sync all your supervisors, and you will be mostly fine (we do have a cron job each hour). Cheers, Guillermo
signature.asc
Description: Message signed with OpenPGP using GPGMail
