+ All Categories
Home > Internet > Devoxx fr 2015 HAProxy

Devoxx fr 2015 HAProxy

Date post: 18-Jul-2015
Category:
Upload: nicolasgmailcom-helleringer
View: 276 times
Download: 1 times
Share this document with a friend
Popular Tags:
13
@nhelleringer #HAProxy #DevoxxFR HAProxy lvl2 : des bases au scaling
Transcript

@nhelleringer#HAProxy #DevoxxFR

HAProxy lvl2 : des bases au scaling

@nhelleringer#HAProxy #DevoxxFR

HAProxy lvl2 : des bases au scaling

@nhelleringer

Criteo

Site Reliability Engineering

Manager

@nhelleringer#HAProxy #DevoxxFR

Répartition de charge

Gatling

Apache 2

@nhelleringer#HAProxy #DevoxxFR

HAProxy

• Level 7 load balancing

• 1.5 (server side keepalived / HTTPS offloading)

•9.950 Gbps Jumbo frames

•9.2 Gbps standard frames

•100 k sessions HTTP / sec

@YourTwitterHandle@YourTwitterHandle@nhelleringer#HAProxy #DevoxxFR

Demo

@nhelleringer#HAProxy #DevoxxFR

Haute disponibilité

Gatling

Apache 2

HAProxy

HAProxy

@nhelleringer#HAProxy #DevoxxFR

KeepAlived

• Implémentation libre VRRP (HRSP)

•ARP ‘poisoning’ / gratuitous ARP

• Synchronisation des ‘routeurs’ par multicast

•Configurateur module kernel IPVS (Level 4)

• Les serveurs doivent être dans le même domaine de

broadcast

@YourTwitterHandle@YourTwitterHandle@nhelleringer#HAProxy #DevoxxFR

Demo

@nhelleringer#HAProxy #DevoxxFR

HAProxy @ Criteo

• Benché au réel à 100k QPS (HP DL360 Gen8) en HTTP

• XML/HTTP, RabbitMQ

• 4 paires par DC, plus de 200 machines clientes

• Traffic jusqu’à 2 Gbps (bonding) par noeud

@nhelleringer#HAProxy #DevoxxFR

Limitations

• L3 top of rack vs KeepAlived

• Payload : ok 10 G mais ....

• Nombre de requêtes par secondes / Limites CPU

@nhelleringer#HAProxy #DevoxxFR

Scale Out

• Client side load balancing

• DNS round robin sur paires de HAProxy

• AnyCast : bah oui tant qu’il y a du BGP ...

@YourTwitterHandle@YourTwitterHandle@nhelleringer#HAProxy #DevoxxFR

Summary

@YourTwitterHandle@YourTwitterHandle@nhelleringer#HAProxy #DevoxxFR

Q & A


Recommended