Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
VSANYWHERE.COM @VS_ANYWHERE
Validando la escalabilidad y rendimiento de
la arquitectura
Luis Fraile – MVP Visual Studio ALM
VSANYWHERE.COM @VS_ANYWHEREVSANYWHERE.COM @VS_ANYWHERE
lfraile@lfraile.net
MVP Visual Studio ALM
@lfraile
Luis Fraile
VSANYWHERE.COM @VS_ANYWHERE
Hoy hemos visto
VSANYWHERE.COM @VS_ANYWHERE
¿pero va a funcionar?
VSANYWHERE.COM @VS_ANYWHERE
Volvemos al principio
VSANYWHERE.COM @VS_ANYWHERE
Que vamos a necesitar
VSANYWHERE.COM @VS_ANYWHERE
VSANYWHERE.COM @VS_ANYWHERE
Un experimento
Microsoft y Google experimentaron a introducir delays
artificialmente
Cambios:
...
VSANYWHERE.COM @VS_ANYWHERE
¿Qué son las pruebas de carga?
Carga:
¿como responderá mi
aplicación ante la carga
esperada?
R...
VSANYWHERE.COM @VS_ANYWHERE
Pruebas de rendimiento Visual Studio
Web Test //
Test unitarios
Load Test
Entorno de
pruebas
VSANYWHERE.COM @VS_ANYWHERE
Web Test y Load Test
Web Test
Capa HTTP
Lista de las solicitudes y
recopilación de datos de ti...
VSANYWHERE.COM @VS_ANYWHERE
Planificación
Preparación
Ejecución
Estrategia Pruebas
Instalación
Herramientas
Entorno Prueba...
VSANYWHERE.COM @VS_ANYWHERE
Despliegue de
agentes
Instalación hardware
Aprovisionamiento de
equipos
Si bien puede ser:
Inf...
VSANYWHERE.COM @VS_ANYWHERE
Sólo pagamos por la
infraestructura
cuando la usamos
(recursos)
No necesitamos
infraestructura...
VSANYWHERE.COM @VS_ANYWHERE
Load Testing +
Cloud
DEMO
VSANYWHERE.COM @VS_ANYWHERE
¿Qué necesito?
Visual Studio Ultimate y cuenta en Visual Studio Online
Aplicación accesible de...
VSANYWHERE.COM @VS_ANYWHERE
Monitorizar
Define
Desarrolla MonitorizarImplementar
Ciclos acortados
VSANYWHERE.COM @VS_ANYWHERE
La importancia de monitorizar
Validar el entorno ante los cambios
Funcionales
Carga de usuario...
VSANYWHERE.COM @VS_ANYWHERE
Application insights
Paneles de estado
Personalizables con la
información que necesitamos
Usag...
VSANYWHERE.COM @VS_ANYWHERE
Integración con pruebas de carga
VSANYWHERE.COM @VS_ANYWHERE
Dificultades con Application Insights
Dos versiones
Visual Studio Online
Azure (Ibiza)
Aún en ...
VSANYWHERE.COM @VS_ANYWHERE
New Relic
Totalmente integrada en Azure
Disponibilidad para casi todo tipo de servicios
Es de ...
VSANYWHERE.COM @VS_ANYWHERE
Application Insights +
Load Testing
DEMO
VSANYWHERE.COM @VS_ANYWHERE
Conclusiones
La arquitectura es la base de la evolución del software, pero hay que
validarla e...
VSANYWHERE.COM @VS_ANYWHERE
Preguntas
!!! Gracias !!!
lfraile@lfraile.net
TWITTER
@lfraile
https://www.desarrollaconmicrosoft.com/dotnetspain2015
Upcoming SlideShare
Loading in …5
×

Validando la escalabilidad de la arquitectura

673 views

Published on

¿Validas correctamente la arquitectura y escalabilidad de tus aplicaciones´en la nube?
Si no lo haces, deberías de empezar ya a hacerlo, vamos a ver que herramientas disponemos en Visual Studio Online, como Cloud Load Testing y monitorización con App Insights

