473,322 Members | 1,781 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

WCF concurrent call on client

Hi,

I have a winform client which consumes a WCF service. I have a single
service client(proxy) at the winform side, but spread the service calls into
multiple threads so that they can do works concurrently. My confusion is, as
all threads share the same proxy, will one thread block another while calling
a long running service? Is this related to the service concurrent
configuration?

Thanks.

Daniel
Dec 10 '07 #1
3 5936
Hi Daniel,

As for WCF client proxy, it seems a bit different from previous webservice
client proxy class. WCF proxy is somewhat a heavy-weight one which means if
we'll frequently issue method call in concorrent threads, it would be
costly to always create a new proxy instance when making a method call.
Here is some blog article which describes manually using a proxy pool to
address large concurrent WCF method call case:

#WCF Proxy Performance vs WSE V3
http://weblogs.asp.net/pglavich/arch...erformance-vs-
wse-v3.aspx

#A Sample for WCF Client Proxy Pooling
http://blogs.msdn.com/wenlong/archiv...wcf-client-pro
xy-pooling.aspx

#Service Instances and Concurrent Execution
http://blogs.msdn.com/wenlong/archiv...nces-and-concu
rrent-execution.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?RGFuaWVs?= <da*********@newsgroup.nospam>
Subject: WCF concurrent call on client
Date: Sun, 9 Dec 2007 17:50:00 -0800
Hi,

I have a winform client which consumes a WCF service. I have a single
service client(proxy) at the winform side, but spread the service calls
into
multiple threads so that they can do works concurrently. My confusion is,
as
all threads share the same proxy, will one thread block another while
calling
a long running service? Is this related to the service concurrent
configuration?

Thanks.

Daniel

Dec 10 '07 #2
=?Utf-8?B?RGFuaWVs?= <da*********@newsgroup.nospamwrote in
news:DF**********************************@microsof t.com:
My confusion is, as
all threads share the same proxy, will one thread block another while
calling a long running service? Is this related to the service
concurrent configuration?
Yes it is - I believe WCF now supports non-blocking calls.

--
sp**********@rogers.com (Do not e-mail)
Dec 10 '07 #3
Hi Daniel,

Have you got any further idea on this? If there is any further questions,
welcome to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: st*****@online.microsoft.com (Steven Cheng[MSFT])
Organization: Microsoft
Date: Mon, 10 Dec 2007 04:29:01 GMT
Subject: RE: WCF concurrent call on client
Hi Daniel,

As for WCF client proxy, it seems a bit different from previous webservice
client proxy class. WCF proxy is somewhat a heavy-weight one which means if
we'll frequently issue method call in concorrent threads, it would be
costly to always create a new proxy instance when making a method call.
Here is some blog article which describes manually using a proxy pool to
address large concurrent WCF method call case:

#WCF Proxy Performance vs WSE V3
http://weblogs.asp.net/pglavich/arch...erformance-vs-
wse-v3.aspx

#A Sample for WCF Client Proxy Pooling
http://blogs.msdn.com/wenlong/archiv...wcf-client-pro
xy-pooling.aspx

#Service Instances and Concurrent Execution
http://blogs.msdn.com/wenlong/archiv...nces-and-concu
rrent-execution.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?RGFuaWVs?= <da*********@newsgroup.nospam>
Subject: WCF concurrent call on client
Date: Sun, 9 Dec 2007 17:50:00 -0800
Hi,

I have a winform client which consumes a WCF service. I have a single
service client(proxy) at the winform side, but spread the service calls
into
multiple threads so that they can do works concurrently. My confusion is,
as
all threads share the same proxy, will one thread block another while
calling
a long running service? Is this related to the service concurrent
configuration?

Thanks.

Daniel

Dec 13 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tony Pryor | last post by:
hello, is anyone using python to spawn multiple concurrent telnet client consoles? i've tried to use concurrent telnet consoles in perl and feel like i'm getting snared by library...
7
by: Robin Tucker | last post by:
I've been asked to turn our single-user database system into a multi-user system. At present, each user has a copy of the MSDE on their desktop machine and uses our program to access it. In...
2
by: spshealy | last post by:
Anybody know when DB2 is going to support Concurrent I/O on Aix... I heard it was coming but I don't know when? Thanks Scott
1
by: bluedolphin | last post by:
There seems to be a consensus that Access has a concurrent user limit of 200 users. I am working on a system that currently stands at approx. 1 gig and has a small number of users. However, there...
0
by: Volkan Arslan | last post by:
------------------------------------------------------------- LASER Summer School on Software Engineering Software engineering for concurrent and real-time systems Elba, Italy September 11 -...
6
by: Bill Manring | last post by:
I have an ASP.NET application which my company sells comercially. We license on a concurrent user model, but we currently rely on the "honor" system for the customers to give us their best guess...
6
by: goraya | last post by:
This is design level discussion about web applications. How I design application that support 1 million concurrent requests??
10
by: Frankie | last post by:
It appears that System.Random would provide an acceptable means through which to generate a unique value used to identify multiple/concurrent asynchronous tasks. The usage of the value under...
0
amitpatel66
by: amitpatel66 | last post by:
There is always a requirement that in Oracle Applications, the Concurrent Program need to be execute programatically based on certain conditions/validations: Concurrent programs can be executed...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.