dotnet web services enhancements:
Dear All, I have done a project and delivered successfully. My customer is reporting that the application is very slow. I have used XMLSerializer extensively in my C# code. Its because of this, the application is too slow. How to make it fast??. Thanks From, --
------=_NextPart_0001_E6EF3E4E Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi Sezhman, When you say you have used it extensively, what way? Are you serializing to files then reading these back? Are you serializing huge data resources? Where is it slow - is it only slow between the caller/called service? Or is this a single machine application. Are you saying that when you call Serialize that it takes too long? There are some XML patterns that serialize poorly, but these are not that common to see. Are you using custom serialization? It's such a broad statement... without some breakdown, it's hard to answer your question why. There is a perf hit in converting binary data to strings, adding in angle brackets, etc. There can be hardware conditions that exacerbate this - such as low memory, slow disks, slow connections, high latency, slow processors... how well does it behave on YOUR machines? Regards Dan Rogers Microsoft Corporation -------------------- Thread-Topic: My application is slow - XMLSerializer? thread-index: AcTcTSlkOdosrDkRRweZyrS8mnRjBg== X-WBNR-Posting-Host: 203.197.160.37 From: "=?Utf-8?B?U2V6aG1hbg==?=" <Sezhman@discussions.microsoft.com> Subject: My application is slow - XMLSerializer? Date: Tue, 7 Dec 2004 03:09:03 -0800 Lines: 9 Message-ID: <54034162-118B-430F-88C2-391E35D64113@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset="Utf-8" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft CDO for Windows 2000 Content-Class: urn:content-classes:message Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Newsgroups: microsoft.public.dotnet.framework.webservices.enhancements NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29 Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA 03.phx.gbl Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.webservices.enhancements:5061 X-Tomcat-NG: microsoft.public.dotnet.framework.webservices.enhancements Dear All, I have done a project and delivered successfully. My customer is reporting that the application is very slow. I have used XMLSerializer extensively in my C# code. Its because of this, the application is too slow. How to make it fast??. Thanks From, -- Sezhman ------=_NextPart_0001_E6EF3E4E Content-Type: text/x-rtf Content-Transfer-Encoding: 7bit {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}} \viewkind4\uc1\pard\f0\fs20 Hi Sezhman, \par \par When you say you have used it extensively, what way? Are you serializing to files then reading these back? Are you serializing huge data resources? Where is it slow - is it only slow between the caller/called service? Or is this a single machine application. Are you saying that when you call Serialize that it takes too long? There are some XML patterns that serialize poorly, but these are not that common to see. Are you using custom serialization? \par \par It's such a broad statement... without some breakdown, it's hard to answer your question why. There is a perf hit in converting binary data to strings, adding in angle brackets, etc. There can be hardware conditions that exacerbate this - such as low memory, slow disks, slow connections, high latency, slow processors... how well does it behave on YOUR machines? \par \par Regards \par \par Dan Rogers \par Microsoft Corporation \par \par \par \pard\li720 -------------------- \par Thread-Topic: My application is slow - XMLSerializer? \par thread-index: AcTcTSlkOdosrDkRRweZyrS8mnRjBg== \par X-WBNR-Posting-Host: 203.197.160.37 \par From: "=?Utf-8?B?U2V6aG1hbg==?=" <Sezhman@discussions.microsoft.com> \par Subject: My application is slow - XMLSerializer? \par Date: Tue, 7 Dec 2004 03:09:03 -0800 \par Lines: 9 \par Message-ID: <54034162-118B-430F-88C2-391E35D64113@microsoft.com> \par MIME-Version: 1.0 \par Content-Type: text/plain; \par \tab charset="Utf-8" \par Content-Transfer-Encoding: 7bit \par X-Newsreader: Microsoft CDO for Windows 2000 \par Content-Class: urn:content-classes:message \par Importance: normal \par Priority: normal \par X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 \par Newsgroups: microsoft.public.dotnet.framework.webservices.enhancements \par NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29 \par Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl \par Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.webservices.enhancements:5061 \par X-Tomcat-NG: microsoft.public.dotnet.framework.webservices.enhancements \par \par Dear All, \par I have done a project and delivered successfully. My customer is reporting \par that the application is very slow. I have used XMLSerializer extensively in \par my C# code. Its because of this, the application is too slow. How to make it \par fast??. \par \par Thanks From, \par -- \par Sezhman \par \pard \par \par } ------=_NextPart_0001_E6EF3E4E--
Don't see what you're looking for? Try a search.
|