Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
GeneralRe: timer Pin
Heath Stewart14-Jan-04 8:26
protectorHeath Stewart14-Jan-04 8:26 
GeneralRe: timer Pin
maria_p14-Jan-04 9:54
maria_p14-Jan-04 9:54 
GeneralRe: timer Pin
Heath Stewart14-Jan-04 10:23
protectorHeath Stewart14-Jan-04 10:23 
GeneralRe: timer Pin
maria_p25-Jan-04 8:52
maria_p25-Jan-04 8:52 
GeneralRe: timer Pin
maria_p18-Feb-04 8:53
maria_p18-Feb-04 8:53 
GeneralRe: timer Pin
Heath Stewart18-Feb-04 9:23
protectorHeath Stewart18-Feb-04 9:23 
GeneralOutlook 2003 -( Inbox look-alike) Pin
Nick_Chr14-Jan-04 6:10
Nick_Chr14-Jan-04 6:10 
GeneralRe: Outlook 2003 -( Inbox look-alike) Pin
Heath Stewart14-Jan-04 8:10
protectorHeath Stewart14-Jan-04 8:10 
GeneralRe: Outlook 2003 -( Inbox look-alike) Pin
Nick_Chr14-Jan-04 22:25
Nick_Chr14-Jan-04 22:25 
GeneralGetHashCode vs. Equals Pin
balkanese14-Jan-04 5:31
balkanese14-Jan-04 5:31 
GeneralRe: GetHashCode vs. Equals Pin
scadaguy14-Jan-04 6:26
scadaguy14-Jan-04 6:26 
GeneralRe: GetHashCode vs. Equals Pin
balkanese15-Jan-04 21:46
balkanese15-Jan-04 21:46 
GeneralInternet downloading problem... Pin
profoundwhispers14-Jan-04 4:26
profoundwhispers14-Jan-04 4:26 
GeneralRe: Internet downloading problem... Pin
Heath Stewart14-Jan-04 4:56
protectorHeath Stewart14-Jan-04 4:56 
GeneralRe: Internet downloading problem... Pin
Kentamanos14-Jan-04 6:35
Kentamanos14-Jan-04 6:35 
GeneralRe: Internet downloading problem... Pin
Heath Stewart14-Jan-04 7:45
protectorHeath Stewart14-Jan-04 7:45 
GeneralRe: Internet downloading problem... Pin
Kentamanos14-Jan-04 9:05
Kentamanos14-Jan-04 9:05 
Generalremoting "newbie" questions Pin
Palladino14-Jan-04 2:24
Palladino14-Jan-04 2:24 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 3:07
LongRange.Shooter14-Jan-04 3:07 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 3:23
LongRange.Shooter14-Jan-04 3:23 
GeneralRe: remoting "newbie" questions Pin
Palladino14-Jan-04 8:13
Palladino14-Jan-04 8:13 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 10:46
LongRange.Shooter14-Jan-04 10:46 
The only item that I would say you should make an adjustment to is the ISerializable implementation. The reason I say so is that you have to implement your own serializer/deserializer!!!

Just add the [Serializable] attribute. The process of 'going remote' goes through several SinkProviders including the BinarySerializer. So implementing the ISerializable interface just creates redundancy.


Now ---> once you get everything set to run with SAO instead of CAO, all you need to do is the following:

1) Get your app finished and working so your server objects
are stabilized
2) Set up a stress test if possible
3) Now you can compare the impacts to your app on whether or
not you should be Singleton or SingleCall.

IMHO -- this ends being based on application process and design rather than just a cookie-cutter decision. For my app, I found that having the objects there was great and the Singletons will eventually be flushed if no activity occurs, but remain when activity is high.

For me, I was initializing collections of objects remotely and passing single instances back to the caller. Great setup for a Singleton. If I did not need the populated collections, I probably could get away with the SingleCall.

Enjoy!

Michael

_____________________________________________
Of all the senses I could possibly lose,
It is most often the one called 'common' that gets lost.

GeneralRe: remoting "newbie" questions Pin
Palladino15-Jan-04 1:36
Palladino15-Jan-04 1:36 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter15-Jan-04 2:55
LongRange.Shooter15-Jan-04 2:55 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter15-Jan-04 3:24
LongRange.Shooter15-Jan-04 3:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.