Chapter 14:

Network Performance and Scalability





What do we have in this chapter?



  1. Overview

  2. Underlying Protocols

    Transmission Control Protocol (TCP)

    User Datagram Protocol (UDP)

    Asynchronous I/O Pattern

  3. Resource Management

  4. Memory

    OS Networking Limitations


    Optimizing Web Classes

    Managing Threads and Connections

    A Simple C# Web Class Performance Measurement Program Example

  5. Build and Run the C# Project

  6. A Simple VB .NET Web Class Performance Measurement Program Example

  7. Build and Run the VB .NET project

  8. Enabling the Visual Studio Editor Line Numbers

  9. A Simple C++/CLI Web Class Performance Measurement Program Example

  10. Build and Run the C++/CLI project

  11. Managing HTTP Verbs






There are only a few basic principles to follow when designing high-performance applications, including resource management and using asynchronous I/O whenever possible. Also, understanding the underlying protocol reveals several possibilities for improving performance depending on the behavior of the application. These principles can be applied to any of the networking-related classes in the .NET Framework, including the Socket class and the Web classes. Additionally, understanding how the Web-related classes are built offers insight on how to maximize performance. Following these simple guidelines is straightforward and will result in better performance and more scalable applications.







Custom Search

< .NET Framework Network Security | Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Advancement In .NET Framework For Networking >