Click here to Skip to main content
15,559,491 members
Home / Discussions / C#
   

C#

 
GeneralRe: GetHashCode vs. Equals Pin
balkanese15-Jan-04 22:46
balkanese15-Jan-04 22:46 
GeneralInternet downloading problem... Pin
profoundwhispers14-Jan-04 5:26
profoundwhispers14-Jan-04 5:26 
GeneralRe: Internet downloading problem... Pin
Heath Stewart14-Jan-04 5:56
protectorHeath Stewart14-Jan-04 5:56 
GeneralRe: Internet downloading problem... Pin
Kentamanos14-Jan-04 7:35
Kentamanos14-Jan-04 7:35 
GeneralRe: Internet downloading problem... Pin
Heath Stewart14-Jan-04 8:45
protectorHeath Stewart14-Jan-04 8:45 
GeneralRe: Internet downloading problem... Pin
Kentamanos14-Jan-04 10:05
Kentamanos14-Jan-04 10:05 
Generalremoting "newbie" questions Pin
Palladino14-Jan-04 3:24
Palladino14-Jan-04 3:24 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 4:07
LongRange.Shooter14-Jan-04 4:07 
Marcelo

The first thing you should be aware of: by making your object Single Call, the object will be created and destroyed each time it is called. If you expect to have a high volume of calls made, you may consider establishing it as a Singleton and create a custom lease time.

For scalability it is VERY important that you always consider your deployment from the aspect of what is called 'chunky calls'. If you have two processes as such:

1. create HTTP channel
2. call Activator.GetObject
3. call to init
4. call to get first info
5. call to get second piece
6. call to get third piece
7. display information

-VS-

1. create HTTP channel
2. call Activator.GetObject
3. call to get large object -- server object does 3-6 of prior process
4. display information

you will find the second process to SCREAM while the first process will crawl like a snail.

Secondly, your use of BinarySerializer is good. The SOAP serializer is horrible. However if is at all possible to remove the server from HTTP and make it a pure TCP client, you will have even faster throughput and better results.

There are several other considerations to make as well as determining if remoting is truly the best implementation for you solution. If you read the FAQ here[^], then you can check it out.

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

GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 4:23
LongRange.Shooter14-Jan-04 4:23 
GeneralRe: remoting "newbie" questions Pin
Palladino14-Jan-04 9:13
Palladino14-Jan-04 9:13 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 11:46
LongRange.Shooter14-Jan-04 11:46 
GeneralRe: remoting "newbie" questions Pin
Palladino15-Jan-04 2:36
Palladino15-Jan-04 2:36 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter15-Jan-04 3:55
LongRange.Shooter15-Jan-04 3:55 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter15-Jan-04 4:24
LongRange.Shooter15-Jan-04 4:24 
GeneralRe: remoting "newbie" questions Pin
Palladino15-Jan-04 6:43
Palladino15-Jan-04 6:43 
GeneralDebugging Pin
jyoti doiphode14-Jan-04 0:58
jyoti doiphode14-Jan-04 0:58 
GeneralRe: Debugging Pin
Heath Stewart14-Jan-04 5:41
protectorHeath Stewart14-Jan-04 5:41 
GeneralFinding names of local user accounts Pin
EnkelIk14-Jan-04 0:46
EnkelIk14-Jan-04 0:46 
GeneralRe: Finding names of local user accounts Pin
Mazdak14-Jan-04 3:51
Mazdak14-Jan-04 3:51 
GeneralRe: Finding names of local user accounts Pin
EnkelIk14-Jan-04 5:54
EnkelIk14-Jan-04 5:54 
GeneralRe: Finding names of local user accounts Pin
Mazdak14-Jan-04 9:20
Mazdak14-Jan-04 9:20 
GeneralReversible Frames on Windows Forms Pin
occcy13-Jan-04 23:22
occcy13-Jan-04 23:22 
GeneralRe: Reversible Frames on Windows Forms Pin
Heath Stewart14-Jan-04 5:14
protectorHeath Stewart14-Jan-04 5:14 
QuestionHow use Ms treeView In asp.net Pin
Old Gun13-Jan-04 23:03
Old Gun13-Jan-04 23:03 
AnswerRe: How use Ms treeView In asp.net Pin
Heath Stewart14-Jan-04 5:04
protectorHeath Stewart14-Jan-04 5:04 

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.