Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

Big Problem with WCF service-subscribers

Update your Vista Drivers Update Your Drivers Now!!
 
 
Thread Tools Display Modes
Old 10-01-2007   #1 (permalink)
DavidVillaba
Guest


 

Big Problem with WCF service-subscribers

Hi!



I have a big question abaut the subscriber architecture in WCF. I made
a service that make a list of subscribers, then the server that
support the service makes events that finally are send to the clients.
I make it via netTcpBinding and it runs very well, but if I put a
Thread.sleep() in the method that implemens the callabackContrack ONLY
IN ONE CLIENT (is for see what happens if only one client is very slow
and can't process all the events as rapidly as the rest of the clients
can), this client makes the server to go slowly and to propage the
events more slowly. (this callback operations are designed as OneWay
operations).



Do you know how to implement a server that can send a lot of events
without worry about the client's speed processing the events?? and
please, dont tell me with Messaging



Thanks


My System SpecsSystem Spec
Old 10-01-2007   #2 (permalink)
Chris Mullins [MVP - C#]
Guest


 

Re: Big Problem with WCF service-subscribers

I'm a WCF novice, so anything I say here may be off base, so please take it
with a grain of salt...

Have you looking into using Async Calls? Or using multiple threads in your
server application?

For example, tiling the loop that sends events out to connected contacts
might help.

--
Chris Mullins

<DavidVillaba@xxxxxx> wrote in message
news:1191232560.078092.178780@xxxxxx
Quote:

> Hi!
>
>
>
> I have a big question abaut the subscriber architecture in WCF. I made
> a service that make a list of subscribers, then the server that
> support the service makes events that finally are send to the clients.
> I make it via netTcpBinding and it runs very well, but if I put a
> Thread.sleep() in the method that implemens the callabackContrack ONLY
> IN ONE CLIENT (is for see what happens if only one client is very slow
> and can't process all the events as rapidly as the rest of the clients
> can), this client makes the server to go slowly and to propage the
> events more slowly. (this callback operations are designed as OneWay
> operations).
>
>
>
> Do you know how to implement a server that can send a lot of events
> without worry about the client's speed processing the events?? and
> please, dont tell me with Messaging
>
>
>
> Thanks
>

My System SpecsSystem Spec
Old 10-01-2007   #3 (permalink)
msgroup
Guest


 

Re: Big Problem with WCF service-subscribers

See SocketPro at www.udaparts.com, which does exactly thing you like. Why
don't you give a try?

See the site http://www.udaparts.com/document/art...hatservice.htm for
Bi-directional Asynchronous Real-time Notification.

Cheers!

<DavidVillaba@xxxxxx> wrote in message
news:1191232560.078092.178780@xxxxxx
Quote:

> Hi!
>
>
>
> I have a big question abaut the subscriber architecture in WCF. I made
> a service that make a list of subscribers, then the server that
> support the service makes events that finally are send to the clients.
> I make it via netTcpBinding and it runs very well, but if I put a
> Thread.sleep() in the method that implemens the callabackContrack ONLY
> IN ONE CLIENT (is for see what happens if only one client is very slow
> and can't process all the events as rapidly as the rest of the clients
> can), this client makes the server to go slowly and to propage the
> events more slowly. (this callback operations are designed as OneWay
> operations).
>
>
>
> Do you know how to implement a server that can send a lot of events
> without worry about the client's speed processing the events?? and
> please, dont tell me with Messaging
>
>
>
> Thanks
>

My System SpecsSystem Spec
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with a Service that Fails to Start (Bonjour Service) Stéphane Bergeron Vista General 2 07-11-2008 06:21 PM
Vista Service Pack 1 Availability for MSDN subscribers Nondisclosure007 Vista General 1 02-20-2008 01:04 PM
Subscribers to RSS Feeds GrimmReality Vista General 1 12-24-2007 10:41 PM
Pre RC1 5536. Available to MSN Subscribers? Mark Gillespie Vista General 2 08-25-2006 04:22 PM


Update your Vista Drivers Update Your Vista Drivers Now!!

Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008
Page generated in 0.26699 seconds with 10 queries