Top Banner
Optimización Servidor Web David Muñoz @dperilla
13

Optimización Servidor Web

Jun 03, 2015

Download

Internet

quaip

Presentación de David Muñoz para el webinar gratuito en openwebinars.net
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Optimización Servidor Web

Optimización Servidor Web

David Muñoz @dperilla

Page 2: Optimización Servidor Web

¿Quién soy?• David Muñoz - CEO Quaip Solutions SL

• @dperilla en twitter

• VoipEngineer con Asterisk / Kamailio desde 2003

• SysAdmin Linux desde 1999

• Formador online de Asterisk, Virtualización y Linux desde 2007

Page 3: Optimización Servidor Web

Características clave

Page 4: Optimización Servidor Web

Balanceo de Carga

Failover

Cache en memoria

Replicación de datos

Evitar POFs (Point of failure)

Características clave

Page 5: Optimización Servidor Web

BalanceadoresBalanceadores software

Haproxy

LVS

Balanceadores hardware

Productos F5

Netscaler

Page 6: Optimización Servidor Web

Servidores Web

Apache

Nginx

Cherokee

Lighthttpd

Page 7: Optimización Servidor Web

Almacenamiento

Nfs

ISCSI

GlusterFS

DRBD + OCFS2

Page 8: Optimización Servidor Web

GlusterFs

Page 9: Optimización Servidor Web

Cluster

Page 10: Optimización Servidor Web

listen http_proxy 0.0.0.0:80! mode http balance leastconn # Load Balancing algorithm option httpchk GET / HTTP/1.0! server tub02 10.0.0.15:80 weight 60 cookie srv02 check backup server tub01 10.0.0.17:80 weight 40 cookie srv01 check!listen rtmp :1935 mode tcp balance roundrobin server tubfms02.voipystream.com 10.0.0.11:1935 check server tubfms01.voipystream.com 10.0.0.8:1935 check

Ejemplo básico Haproxy

Page 11: Optimización Servidor Web

Trucos

Scripts con Rsync

Cloudflare DNS en tiempo real

+ Simple - Fallos

Crecimiento siempre horizontal

Page 12: Optimización Servidor Web

Stats Haproxy

Page 13: Optimización Servidor Web

Gracias!@dperilla