6 hits per minute...

32 views
Skip to first unread message

Nicolas Ocquidant

unread,
Mar 11, 2017, 12:53:13 PM3/11/17
to Netty discussions
I have started to implement a middleware in Netty. The middleware is replying to HTTP calls, but before doing it, it contacts a TCP server.

I based my work on 2 examples from the Netty folder: HttpHelloWorld* & HexDumpProxy*

Unfortunatly, it doesn't scale at all as I get only 6 hits per minute.
So I guess someting is blocking. Could you help me finding what?


Thanks a lot
--nick

Nicolas Ocquidant

unread,
Mar 12, 2017, 4:22:19 PM3/12/17
to Netty discussions
So much better right now: 4000 hits per second (source updated).

Still don't know if I need to take care of ByteBuf destruction for the ones I created manually. And also, how to "restore" the keepAlive flag from the incoming HttpRequest.

Will investigate tomorrow.
--nick


Reply all
Reply to author
Forward
0 new messages