peter royal wrote:
On Jul 5, 2007, at 2:05 AM, gh_aiyz wrote:
I'm developing a server based on mina 1.03 .......... but now the performance is very bad while opening/closing connections frequently. My server is designed for web page-view statistic, so it must support frequent connection opening/closing, and a throughput of 10000 times / second is expected.

Did I do anything wrong?? or is it a problem of mina? I need your help...

Alas, MINA does not perform the best when you do frequent setup/teardown of connections, due to the latency it involves on the MINA side in the context switch between the acceptor thread and the processing threads. We'd like to address this for 2.0, but don't have any code written on it yet. If you want to help, that'd be great! :)

I have a related problem. We have just started load testing one of our simple servers. Nothing fancy, no tuning done as of yet, using MINA 1.1.0.

When our load testing script generates incoming connections rapidly, our server starts refusing connections after 400 connections. When it's done at a slower pace we start to get refused connections after 800 established ones. I have one suspicion, but I'd like to confirm if someone can tell me directly what's causing this behaviour?

- Eero Nevalainen

Reply via email to