-
1. Re: Hotrod client performance
jacob1111 Sep 14, 2012 5:59 PM (in response to chavarao)Hi Nag,
I am very interested to setup such a benchmark as well.
I was able to setup a hotrod local cluster, but could not
set up a remote one.
What did you do to set up hotrod remote cluster?
How did you start the server?
How did you start the client?
What XML files did you change?
I could not find any place with consistent description of this procedure.
Once I set it up I will run put and get benchmarks
to measure the replication performance.
Best regards,
Jacob Nikom
-
2. Re: Hotrod client performance
chavarao Sep 18, 2012 10:31 PM (in response to jacob1111)Hi Galder,
Can you please let me know how to trace it where the performance is?
Thanks
Chava
-
3. Re: Hotrod client performance
jacob1111 Sep 27, 2012 11:08 AM (in response to chavarao)Hi Nag,
I was able to setup Infinispan cluster for embedded and HotRod access modes.
Yes, the performance is different. It is also different if you ran the HotRod server
on remote or local machine.
I found about 50% difference in performance:
Here are the data (use fixed size fonts to see the fiormatting):
Two clients, two remote HotRod Infinispan servers, two nodes
+-----------------------+------------+-----------+-----------+
| Number of inserted | Object | Object | Object |
| and retrieved objects | size 0.1K | size 1K | size 10K |
| | (sec) | (sec) | (sec) |
+-----------------------+------------+-----------+-----------+
| 1000 | 2.226 | 2.438 | 2.797 |
| 10000 | 12.457 | 12.662 | 14.999 |
| 100000 | 54.778 | 57.963 | 73.021 |
| 1000000 | 466.090 | 495.431 | 624.543 |
+-----------------------+------------+-----------+-----------+
Two local clients, one local HotRod Infinispan server, one node
+-----------------------+------------+-----------+-----------+
| Number of inserted | Object | Object | Object |
| and retrieved objects | size 0.1K | size 1K | size 10K |
| | (sec) | (sec) | (sec) |
+-----------------------+------------+-----------+-----------+
| 1000 | 0.917 | 1.178 | 1.244 |
| 10000 | 4.811 | 4.786 | 5.711 |
| 100000 | 25.696 | 26.379 | 36.461 |
| 1000000 | 215.771 | 238.529 | 337.343 |
+-----------------------+------------+-----------+-----------+
-
4. Re: Hotrod client performance
mircea.markus Oct 2, 2012 1:39 PM (in response to jacob1111)when the embedded mode test was run, were the nodes colocated?
-
5. Re: Hotrod client performance
jacob1111 Oct 2, 2012 5:54 PM (in response to mircea.markus)Hi Mircea,
Thank you for your reply.
In case of two clients, two remote HotRod Infinispan servers and
two nodes those nodes were different computers. The replication
between remote HotRod servers happened through the network
(1GigE), NOT through the local interface 127.0.0.1
Here is the depiction of the architecture for two clients two local ispn servers and two nodes.
Here is the architecture for two clients two embed ispn servers and two nodes.
Here is the architecture for two clients one local ispn server and one node.
Here is the architecture for two clients one embed ispn servers and one node.
Here are two graphs comparing performance if the first two and the last two
architectures.
Best regards,
Jacob Nikom
-
6. Re: Hotrod client performance
chavarao Oct 3, 2012 9:33 PM (in response to jacob1111)Hi Jacob,
I am actually thinking of using two hotrodservers and 2 or more Hot rod clients.
I am thinking about creating my own balanacing strategy and use replciation mode . My balancing strategey on HR client will go to first local server and if its not available go to second server( which is different machine).
Hi Mircea,
Do you see any problem with it?
Thanks
Nag
-
7. Re: Hotrod client performance
chavarao Oct 9, 2012 11:40 PM (in response to chavarao)I havent tried yet but any one see a problem ?
-
-
9. Re: Hotrod client performance
chavarao Oct 12, 2012 7:08 PM (in response to jacob1111)Jacob,
I was thinking using replication .
I am only thinking changing hotrod client so
That instead of using round robin it will
Use custom BL Strategy which will always
Connect to my preferred node .
-
10. Re: Hotrod client performance
jacob1111 Oct 12, 2012 7:32 PM (in response to chavarao)Don't you think that distribution mode wilk be better?
Best regards,
Jacob