title: Netty vs Nginx: Pros and Cons based on Performance, Memory Management, Memory Footprint
body: <p>Question: What are the Pros and Cons of Nginx and Netty for using building a Proxy Server.</p>
  
  <p>Elaborating the problem:</p>
  
  <p>We are trying to implement a proxy server (forward or reverse proxy) which is placed in front of a service and takes care of good practices that can be applied on our services.</p>
  
  <p>So we are evaluating different solutions that are available in the market mainly Nginx and Netty. So when we initially did our research on Nginx, we came across a good amount of positive blogs which suggested that Nginx is very fast, easily configurable by writing the custom modules to plugin to Nginx.</p>
  
  <p>But when we did a POC on Netty, we got much better performance numbers while using Netty 4. So I would like to know if some one have performed some comparison between Nginx and Netty and also what are the reasons for not using Netty as a reverse/forward proxy solution. We are worried on GC problems associated with Java Server solutions hence we want to know the Pros and Cons of Nginx and Netty before going ahead with a solution.</p>
  
  <p>Thanks,
  Vinay.</p>