Handling large sized requests in netty with high throughput

35 views
Skip to first unread message

Kapil Aggarwal

unread,
Sep 29, 2016, 9:20:40 AM9/29/16
to Netty discussions

I am trying to upload large sized requests (streams) using netty and am trying to scale up my application. It works excellent when I put a load of upto 250 parallel users but the throughput drops drastically when the load is increased to 1000 users. The server is 4 core 16 GB machine. I am using RestExpress.

I tried with 8 boss threads and 1000 worker threads. Now, I have 2000 boss threads and 10000 worker threads.

Norman Maurer

unread,
Sep 30, 2016, 3:48:59 AM9/30/16
to ne...@googlegroups.com
You will need to provide more info then that… Also did you attach a profiler and see if you block any EventLoop thread ?

On 29 Sep 2016, at 15:20, Kapil Aggarwal <kapil.ag...@gmail.com> wrote:

I am trying to upload large sized requests (streams) using netty and am trying to scale up my application. It works excellent when I put a load of upto 250 parallel users but the throughput drops drastically when the load is increased to 1000 users. The server is 4 core 16 GB machine. I am using RestExpress.

I tried with 8 boss threads and 1000 worker threads. Now, I have 2000 boss threads and 10000 worker threads.


--
You received this message because you are subscribed to the Google Groups "Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netty+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netty/795e3695-d0ba-4a9e-b608-7b2a6deca53c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages