title: WCF NamedPipe: PerSession-Single or Singleton-Multiple
body: <p>I'm building web application (in this context the client) which talk with a different process (in this context the server) through a namedpipe wcf service (WCF 4).</p>
  
  <p>After reading many articles I was thinking to create a pool of proxy connected to the server (I've read it provide better performance) used in roundrobin.</p>
  
  <p>Each call will be very short, on the server i need to reads and writes simple properties on few objects but this objects are shared so i must use locks in any case.
  I expect very high concurrency.</p>
  
  <p>Beacuse of the pool, the client will have N session always open with server.</p>
  
  <p>I was wondering what should be the best settings for InstanceContext-ConcurrencyMode between PerSession-Single or SingleInstance-Multiple.</p>
  
  <p>Thank You</p>