"timfox" wrote : "jmesnil" wrote :
| | A fix would be to keep the connection in the connections when RemotingServiceImpl.connectionDestroy() is called and let the FailedConnectionTask a chance to clean up after that.
| |
|
| +1.
|
| How come ClientCrashTest passes though?
|
| anonymous wrote :
| |
| | ClientCrash is being killed without closing the socket. So, we would miss a ping-pong, and we would identify the crash.
| |
| | However when you CTRL-C, the socket is being closed (maybe by Shutdown Hooks on the VM???), and we (Netty, Mina?) are treating that event in a different way.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212046#4212046
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212046
"jmesnil" wrote :
| A fix would be to keep the connection in the connections when RemotingServiceImpl.connectionDestroy() is called and let the FailedConnectionTask a chance to clean up after that.
|
+1.
How come ClientCrashTest passes though?
anonymous wrote :
| One thing I don't understand: why is a connection detected as failed by the ConnectionFailedTask not removed from the connections?
|
What is ConnectionFailedTask?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212024#4212024
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212024
I just did one quick, changing the size of the string locally.
private final String str = "This is a standard size string";
Time WriteUTF = 463
| Time WriteUTF = 356
| Time WriteUTF = 316
| Time WriteUTF = 350
| Time WriteUTF = 288
| Time readUTF = 580
| Time readUTF = 534
| Time readUTF = 541
| Time readUTF = 537
| Time readUTF = 536
| time NewUTF = 241
| time NewUTF = 237
| time NewUTF = 245
| time NewUTF = 245
| time NewUTF = 244
| spentTime readUTFNew = 340
| spentTime readUTFNew = 335
| spentTime readUTFNew = 334
| spentTime readUTFNew = 333
| spentTime readUTFNew = 337
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211980#4211980
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211980
"timfox" wrote : Maybe you should explain what those numbers mean?
|
| Just posting a list of numbers doesn't really help us.
Test very similar to the initial post:
WriteUTF = Time writing UTF as they are now
ReadUTF = Time reading UTFs as they are now
time NewUTF = Time writing UTF with the new code (UTFUtil)
spentTime readUTFNew = Time reading UTF with the new code (UTFUtil)
Time to complete reading or writing 1.000.000 strings. (ignoring the first 10K)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211961#4211961
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211961