Hi all,

I am using mina 1.0.1 to build a multi player gaming server.
First I have to specify that Mina is great , and a great work has been done
so far.

During our usage we have tackled few issues that in my opinion should be
taken care:

1.In case clients are sending messages to the server(on load) and not
consuming(reading) the messages written from
the server - the server crashes on OutOfMemoryError , this issue can easily
fixed by setting the setWriteTimeout, 
I think that there should be a default value - to keep the server from
crashing.

2. Throttling - I think there should be out of the box Throttling for both
read&writes( I know there is ony ReadThrottleFilterBuilder) - this is highly
important to avoid the OutOfMemoryError -> the write Throttling is also
important because if clients cant consume the messages in the same rate of
the server- you can easily get OutOfMemoryError.

3. Throttling - It is also a good idea to add to the Throttling filters
global memory(across all active sessions) thresholds and not only per
session threshold.

When the project will be finished I will be happy to update here with some
performance results and design issues we came across.

Thanks,
Haviv Rosh
-- 
View this message in context: 
http://www.nabble.com/Some-Suggestions-tf3426416.html#a9550198
Sent from the mina dev mailing list archive at Nabble.com.

Reply via email to