directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Torrisi <>
Subject [MINA] Short or long messages for IoSession method write(...) ?
Date Mon, 02 Jan 2006 16:59:57 GMT
Hi ! I'm developing a server (p2p protocol) and I'm experiencing a lot of lag 
when users connect.
Niklas told me to avoid every blocking situation. My app is based on a mysql 
database, so he told me to use an O/R which could be Hibernate.
I used Hibernate 3.1 and performance seems to speed up... but it is not 
sufficient !

I have a question...For example when I write on a IoSession I write one 
message for time. I make a little example:

S: $Hello NickOfTheUser|
C: $GetNickList|
S: $MyINFO $ALL someuser info....|
S: $MyINFO $ALL someuser info....|

View raw message