Salut,
bill_joe wrote:
> 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.
Can you share the code for both client and server? Are you using the
same TCPSelectorHandler on both side? Also, what kind of machine are you
running on? Number of CPU, JDK version, etc.
Let's start having fun :-)
Thanks!
-- Jeanfrancois
>
> How can I improve performance?
>
> I am using grizzly 1.9.10