Load Balancing Options: Nginx vs. HAProxy vs. AWS ELB

Algorithm Options

  • HAProxy supports Round-Robin, Least Connection, Weighted and more. It has the most options.
  • Nginx supports Round-Robin and Weighted only.
  • AWS ELB only supports Round-Robin.

Monitoring

  • Nginx can be monitored by any log monitor, like Nagios.
  • HAProxy includes a built-in log monitors like Nagios.
  • AWS ELB is supported by CloudWatch.

Performance

  • ELB has the best performance.
  • HAProxy is better with small load (less than 30 connections).
  • Nginx is better with heavy load.

Popular posts from this blog

How to delete / clear queue of PowerMTA