Chapter 14:

Network Performance and Scalability







What do we have in this chapter?



  1. Overview

  2. Underlying Protocols

  3. Transmission Control Protocol (TCP)

  4. User Datagram Protocol (UDP)

  5. Asynchronous I/O Pattern

  6. Resource Management

  7. Memory

  8. OS Networking Limitations

  9. Bandwidth

  10. Optimizing Web Classes

  11. Managing Threads and Connections

  12. A Simple C# Web Class Performance Measurement Program Example

  13. Build and Run the C# Project

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

  15. Build and Run the VB .NET project

  16. Enabling the Visual Studio Editor Line Numbers

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

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

  19. Managing HTTP Verbs

  20. Authentication






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 >