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 / Remoting / June 2004

Tip: Looking for answers? Try searching our database.

remoting... connections pooling?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AA - 24 Jun 2004 20:17 GMT
I decide to use remoting as a communication solution between my main service
and the billing service.
But I need to know if when I create an instance of a remoting object this
open and close the TCP channel for each?

For example (just an example)

I have a function that create an instance of a remoting object and call some
method in the remote object.
My object type is Singleton
So, this function can be called thousand of time in a day including
simultaneus calls (from differents threads)
But if for each instance remoting open and close connection that will take
too many time.

Another question...
What happen is I create just one static instance of the remoting object,
this instance can handle simultaneus request?

Thanks a lot guys!

AA
Allen Anderson - 24 Jun 2004 21:09 GMT
A singleton will open and hold open the communications channel that
you setup for it.  However, remember to setup your lifetime services
to either null or use lease/sponsors to keep your objects from going
away.

Allen Anderson
http://www.glacialcomponents.com
mailto: allen@put my website url here.com

>I decide to use remoting as a communication solution between my main service
>and the billing service.
[quoted text clipped - 18 lines]
>
>AA
AA - 24 Jun 2004 22:22 GMT
is true!
Thanks!!

> A singleton will open and hold open the communications channel that
> you setup for it.  However, remember to setup your lifetime services
[quoted text clipped - 27 lines]
> >
> >AA

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.