<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    sslservlet transport - too many client requests
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/jburugupalli">Janardhan Burugupalli</a> in <i>JBoss Remoting</i> - <a href="http://community.jboss.org/message/569811#569811">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>HI All,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am using remoting 2.5.1 with JBoss 5.1.0</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I have setup sslservlet transport for my EJB2 beans. The invocation from the client side works fine.</p><p><span>Invocation URL </span><a class="jive-link-external-small" href="https://serverName:443/unified-invoker/SSLJNDIFactory/?dataType=invocation&amp;return-exception=true" target="_blank">https://serverName:443/unified-invoker/SSLJNDIFactory/?dataType=invocation&amp;return-exception=true</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>To measure performance with a server behind firewall, I made a call on the server which returns a big List with objects back to the client.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Too many server client pings with small data (maximum of 1434 bytes).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I monitored this single call with wireShark and the data is as follows</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><table border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="border: 1px solid #000000; width: 640px; height: 116px;"><tbody><tr><th align="center" style="background-color:#6690BC;;border: 1px solid #000000;background-color:#6690BC" valign="middle"><span style="color: #ffffff;"><strong>Nr</strong></span></th><th align="center" style="background-color:#6690BC;;border: 1px solid #000000;background-color:#6690BC" valign="middle"><span style="color: #ffffff;"><strong>Time(milli seconds)</strong></span></th></tr><tr><td style="border: 1px solid #000000;">1 - 60 (just for logging in)</td><td style="border: 1px solid #000000;">4.54</td></tr><tr><td style="border: 1px solid #000000;"><strong>After this method call to fetch huge data</strong></td><td style="border: 1px solid #000000;"></td></tr><tr><td style="border: 1px solid #000000;">61 (response from the huge method)</td><td style="border: 1px solid #000000;">123.47 (response after a delay of 120 seconds, I checked the server and the mthod took 93 seconds)</td></tr><tr><td style="border: 1px solid #000000;"><strong>3881 </strong>(somany exchanges from server)</td><td style="border: 1px solid #000000;">215.574</td></tr></tbody></table><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>So the initial calls 1-60 are just remoting calls for the authentication.</p><p>After that the actual method is called. After a huge delay the first response from the server us obtained. After the first response there are 3800 more exchanges between the server and the client to complete the data transfer.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I tried to use the -Dremoting.payload.size=4098 as a VM param to increase the packet size and decrease the client/server traffic, but did not work.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Is there a way to over come this problem? Appreciate any feedback.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>thanks.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/569811#569811">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Remoting at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>