Need advice about which tool to choose?Ask the StackShare community!
AWS Elastic Load Balancing (ELB) vs Katran: What are the differences?
What is AWS Elastic Load Balancing (ELB)? Automatically distribute your incoming application traffic across multiple Amazon EC2 instances. With Elastic Load Balancing, you can add and remove EC2 instances as your needs change without disrupting the overall flow of information. If one EC2 instance fails, Elastic Load Balancing automatically reroutes the traffic to the remaining running EC2 instances. If the failed EC2 instance is restored, Elastic Load Balancing restores the traffic to that instance. Elastic Load Balancing offers clients a single point of contact, and it can also serve as the first line of defense against attacks on your network. You can offload the work of encryption and decryption to Elastic Load Balancing, so your servers can focus on their main task.
What is Katran? A high performance layer 4 load balancer. katran is a cpp library and bpf program to build high performance layer 4 load balancing forwarding plane. katran leverages XDP infrastructure from the kernel to provide in-kernel facility for fast packet's processing.
AWS Elastic Load Balancing (ELB) and Katran belong to "Load Balancer / Reverse Proxy" category of the tech stack.
Some of the features offered by AWS Elastic Load Balancing (ELB) are:
- Distribution of requests to Amazon EC2 instances (servers) in multiple Availability Zones so that the risk of overloading one single instance is minimized. And if an entire Availability Zone goes offline, Elastic Load Balancing routes traffic to instances in other Availability Zones.
- Continuous monitoring of the health of Amazon EC2 instances registered with the load balancer so that requests are sent only to the healthy instances. If an instance becomes unhealthy, Elastic Load Balancing stops sending traffic to that instance and spreads the load across the remaining healthy instances.
- Support for end-to-end traffic encryption on those networks that use secure (HTTPS/SSL) connections.
On the other hand, Katran provides the following key features:
- blazing fast (especially w/ XDP in driver mode)
- performance scaling linearly with a number of NIC's RX queues
- RSS friendly encapsulation
Pros of AWS Elastic Load Balancing (ELB)
- Easy48
- ASG integration8
- Reliability2
- Coding1
- SSL offloading0