Results 1 to 2 of 2

Thread: suggest: speed up local rmi invoke

  1. #1
    Join Date
    Sep 2004
    Posts
    3

    Default suggest: speed up local rmi invoke

    I made a 1000 loop test on local bean and RMI bean invokation:
    testAccountService:40ms
    testAccountServiceR:50ms
    testRMIAccountService:7731ms (normal object rmi service with RmiInvocationWrapper)
    testRMIAccountServiceR:1332ms (normal rmi service with Remote interface)

    R means java.rmi.Remote interface.
    it seemed that remoting invoke made great cost. so i think springframework should detect that whether the remoting service is located in same jvm, if true, local bean was derectly returned, else remote bean was returned.

  2. #2
    Join Date
    Sep 2004
    Posts
    3

    Default another test result for performance

    1000 loop test:

    testDirectAccountService:10 ---direct java call
    testDirectAccountServiceR:20
    testAccountService:40 ---factory.getBean(xxx)
    testAccountServiceR:40
    testRMIAccountService:7711 ---normal object's rmi service
    testRMIAccountServiceR:1402 ---Remote object's rmi service
    testAccountServiceHessian:4637 ---normal object's hessian service
    testAccountServiceBurlap:3726 ---normal object's hessian service
    testAccountServiceHttpinvoker:16744 ---normal object's hessian service

    here is test source:
    http://www.cnblogs.com/Files/steeven...oting-test.rar

Similar Threads

  1. Order of Bean definitions matters?
    By cfuser in forum Container
    Replies: 2
    Last Post: Oct 21st, 2005, 10:29 AM
  2. Spring container fails with no exception
    By naor in forum Container
    Replies: 9
    Last Post: Oct 1st, 2005, 03:39 PM
  3. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM
  4. Stack Overflow
    By rayho222 in forum Container
    Replies: 6
    Last Post: May 17th, 2005, 03:42 AM
  5. Replies: 8
    Last Post: Sep 17th, 2004, 06:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •