rendimiento: persiguiendo al conejo blanco
DESCRIPTION
El rendimiento es sexy y muchas veces aparece rodeado de una especie de halo místico como si se tratase de magia negra... En esta sesión expondré las técnicas más comunes para localizar problemas de rendimiento (y de algún otro tipo), poniendo en duda algunos mitos, como el de que Drupal no escala, y compartiendo experiencias reales. No esperes la manida receta Varnish+Memcached, porque aunque hoy en día sigue siendo el "Workhorse", y la comentaremos, no trataremos de resolver el problema del rendimiento en general sino de como localizar y solucionar tus problemas de rendimiento. Tampoco esperes soluciones mágicas NoSQL, a no ser que las traiga algún asistente (patches welcome!)... pero tranquilo, es más que posible que no las necesites. Y sobre todo no esperes soluciones "cloud", la nube tiene un papel (sobre todo en la escalabilidad y ante bruscas variaciones de demanda)... pero aún le queda mucha vida a la "Edad del hierro".TRANSCRIPT
![Page 1: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/1.jpg)
Persiguiendo alconejo blanco
http://creativecommons.org/licenses/by-sa/3.0/es/
![Page 2: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/2.jpg)
Pedro González Serrano (aka NITEMAN)
Consultor de rendimiento y procesosAdministrador de sistemas
8,5 años con Drupal
Miembro de la AED
@NITEMAN_es http://niteman.es
![Page 3: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/3.jpg)
Disculpensi les llamo caballeros,pero es que
no les conozcomuy bien
![Page 4: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/4.jpg)
Ren
dim
ient
o 10
1
![Page 5: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/5.jpg)
You $exy thingHerramientasPersonasMomentos
![Page 6: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/6.jpg)
No myths (not today)
FrontendNoSQLNo silver bullets
![Page 7: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/7.jpg)
The Holly Grenade of Antioch
APCVarnishMemcachedSolr[Pressflow]
![Page 8: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/8.jpg)
Consultoría de rendimiento¡GRATIS!
![Page 9: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/9.jpg)
Consultoría de rendimiento¡GRATIS!
¡ACTIVA LA CACHÉ DE VIEWS!
* visto en twitter (no he sido capaz de encontrar el tweet)
![Page 10: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/10.jpg)
¡Qué le corten la cabeza!
![Page 11: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/11.jpg)
types of bunnies
Sistémico / focalizadoChesires (problemas que vienen y van)Wild things (Laboratorio / Producción)
![Page 12: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/12.jpg)
Bisecting
Network (latency/DNS)Static/dinamic (sizes)
Dinamic (PHP/MySQL)Get a baseline
![Page 13: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/13.jpg)
Dow
nthe rabbit hole
![Page 14: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/14.jpg)
Sr. Conejo
Triaje:
¿Hay session? ¿Otras cookies? Client side Server side Forzar un 403 Forzar un 404 /admin
![Page 15: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/15.jpg)
La edad del hierro
![Page 16: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/16.jpg)
Por un puñadode queries
![Page 17: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/17.jpg)
Cegado por el Solr
![Page 18: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/18.jpg)
El expreso demedia noche
![Page 19: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/19.jpg)
preguntas /cuestiones@NITEMAN_es http://niteman.es
![Page 20: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/20.jpg)
¡Hasta luego y gracias por el pescado!
http://bit.ly/NITEMAN-conejo
![Page 21: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/21.jpg)
Algunas referencias “útiles”[ Performance Lab, DrupalCon Praga 2013 ]:(herramientas slides 5-7)
https://docs.google.com/presentation/d/1y0AQVOSE5qQpxq82k0a5Gzwt0ZZYgFVIrWTeylI_V-U/edit#slide=id.ge7d04af6_04
[ Beat the devil, Drupal Developer Days 2012 ]:(herramientas slides 36, 39, 43 & 46)
http://www.slideshare.net/niteman_es/beat-the-devil-towards-a-drupal-performance-benchmark
https://vimeo.com/79375711
[ Rendimiento Drupal. DrupalDay Barcelona 2011 ]:(herramientas slide 8)
http://www.slideshare.net/niteman_es/rendimiento-drupal-8364191
![Page 22: Rendimiento: Persiguiendo al conejo blanco](https://reader033.vdocuments.pub/reader033/viewer/2022051109/547c2ed1b4af9fef158b502d/html5/thumbnails/22.jpg)
Créditos Imágenes [Portada]: https://www.flickr.com/photos/87792096@N00/13457906303/
[Groucho]: http://www.flickr.com/photos/23495784@N08/3118310110/
[101]: https://www.flickr.com/photos/wadem/2317015231/
[Sexy]: http://commons.wikimedia.org/wiki/File:Halloween_rabbit_costume_Vancouver_2007.jpg
[NoMyths]: https://www.flickr.com/photos/omnitographer/6932759377/
[Grenade]: http://www.badassoftheweek.com/badass-rabbitappears.jpg
[Gratis]: http://www.entertainmentearth.com/prodinfo.asp?number=TYV15025
[Cabeza]: https://www.flickr.com/photos/gertcha/298663520/
[Types]: http://2013.drupalday.es/galeria
[Bisecting]: http://behindinfinity.deviantart.com/art/Curiouser-and-Curiouser-156785254
[Follow]: https://www.flickr.com/photos/neeravbhatt/8715264795/
[Sr.Conejo]: https://www.flickr.com/photos/rvr/9134487073/
[Hierro]: http://commons.wikimedia.org/wiki/File:The_White_Rabbit_(Alice's_Adventures_in_Wonderland).jpg
[Queries]: http://wamiba.deviantart.com/art/Conejo-blanco-frontal-White-rabbit-front-279604733
[Cegado]: http://www.deviantart.com/art/sketch-265513962
[Expreso]: http://akusesu.deviantart.com/art/It-is-Time-117554565
[Preguntas]: https://www.flickr.com/photos/omnitographer/5414816643/