Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Big Problem with WCF service-subscribers

 
 
Old 10-01-2007   #1 (permalink)
DavidVillaba


 
 

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#]


 
 

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


 
 

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


Similar Threads
Thread Forum
Problem with updating service pack1 to service pack2 Vista installation & setup
Problem with a Service that Fails to Start (Bonjour Service) Vista General
Vista Service Pack 1 Availability for MSDN subscribers Vista General
Subscribers to RSS Feeds Vista General
Pre RC1 5536. Available to MSN Subscribers? Vista General


Vista Forums 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 Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46