[Mono-dev] Serialization performance + remoting

Robert Jordan robertj at gmx.net
Fri Aug 3 04:52:22 EDT 2007


Hi Pablo,

pablosantosluac wrote:
> Because the people who actually implemented both serialization and remoting 
> are in this list :-) I'd like to ask them to share with us some tips to 
> improve performance in serialization/remoting: I don't know, maybe always 
> reduce the number of objects involved (unwrap the structures into 
> communication specific ones), get rid of some methods, avoid some data 
> types... whatever...

Employing a remoting facade is the way to go, IMHO, even if it's
not that hype. Try to keep the data exchange classes as flat as possible
(struct-like, avoid lists [replace them with typed arrays], etc.).

Robert




More information about the Mono-devel-list mailing list