Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2006

Tip: Looking for answers? Try searching our database.

.NET one way Remoting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
newscorrespondent@charter.net - 15 Jul 2006 03:13 GMT
As a client I am sending data using a OneWay method to a server.

What happens if the client is sending messages faster than the server can
consume them?

Who is responsible for holding the queue?

If the object sending is a WellKnownObjectMode.Singleton what happens if I
send another message before the last one completes?

And the same for a WellKnownObjectMode.SingleCall?

Is there any guarantee using IPC that the messages will get to the server in
the same order I sent them?

Ditto for TCP and HTTP?

Thanks
Tom
Spam Catcher - 15 Jul 2006 07:30 GMT
> Who is responsible for holding the queue?

When you use the oneway attribute, messages are fire and forget. The
receiving process will need to manage an incoming queue.

> Is there any guarantee using IPC that the messages will get to the
> server in the same order I sent them?

You should only use the oneway attribtue if you do not care about
reliablity. However for IPC I guess messages are delivered almost 100% of
the time - so I guess it should be safe to use. TCP/HTTP is a different
matter.

However, in general if you need to ensure delivery - don't use the one way
attribute.

> Ditto for TCP and HTTP?
TT (Tom Tempelaere) - 25 Jul 2006 11:30 GMT
OneWay is a dangerous attribute in case of disconnected objects. If you fire
the OneWay method several times when the server is dead, your threadpool
might be spammed up to the point your program grinds to a halt.

Kind regards,
Signature

Tom Tempelaere.

> > Who is responsible for holding the queue?
>
[quoted text clipped - 13 lines]
>  
> > Ditto for TCP and HTTP?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.