Addressing scalability ,performance in a .net web application

前端 未结 6 1089
梦谈多话
梦谈多话 2021-01-31 12:54

I\'m working on a .net portal which would be having lots of concurrent users. so scalability,performance need to be addressed in the design and architecture. We plan to use load

6条回答
  •  太阳男子
    2021-01-31 13:23

    Learn to write asynchronously.
    Explore the CCR runtime for example.

    Each thread that is blocked waiting for IO responses is one less available to your system.

    Turn off 'idealised logging' leave the ability to switch it back on via admin console. But logging is often a hidden bottle neck.

    CACHE CACHE CACHE!

    If it was expensive to get the data the first time, don't pay for it the second!

    Avoid ASP.net's Session State - This can seriously bloat and lead to a large slow down in page responsiveness.

    Modify the http headers to specify short browser caching (5sec - 20sec) (Depends on the nature of the content)

    Utilise GZIP while you are at it!

    AND USE LOTS OF RAM

提交回复
热议问题