Configuration optimizations lever list for netty

25 views
Skip to first unread message

jatinder...@gmail.com

unread,
Mar 14, 2014, 1:36:19 PM3/14/14
to ne...@googlegroups.com
Hello

I was going through netty on github and found a performance benchmark for http server on netty on https://github.com/netty/netty/pull/2274 where netty was able to process over 3000k requests per second. While i am testing http component of netty i was getting about 300K requests per second. Could you guide me on optimizations which i might have missed to get 10X less throughput (Hopefully it wont just be raw power of system hosting application)

My server which is based on netty is available on https://github.com/JatinderSingh/http-server. I am using a modified version of netty 4 where URI is replaced with AppendableCharSequence. Locations for pipeline creation is https://github.com/JatinderSingh/http-server/blob/master/src/main/java/singh/jatinder/server/PipelineFactory.java & for bootstrap config are https://github.com/JatinderSingh/http-server/blob/master/src/main/java/singh/jatinder/server/ServerInit.java
Reply all
Reply to author
Forward
0 new messages