• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Msdn   optimizando la performance en la web
 

Msdn optimizando la performance en la web

on

  • 842 views

 

Statistics

Views

Total Views
842
Views on SlideShare
406
Embed Views
436

Actions

Likes
0
Downloads
1
Comments
0

2 Embeds 436

http://ai-ir.com 315
http://aiturralde.wordpress.com 121

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Enviar info de compiled linq query para EF.
  • Enviar info de compiled linq query para EF.

Msdn   optimizando la performance en la web Msdn optimizando la performance en la web Presentation Transcript

  • Optimizando la Performance en la Web http://blogs.msdn.com/aiturralde
  • Agenda• ¿Por qué es importante el rendimiento?• Desafíos comunes de rendimiento• Analizando problemas de rendimiento• Tácticas para Mejorar el Rendimiento
  • http://blog.kissmetrics.com/loading-time/
  • − No son problemas exclusivos de ASP .NET
  • Región Average Round-Trip Time (ms) Average Packet Loss (%)Africa 469 3.70Australia 204 0.23Balkans 202 0.74Central Asia 597 1.24East Asia 192 0.68Europa 178 0.48Latin America 270 1.15Middle East 279 0.87North America 59 0.09Russia 243 2.48South Asia 424 1.89South East Asia 254 0.03
  • HTML Recurso de la páginaArchivos Tiempo
  • − Mal patrón de asignación− Leaks de memoria
  • http://www.fiddler2.comhttp://bit.ly/JF3osxhttp://bit.ly/JvrrGz
  • http://bit.ly/L9MGirhttp://bit.ly/vZldlThttp://bit.ly/JeocF5http://bit.ly/H8ntr0
  • SELECT P.FirstName, P.LastName,SC.AccountNumber, SC.ModifiedDateFROM Sales.Customer AS SCJOIN Person.Person PON SC.PersonID =P.BusinessEntityIDWHERE P.LastName in (Adams)ORDER BY P.LastName, P.FirstName ;
  • Query 1 Se compila y se almacena en el cacheSelect * from Person.Address where AddressID in(1, 2)Query 2 Se compila y se almacena en el cacheSelect * from Person.Address where AddressID in(2, 1)Query 3 Se reutilizaSelect * from Person.Address where AddressID in(1, 2)
  • SELECT qs.sql_handle, qs.statement_start_offset,qs.statement_end_offset, qs.creation_time, qs.last_execution_time,SUBSTRING(qt.text,qs.statement_start_offset/2+1, (CASE WHEN qs.statement_end_offset = -1 THEN LEN(CONVERT(nvarchar(max), qt.text)) * 2 ELSE qs.statement_end_offset end - qs.statement_start_offset )/2 ) AS query_text FROM sys.dm_exec_query_stats qs CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) qt
  • dbcc freesystemcache(all)