Click here to Skip to main content
15,867,308 members
Home / Discussions / C#
   

C#

 
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 
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 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 
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 
GeneralRe: remoting "newbie" questions Pin
Palladino15-Jan-04 5:43
Palladino15-Jan-04 5:43 
GeneralDebugging Pin
jyoti doiphode13-Jan-04 23:58
jyoti doiphode13-Jan-04 23:58 
GeneralRe: Debugging Pin
Heath Stewart14-Jan-04 4:41
protectorHeath Stewart14-Jan-04 4:41 
GeneralFinding names of local user accounts Pin
EnkelIk13-Jan-04 23:46
EnkelIk13-Jan-04 23:46 
GeneralRe: Finding names of local user accounts Pin
Mazdak14-Jan-04 2:51
Mazdak14-Jan-04 2:51 
GeneralRe: Finding names of local user accounts Pin
EnkelIk14-Jan-04 4:54
EnkelIk14-Jan-04 4:54 
GeneralRe: Finding names of local user accounts Pin
Mazdak14-Jan-04 8:20
Mazdak14-Jan-04 8:20 
GeneralReversible Frames on Windows Forms Pin
occcy13-Jan-04 22:22
occcy13-Jan-04 22:22 
GeneralRe: Reversible Frames on Windows Forms Pin
Heath Stewart14-Jan-04 4:14
protectorHeath Stewart14-Jan-04 4:14 
QuestionHow use Ms treeView In asp.net Pin
Old Gun13-Jan-04 22:03
Old Gun13-Jan-04 22:03 
AnswerRe: How use Ms treeView In asp.net Pin
Heath Stewart14-Jan-04 4:04
protectorHeath Stewart14-Jan-04 4: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.