Chapter 8. Concurrency

In this chapter, we will cover:

  • Hosting a singleton instance service
  • Invoking a WCF service without blocking the front UI
  • Using throttling to control service concurrency
  • Ensuring termination of a client session
  • Tuning WCF concurrency performance via Visual Studio testing tools

Introduction

Concurrency behavior reflects the performance characteristics of services such as throughput and scalability. WCF provides many built-in features for developers to control the concurrency of our services built upon it.

This chapter covers some typical and useful cases of WCF concurrency management, including service instancing mode control, concurrent service invoking within GUI client application, and service session management.

Get Microsoft Windows Communication Foundation 4.0 Cookbook for Developing SOA Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.