commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-commons-sandbox/altrmi PROPOSAL
Date Fri, 18 Jan 2002 20:11:29 GMT
hammant     02/01/18 12:11:29

  Modified:    altrmi   PROPOSAL
  Log:
  new performance figures
  
  Revision  Changes    Path
  1.7       +30 -19    jakarta-commons-sandbox/altrmi/PROPOSAL
  
  Index: PROPOSAL
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/altrmi/PROPOSAL,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- PROPOSAL	18 Jan 2002 11:03:20 -0000	1.6
  +++ PROPOSAL	18 Jan 2002 20:11:29 -0000	1.7
  @@ -38,33 +38,44 @@
       Speed Test type                   Count Relative
       ------------------------------- ------- -------- 
       
  -    *AltRMI types*
  -    
  -    a) ObjectStream over sockets #2    1472     1.00
  -    b) Over RMI                        3338     2.30
  -    c) CustomStream over sockets       4717     3.20    
  -    d) ObjectStream over Pipe #2       8243     5.59
  -    e) ObjectStream over sockets #1    8865     6.02
  -    f) ObjectStream over Pipe #1      64789    44.01
  -    g) Direct #3                    2309432  1568.90
  +    AltRMI types over TCP/IP
  +    ------------------------
  +    - For remote publication
  +    
  +    a) ObjectStream over sockets #2    2702     1.00
  +    b) Over RMI                        4359	1.61
  +    c) CustomStream over sockets       6069     2.25
  +    d) ObjectStream over sockets #1   10088     3.73
  +    
  +    AltRMI types in the same VM
  +    ---------------------------    
  +    - These are useful for complete classloader separation
  +      of interface & impl using different classloaders. Impl
  +      and 'remote' proxy do not need to see the same 
  +      interfaces etc..
  +    
  +    e) ObjectStream over Pipe #2      12095     4.48
  +    f) ObjectStream over Pipe #1      61166    22.64
  +    g) Direct #3                    2391498   885.08
       
       #1 Without calling reset() as workaround to the ObjectStream bug
       #2 With calling reset() as workaround to the ObjectStream bug
       #3 Marshalled but not streamed.  Still as good as DynamicProxy
       for separation.         
       
  -    *Non AltRMI types*
  -    
  -    (In VM, without using AltRMI - for comparison)    
  -    
  -    h) DyanmicProxy #4, #5
  -       (copied from Excalibur)     20282070 13778.58
  -    i) Hand-coded proxy #4, #5     41214422 27998.92
  -    j) No Proxy #4, #5             42384804 28794.02    
  +    Non AltRMI types
  +    ----------------
  +    - In VM, without using AltRMI - for comparison.
  +    - The inteface, impl and proxy cannot be separated in terms of
  +      branches of classloader for these three. The same interfaces 
  +      etc must be visible to both impl and proxy.
  +    
  +    h) DyanmicProxy #4
  +       (copied from Excalibur)     20282070  7506.32
  +    i) Hand-coded proxy #4         41214422 15253.30
  +    j) No Proxy #4                 42384804 15686.46
       
       #4 - For all of these three, the actual timing may slow down the test.
  -    #5 - The inteface, impl and proxy cannot be separated in terms of
  -    branches of classloader for these three. 
       
   4) Interface/Impl separated design.
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message