all groups > sql server reporting services > march 2006 >
You're in the

sql server reporting services

group:

Performance of RS email delivery VS .NET code email with SMTP


Performance of RS email delivery VS .NET code email with SMTP Tony
3/13/2006 8:25:21 AM
sql server reporting services:
Hi,
I have 2 options of implementing sending data drivent email to customers,
one is coding .NET with SMTP, the other is using RS data driven subscription
with email delivery.
My question is, comparing to .NET code by building email body using
StringBuilder, how is the performance of RS, by making HTML format of email
from Report Definition Languge, XML, I know it's compiled, but XML processing
is alwasy slow, as I understand. Thanks.

Re: Performance of RS email delivery VS .NET code email with SMTP Tony
3/13/2006 9:27:27 AM
Hi Bruce,
Thanks for your response. My question is rendering reporting from Report
Definition Languge comparing to building email body with .NET application. My
guess is XML processing time, hopfully not DOM, but XML stream, comparing to
stringbuilder inside .NET code. In your response, did you mean sending email
or rending will be the same regardless of 2 options? Sorry about can not
understand the sentence clearly.

Regards,
Tony

[quoted text, click to view]
Re: Performance of RS email delivery VS .NET code email with SMTP Bruce L-C [MVP]
3/13/2006 12:07:11 PM
What sort of volume are you talking about? Two things are happening:
rendering and sending the email. Rendering of the report will be what takes
the longest and will be the same regardless of whether you send it via your
app or use Reporting Services to email it. So, if you plan on emailing the
reports, my guess is the act of sending the email will not make much if any
difference as a percentage of the total time.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services



[quoted text, click to view]

Re: Performance of RS email delivery VS .NET code email with SMTP Bruce L-C [MVP]
3/13/2006 3:13:44 PM
Are you integrating RS into your app? If that is the case then the only
difference is whether your app sends it on or Reporting Services does. I
can't tell what you are planning to do. If you are thinking of writing your
own reports in your dotnet app then that is another matter.

I think you are over analyzing this. If you needs are extremely simple then
you can do it yourself. If, however, your reporting is complex at all then
the effort to create your own is huge. RS is very fast when rendering to
HTML and CSV. If you are concerned about performance then send the report in
one of these two format. PDF and Excel is much much slower to render.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services


[quoted text, click to view]

Re: Performance of RS email delivery VS .NET code email with SMTP Tony
3/14/2006 9:07:00 AM
My report will be sent with HTML format. It's not integrated into my
application. My quesiton was which option is faster at rendering email
message. I think I don't need to worry performance about HTML format, since
you mention it's fast for HTML and CVS. Thanks.

Tony

[quoted text, click to view]
AddThis Social Bookmark Button