users@grizzly.java.net

performance

From: bill_joe <xeenman_at_yahoo.com>
Date: Fri, 17 Apr 2009 10:58:20 -0700 (PDT)

I am new to grizzly and I created a simple client server using the Echo
examples.

On the server, I added the grizzly ReadFilter. Then I added an echo filter.

On the client, I write to the server using
TCPConnectorHandler.writeToAsyncQueue(). The client then blocks using a
BlockingQueue.
Responses are handled on the client side by a ReadFilter and another Filter
that inserts into the BlockingQueue.

If I have one client, I have a maximum of 6000 transactions per second. But
if I add more clients, the transactions per second go down.

How can I improve performance?

I am using grizzly 1.9.10
-- 
View this message in context: http://www.nabble.com/performance-tp23102751p23102751.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.