Topologies are run in my laptop:-! So time difference does not seem to be a problem.
Thanks Kashyap On Jun 14, 2015 10:54 AM, "Supun Kamburugamuve" <[email protected]> wrote: > If the bolts are running on two different nodes, those times can be > different due to the time differences between the ndoes. > > > > On Sun, Jun 14, 2015 at 11:43 AM, Kashyap Mhaisekar <[email protected]> > wrote: > >> In the Spout, a logger statement at the end of nextTuple() >> In the bolt, a logger statement at the beginning and end of execute(). >> >> I then measure the time difference between the times. >> >> Thanks >> Kashyap >> On Jun 14, 2015 9:11 AM, "Supun Kamburugamuve" <[email protected]> wrote: >> >>> Could you explain how you measured this time? >>> >>> Thanks, >>> Supun.. >>> >>> On Sun, Jun 14, 2015 at 2:44 AM, Kashyap Mhaisekar <[email protected]> >>> wrote: >>> >>>> Hi, >>>> Did anybody observe a latency of 10+ ms between a spout/bolt emit and a >>>> bolt being the message? Is this normal? Is there a way to reduce this? >>>> >>>> Thanks >>>> Kashyap >>>> >>> >>> >>> >>> -- >>> Supun Kamburugamuva >>> Member, Apache Software Foundation; http://www.apache.org >>> E-mail: [email protected]; Mobile: +1 812 369 6762 >>> Blog: http://supunk.blogspot.com >>> >>> > > > -- > Supun Kamburugamuva > Member, Apache Software Foundation; http://www.apache.org > E-mail: [email protected]; Mobile: +1 812 369 6762 > Blog: http://supunk.blogspot.com > >
