[
http://jira.jboss.com/jira/browse/JBCACHE-800?page=comments#action_12345210 ]
Tomas Topinka commented on JBCACHE-800:
---------------------------------------
I have tried both with these results :
RMI - loading 42:23 min
TCP - loading 02:25 min
MyTCP - loading 00:15 min ( with buffered streams and reseting )
The test case was as follows :
I had 4000 object in cache, and I tried to load all these objects to the cache on the
remote machine using TCP & RMI.
Performance problem with TCP & RMI Cache loaders
------------------------------------------------
Key: JBCACHE-800
URL:
http://jira.jboss.com/jira/browse/JBCACHE-800
Project: JBoss Cache
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Cache loaders
Affects Versions: 1.4.0.SP1
Environment: All platforms
Reporter: Tomas Topinka
Assigned To: Manik Surtani
Fix For: 2.0.0, 1.4.0.SP2
Using of basic Output/Input stream leads to fatal performance problems.
Solution :
Using of BufferedOutput/InputStream in TcpDelegatingCacheLoader/TcpCacheServer as well as
in RMI increase the performace rapidly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira