PDA

View Full Version : Web performance question


ABC123

mmaisterrena
03-07-2008, 05:42 PM
Should A5v8 .A5W pages load faster just by running them trough the A5v9 WebServer?

NoeticCC
03-07-2008, 06:15 PM
I guess the difference in speed depends on the content of any page - because V9 has Gzip capabilities, any file where download speed improves with compression will display faster than from an earlier version server...

This page shows the speed improvement through compression on an image-heavy Alpha page: http://www.pipeboost.com/GetReport.asp?URL=http%3A%2F%2Fafas.alphasoftware.com%2FSamplePages%2FTiled_Images.A5w

Selwyn Rabins
03-07-2008, 08:29 PM
Should A5v8 .A5W pages load faster just by running them trough the A5v9 WebServer?

In all but the smallest of pages, you should see a meaningful improvement.

However, V9 Platinum also has a lot of Ajax functionilty. While this does require some Xbasic programming, Ajax applications can perform exceptionally well.

See the sample Web app that ships with V9 for a demo.

Rich Hartnett
03-09-2008, 04:23 AM
Does this mean that only pages which contain images such as JPEG's will appear to run quicker, or all pagers in general?

I have a tabbed gridlinker application with 8 tables that runs somewhat slow, and I'm wondering if V9 will affect its performance. At the moment, it does not have any images connected with it, although there are plans to add them in the future.

Just wondering if anyone has seen any noticeable difference.

Selwyn Rabins
03-09-2008, 01:03 PM
Does this mean that only pages which contain images such as JPEG's will appear to run quicker, or all pagers in general?

I have a tabbed gridlinker application with 8 tables that runs somewhat slow, and I'm wondering if V9 will affect its performance. At the moment, it does not have any images connected with it, although there are plans to add them in the future.

Just wondering if anyone has seen any noticeable difference.

no, all pages will appear to run quicker. a tabbed grid linker is sending a lot of data over the network, so the qzip compression should make a noticeable difference.

of course, if you build the page yourself using xbasic/AJAX you will get a dramatic difference.

Richard Rabins
03-09-2008, 03:00 PM
Web applications that employ AJAX techniques are now very popular because of the great responsiveness they give to web/browser based applications. Howerver, programming AJAX applications typically adds a significant level of complexity, skill required and time to the development process. Alpha Five (V9) PLATINUM now comes with an extensive JavaScript library that GREATLY cuts the time and simplifies the development of Web applications that employ AJAX techniques.

Wikipedia info on Ajax http://en.wikipedia.org/wiki/AJAX



Watch Videos Demonstrating AJAX Examples in Alpha Five (v9) PLATINUM.

This first video demonstrates the basic principle behind AJAX programming techniques. It shows how a piece of data can be submitted to a the server and a response can then be sent to the browser to update part of the page. Watch video. http://www.alphasoftware.com/VideoNewV9/AJAX_UnderstandingBasics.swf
The second video demonstrates how AJAX techniques can be used to validate the data in a form. When the form's Submit button is pressed, data in the form is sent to the callback page and validated. Errors are written back to the page, and are displayed without a page reload. Watch video. http://www.alphasoftware.com/VideoNewV9/AJAX_FormValidation.swf
The third video demonstrates how AJAX techniques are used to implement cascading dropdown boxes. We show a form with a State, City and Customer dropdown box. When the user selects a state, the city dropdown box is dynamically repopulated, and when the user selects a city, the customer dropdown box is repopulated. When the user selects a customer, the customer information is displayed on the page, where it can be updated and saved. Watch video. http://www.alphasoftware.com/VideoNewV9/AJAX_CascadingDropDownDBF.swf
Next, we demonstrate how you can use AJAX to implement 'suggestion' lists as the user types into a textbox. We show how, as you type a name into a city field, AJAX callbacks can be used to present a list of cities that start with the characters you have typed. The video also shows filtered suggestions - where the suggestion list is filtered by the value in some other control you set on the page. Watch video. http://www.alphasoftware.com/VideoNewV9/AJAX_AutoSuggestDBF.swf This next video shows the same techniques, but this time using SQL Server as the data source for the suggestion list. Watch video. http://www.alphasoftware.com/VideoNewV9/AJAX_AutoSuggestSQL.swf

Finally we demonstrate a tutorial page that is intended to highlight the basic building blocks of an AJAX application. Several of the functions in the Alpha Five Ajax Form library are discussed. Watch video - part 1 http://www.alphasoftware.com/VideoNewV9/AJAX_Tutorial1.swf Watch video - part 2 http://www.alphasoftware.com/VideoNewV9/AJAX_Tutorial2.swf

mmaisterrena
03-09-2008, 03:45 PM
Please consider making a tutorial of how this pages can be done inside alpha from start to end (not just a explanation of the function used to make this).

(since my predictions for v9 where correct here is another one for v10)
I predict that version 10 will incorporate Ajax directly to grids and dialogs so that coding or scripting wont be necessary.

NoeticCC
03-10-2008, 12:05 PM
Does this mean that only pages which contain images such as JPEG's will appear to run quicker, or all pagers in general?
I beleive it's just that the example provided has images in it (in order to make it a large page data-wise), rather than this only being the case for image-heavy pages.

Lenny Forziati
03-10-2008, 12:07 PM
Rich, to add to what Selwyn said about your question, while there are a number of performance improvements in the Platinum server, what they have in common is that they allow the connection between browser and the Application Server to be used more efficiently.

For an A5W page such as a gridlinker that contains a fair amount of data, the new gzip compression allows for less data to have to travel back to the browser.

For an A5W page that has multiple images, style sheets and other related files, the persistent connections and pipelining allow those requests to be sent to the server faster and get a response that much sooner.

On a really fast local network where the server is essentially right next to the browser, these changes would be less significant because the request and response transport time is already quite small. But in a more widely deployed application, these changes make a noticeable impact. Your application used in patrol cars over wireless is a shining example of where these changes will makes a real impact.

-Lenny

Rich Hartnett
03-10-2008, 12:12 PM
Lenny that's great, and I plan to try it out today, to see if there is really any noticeable impact.

Incidentally, am I required to re-publish all of the v8 files in v9 in order for the increased speed to take place, or no?

NoeticCC
03-10-2008, 12:48 PM
In all but the smallest of pages, you should see a meaningful improvement.

However, V9 Platinum also has a lot of Ajax functionilty. While this does require some Xbasic programming, Ajax applications can perform exceptionally well.

See the sample Web app that ships with V9 for a demo.

I am not certain but I don't think the latest build includes these yet...

Lenny Forziati
03-10-2008, 02:39 PM
Incidentally, am I required to re-publish all of the v8 files in v9 in order for the increased speed to take place, or no?

You should not have to republish. Our demo server has the V8 sample pages published to it and that single webroot is used by both a V8 and a V9 server. Each server runs on a different port and allows for a direct comparison of the two versions on the identical system.

V8 sample pages: http://afas.alphasoftware.com:8080/SamplePages/

Exact same pages served by the exact same hardware but by V9 Application Server: http://afas.alphasoftware.com/SamplePages/

Rich Hartnett
03-10-2008, 02:41 PM
Thanks Lenny.

NoeticCC
03-10-2008, 02:44 PM
You should not have to republish. Our demo server has the V8 sample pages published to it and that single webroot is used by both a V8 and a V9 server. Each server runs on a different port and allows for a direct comparison of the two versions on the identical system.

V8 sample pages: http://afas.alphasoftware.com:8080/SamplePages/

Exact same pages served by the exact same hardware but by V9 Application Server: http://afas.alphasoftware.com/SamplePages/
Thanks that is a great way to compare the performance :)

MikeC
03-11-2008, 02:15 AM
Andrea.....or...,

The only places I can notice a speed increase is in the loading of the images (flower area)...actual page loading via miscellaneous links All are slower in the version 9 than the version 8 server....not, I assume, what is supposed to be happening!!

Just noticing is all...doesn't affect me in the least--yet.

NoeticCC
03-11-2008, 11:59 AM
Andrea.....or...,

The only places I can notice a speed increase is in the loading of the images (flower area)...actual page loading via miscellaneous links All are slower in the version 9 than the version 8 server....not, I assume, what is supposed to be happening!!

Just noticing is all...doesn't affect me in the least--yet.

How peculiar, what browser do you use? It may be that it's not gzip enabled? For me the V9 ones load almost instantly, whereas the V8 version has a bit of a lag, that's for all pages not just for the ones with images on.

Rich Hartnett
03-11-2008, 12:17 PM
Honestly I didn't see any noticeable difference on any of my tabbed gridlinker applications either, in fact in some cases, they appeared to open slower.

Do I need to do something to the browsers to make this work better?

NoeticCC
03-11-2008, 12:35 PM
Honestly I didn't see any noticeable difference on any of my tabbed gridlinker applications either, in fact in some cases, they appeared to open slower.

Do I need to do something to the browsers to make this work better?

I don't know whether the built-in app server for the Beta actually has the same improvements as A5V9 WAS will have... just publishing the same app to a V8 server won't make any difference

mmaisterrena
03-11-2008, 02:33 PM
same as Rich, I dint notice any speed improvement just by using v9 web server on my v8 files

NoeticCC
03-11-2008, 03:05 PM
same as Rich, I dint notice any speed improvement just by using v9 web server on my v8 files

Does the Beta now include a separate web server or am I right in thinking that the Beta/trial version of Alpha 5 doesn't contain the full/same WAS as the standalone WAS application? I don't know if GZIP comes into play if you're only viewing something from localhost anyway...

Rich Hartnett
03-11-2008, 04:01 PM
No I think I have the full version, which includes the V9 desktop and V9 Web Application Server. I have tried running my current applications through both the V8 & V9 WAS, and haven't seen any noticeable difference, but I really have high hopes for an increase in performance, so it's possible I need to tweak something before I will see the difference.

I'll communicate with Richard, Selwyn or Lenny to see if there is anything else I need to do, and report back.

NoeticCC
03-11-2008, 04:16 PM
You should not have to republish. Our demo server has the V8 sample pages published to it and that single webroot is used by both a V8 and a V9 server.

Just to point out, some features DO need the Javascript to be published/updated for the features to work properly. This can be done manually of course but it's worth mentioning... one can waste a lot of time trying to figure out why new features aren't working :)