Published in: Software
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/qURD } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/qURD } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download doc Ebook here { https://soo.gd/qURD } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Validando la escalabilidad de la arquitectura

  1. 1. VSANYWHERE.COM @VS_ANYWHERE Validando la escalabilidad y rendimiento de la arquitectura Luis Fraile – MVP Visual Studio ALM
  2. 2. VSANYWHERE.COM @VS_ANYWHEREVSANYWHERE.COM @VS_ANYWHERE lfraile@lfraile.net MVP Visual Studio ALM @lfraile Luis Fraile
  3. 3. VSANYWHERE.COM @VS_ANYWHERE Hoy hemos visto
  4. 4. VSANYWHERE.COM @VS_ANYWHERE ¿pero va a funcionar?
  5. 5. VSANYWHERE.COM @VS_ANYWHERE Volvemos al principio
  6. 6. VSANYWHERE.COM @VS_ANYWHERE Que vamos a necesitar
  7. 7. VSANYWHERE.COM @VS_ANYWHERE
  8. 8. VSANYWHERE.COM @VS_ANYWHERE Un experimento Microsoft y Google experimentaron a introducir delays artificialmente Cambios: Menor satisfacción de usuario (1% aprox.) Menor volumen de uso de servicios Cuando volvieron al rendimiento habitual: El volumen de uso de servicios no volvió al anterior
  9. 9. VSANYWHERE.COM @VS_ANYWHERE ¿Qué son las pruebas de carga? Carga: ¿como responderá mi aplicación ante la carga esperada? Rendimiento: ¿cómo de rápida funcionará mi aplicación? Stress : ¿cuál es el punto de rotura de mi aplicación en carga de usuarios? Capacidad: ¿podremos escalar hasta la carga futura?
  10. 10. VSANYWHERE.COM @VS_ANYWHERE Pruebas de rendimiento Visual Studio Web Test // Test unitarios Load Test Entorno de pruebas
  11. 11. VSANYWHERE.COM @VS_ANYWHERE Web Test y Load Test Web Test Capa HTTP Lista de las solicitudes y recopilación de datos de tiempo No ejecuta script Generación de carga en un servidor No se interacciona con navegador Load Tests Tests a ejecutar Patrón carga de usuarios Mezcla de usuarios y tests Simulación de red Simulación user-agents Configuración de ejecución Contadores rendimiento
  12. 12. VSANYWHERE.COM @VS_ANYWHERE Planificación Preparación Ejecución Estrategia Pruebas Instalación Herramientas Entorno Pruebas + Datos Diseño Casos de Prueba Estrategia Pruebas Configuración Monitores Scripting Smoke Test Línea Base Soak Test Pruebas Carga Otros Stress Informe Final Pruebas de Rendimiento Análisis+Cambios+ Informes •Establecer expectativas •Planificación del proyecto •Descripción del entorno •Identificación responsables •Descripción de los escenarios de pruebas •Descripción de los casos de prueba •Descripción de los monitores •Documento “vivo” Entorno Pruebas + Datos •Configuración Entono de pruebas (pre-prod) •Carga de datos Instalación Herramientas •Herramientas de pruebas de carga •Herramientas de monitorización de sistemas •Otras herramientas (reporting...) Diseño Casos de Prueba •Transacciones •Validaciones de imágenes y texto •Juegos de datos Configuración Monitores •Selección de las métricas “potencialmente interesantes” •Selección de métricas avanzadas Scripting •Convertir los casos de prueba en scripts automatizados •La complejidad varia en función de la herramienta seleccionada Smoke Test •Verificar las fases anteriores •No aporta valor al proyecto continuar si esta fase no se completa correctamente Línea Base •Establecer un estándar de comparación inicial •Si el rendimiento no es bueno, no se debe continuar con otros tipos de pruebas Pruebas de Rendimiento •Proceso iterativo •Mínimo 2 iteraciones SOAK Test Pruebas Carga Otros Stress •Prueba opcional •Solo si todas las pruebas anteriores son satisfactorias Informe Final •Sumario de las pruebas ejecutadas, problemas encontrados y soluciones aportadas •Detallar en exceso cada escenario de pruebas ejecutado no aporta valor •Se mantienen y ejecutan durante toda la vida de la aplicación
  13. 13. VSANYWHERE.COM @VS_ANYWHERE Despliegue de agentes Instalación hardware Aprovisionamiento de equipos Si bien puede ser: Infraestructura de load testing on-premises     En muchas ocasiones es lo que necesitamos …
  14. 14. VSANYWHERE.COM @VS_ANYWHERE Sólo pagamos por la infraestructura cuando la usamos (recursos) No necesitamos infraestructura propia Los proyectos de Load Testing On- Prem son compatibles Mucha mayor escalabilidad Beneficios Cloud Load Testing
  15. 15. VSANYWHERE.COM @VS_ANYWHERE Load Testing + Cloud DEMO
  16. 16. VSANYWHERE.COM @VS_ANYWHERE ¿Qué necesito? Visual Studio Ultimate y cuenta en Visual Studio Online Aplicación accesible desde internet Se puede usar IP Range para aplicaciones detrás de firewall 15,000 minutos-usuario por mes http://blogs.msdn.com/b/vsoservice/
  17. 17. VSANYWHERE.COM @VS_ANYWHERE Monitorizar Define Desarrolla MonitorizarImplementar Ciclos acortados
  18. 18. VSANYWHERE.COM @VS_ANYWHERE La importancia de monitorizar Validar el entorno ante los cambios Funcionales Carga de usuarios Responder a problemas Anticipar problemas No sólo problemas Investigar tendencias de usuarios Toma de decisiones en inversión en aplicaciones
  19. 19. VSANYWHERE.COM @VS_ANYWHERE Application insights Paneles de estado Personalizables con la información que necesitamos Usage Dashboards Patrones de uso de los usuarios de las aplicaciones Notifications Alertas vía email
  20. 20. VSANYWHERE.COM @VS_ANYWHERE Integración con pruebas de carga
  21. 21. VSANYWHERE.COM @VS_ANYWHERE Dificultades con Application Insights Dos versiones Visual Studio Online Azure (Ibiza) Aún en preview Diferencias de funcionalidades entre las dos No disponible para todos los servicios con toda las funcionalidades
  22. 22. VSANYWHERE.COM @VS_ANYWHERE New Relic Totalmente integrada en Azure Disponibilidad para casi todo tipo de servicios Es de pago Pero Carece de integraciones como Load Testing Sin integración en Visual Studio Más compleja (y más completa eso sí)
  23. 23. VSANYWHERE.COM @VS_ANYWHERE Application Insights + Load Testing DEMO
  24. 24. VSANYWHERE.COM @VS_ANYWHERE Conclusiones La arquitectura es la base de la evolución del software, pero hay que validarla en: Capacidad Escalabilidad Punto de rotura Las pruebas de carga se ejecutan durante toda la vida del software Hay que evolucionarlas y hacerlas robustas Tanto en su ejecución como en la vida: monitorización
  25. 25. VSANYWHERE.COM @VS_ANYWHERE Preguntas !!! Gracias !!! lfraile@lfraile.net TWITTER @lfraile
  26. 26. https://www.desarrollaconmicrosoft.com/dotnetspain2015

×