Since you’d be measuring remoting there, on the boundary between nodes,
I highly recommend making use of its “new” (has been out there quite a few
months)
implemenation: Artery, see docs here:
https://doc.akka.io/docs/akka/2.4/scala/remoting-artery.html

-- 
Cheers,
Konrad 'ktoso <http://kto.so>' Malawski
Akka <http://akka.io/> @ Lightbend <http://lightbend.com/>

On December 16, 2017 at 17:05:37, [email protected] (
[email protected]) wrote:

I am interested in throughput (msg/s) and latency (us).
As shown in this diagram, Actors will be running in different JVM's on
different machines.
Messages will be remote and serialization/deserialization will be included.
In this diagram, Actor B acts as supervisor and one of the role it plays as
to validate (domain specific validations) all the messages it receives and
forwards it to Actor C.

Currently my benchmark looks like this CommandServiceBenchmark.scala
<https://github.com/tmtsoftware/csw-prod/blob/master/csw-benchmark/src/main/scala/csw/services/ccs/jmh/CommandServiceBenchmark.scala>
which
waits for acknowledgment from Actor C to Actor A.
Eventually this benchmark will support running actors in different JVM's.

Ideally what I want is my timer clock should start at Actor A when it sends
message to Actor B and clock should stop when Actor C receives message.

<https://lh3.googleusercontent.com/-kQ4WWn4lDCc/WjVB9fJYDYI/AAAAAAAAAWA/p1wnqvhQ7WkOGSBhvynPo9J9y_q4ed9FwCLcBGAs/s1600/Untitled%2BDiagram%2B%25282%2529.jpg>










On Saturday, December 16, 2017 at 1:09:42 PM UTC+5:30, √ wrote:
>
> Also, is serialization/deserialization included? At what point does the
> timer clock start, and when does it stop?
>
> --
> Cheers,
> √
>
> On Dec 15, 2017 20:31, "Patrik Nordwall" <[email protected]> wrote:
>
>> What are you interested in? Throughput (msg/s) or latency (us)? Remote or
>> local? What will the results of the benchmarks be used for?
>>
>> /Patrik
>> fre 15 dec. 2017 kl. 12:23 skrev Akka Team <[email protected]>:
>>
>>> I think the floodPipe benchmark may do what you want, commented out but
>>> you could easily uncomment and run locally:
>>>
>>> https://github.com/akka/akka/blob/master/akka-bench-jmh/
>>> src/main/scala/akka/actor/ForkJoinActorBenchmark.scala#L92
>>>
>>> --
>>> Johan
>>> Akka Team
>>>
>>> On Fri, Dec 15, 2017 at 11:20 AM, <[email protected]> wrote:
>>>
>>>> Ok, I just looked at TellOnlyBenchmark.scala
>>>> <https://github.com/akka/akka/blob/master/akka-bench-jmh/src/main/scala/akka/actor/TellOnlyBenchmark.scala>
>>>>  closely and it just drops all the message and does not take into
>>>> consideration of time taken by message to reach receiving actor.
>>>>
>>>>
>>>> On Friday, December 15, 2017 at 2:54:55 PM UTC+5:30,
>>>> [email protected] wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> I want to measure a performance of following use case using jmh.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> <https://lh3.googleusercontent.com/-uapjVYoC9Hw/WjOUTKRGMRI/AAAAAAAAAVo/I31SCM88jicNb5icl04Cc3171k9G-eMegCLcBGAs/s1600/Untitled%2BDiagram%2B%25281%2529.jpg>1.
>>>>> Actor A sends Msg A to Actor B
>>>>> 2. On receiving Msg A, Actor B sends Same Msg A to Actor C
>>>>>
>>>>> I just want to measure performance of Msg A from Actor A reaching to
>>>>> Actor C (Do not want to consider acknowledgment).
>>>>> Is there any way i can measure this performance?
>>>>>
>>>>> I was going through Akka jmh benchmarks and found this
>>>>> TellOnlyBenchmark.scala
>>>>> <https://github.com/akka/akka/blob/master/akka-bench-jmh/src/main/scala/akka/actor/TellOnlyBenchmark.scala>
>>>>>
>>>>> But not sure it just measures the performance of sending messages or
>>>>> it considers time required to reach message to Echo Actor?
>>>>>
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>> --
>>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>>> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
>>>> current/additional/faq.html
>>>> >>>>>>>>>> Search the archives: https://groups.google.com/
>>>> group/akka-user
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Akka User List" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at https://groups.google.com/group/akka-user.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
>>> current/additional/faq.html
>>> >>>>>>>>>> Search the archives: https://groups.google.com/
>>> group/akka-user
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Akka User List" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
>> current/additional/faq.html
>> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Akka User List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups
"Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to