This is a migrated thread and some comments may be shown as answers.

Uploading and Displaying RadControls vs Response Time

1 Answer 75 Views
Book
This is a migrated thread and some comments may be shown as answers.
mertosha
Top achievements
Rank 1
mertosha asked on 17 Jun 2010, 06:48 AM

Hi
My name is Mertosha. I am a developer that is evaluating the Silverlight Q1 2010 Rad Controls for my company. Before I make any decision to invest, I decided that I would build a testing website that would allow me to put the Rad Controls Componets to various performance tests senairos in reference to page loading and displaying vs response time. I also decided that I would use the same implementation of the framework of the sample C# project that came with the Silverlight Q1 2010.

The samples website RadControls projects are based on the Book, CoverFlow and MediaPlayer C# Projects. The Telerik Framework remains the same but the UI was modified and enchanced.

This sample website is to inspire my daughter Natasha that is preparing for her upcoming international classical music panio recital competition for this year in july.

The problem I am having, is response time. All of the page loading and displaying are slow, for example especially "Book" Whenever "Book" is click, the time it takes for the page to load and display is unacceptable too slow, no one would ever bother to go to this site with the page load and display response time being what it is. 

At first I thought my server had a bottleneck issues or my upload speed from my service provider might also had a part to play in the response time. But I soon found out that was not the cause.

I created two website after I build and published the website. The website that has the static ip address of 24.35.10.228 is hosted from my residence on a Dell Inspiron 537 Intel Core2 Quad with 8 GB (4x2 GB DIMMs) on IIS 7. The link to that website is as followed http://24.35.10.228/natashadebut

 

I was very disappointed with the response time I was getting from my webserver at my residence, I than decided that I would host the application on a remote server. So I went to Go Daddy "Cheap Domain" and rented their hosting service.  I was very surprise to learn that my webserver at home had a better unacceptable response time than the remote server at Go Daddy "Cheap Domain" that has a better download speed and bandwidth. 

The website at Go Daddy "Cheap Domain" is http://natashaswebdebut.com

I would like you to click on each of the link so you can experience and see for yourself. Any Suggestion as to how performance could be improve on this website where I could see and experience this for myself would help me with a speedy decsion to go ahead with the purchase to invest to use the Telerik RadControls

All Media files were encoded using Microsoft Expression Encoder 3 using VBR stream, and they are hosted on my webserver at my residence

My email address is mertosha@gmail.com.

Thank you for your attention on the above matter and prompt response.

Cordially

Mertosha

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 18 Jun 2010, 08:57 AM
Hello Mertosha,

Thank you for contacting us. In general, the response time of a Silverlight application is determined by the size of its xap file. We just release a tool that helps you reduce the size of your Silverlight application's xap file. For more information, please visit http://blogs.telerik.com/blogs/posts/10-06-10/telerik_assembly_minifier.aspx.

RadBook has no control over the loading of images. RadBook creates a page no matter whether the image has loaded or not. This means that if you do something like:

<telerikNavigation:RadBook>
    <telerikNavigation:RadBookItem>
        <Image Source="http://www.somesite.com/images/image01.jpg" />
    </telerikNavigation:RadBookItem>
    <telerikNavigation:RadBookItem>
        <Image Source="http://www.somesite.com/images/image02.jpg" />
    </telerikNavigation:RadBookItem>
    <telerikNavigation:RadBookItem>
        <Image Source="http://www.somesite.com/images/image03.jpg" />
    </telerikNavigation:RadBookItem>
</telerikNavigation:RadBook>

RadBook will display 3 pages, but when the images will actually be displayed is determined by the internet connection speed. This means that if the connection is slow, RadBook will create 3 pages but they will appear blank until the images are downloaded.

A way to optimize this process is to put the images in the Silverlight application itself. This way they will become part of the xap file and the loading time will be significantly faster. However, this approach has its drawbacks i.e. putting too many images will eventually increase the overall size of the xap. It is up to you do decide whether you want to have a longer initial loading time, but faster image download.

Additionally, I opened both sites. With this one - http://24.35.10.228/natashadebut, I never got to see the book and check its loading time. As if the xap file never got downloaded.



With this one - http://natashaswebdebut.com, I received a runtime error:



Let me know how I can be of further assistance.

Kind regards,
Kiril Stanoev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Book
Asked by
mertosha
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or