Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Speed issues of WAS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Speed issues of WAS

    I have a server that I have installed my copy of WAS onto with the following specs:
    HP ML350 dual 3.06Ghz Xeon processors, 2GB ram, (3)SCSI drives RAID-5, Windows 2000 Server SP4.

    We use this server in our LAN environment only. 100mb nics and fiber to connect adjacent office building with 100mb ability once there.

    Application #1 has 418kb dbf file size with 1568 records in it. No relations, tabs etc. A simple flat file.
    Application #2 has 70kb dbf file size with 645 records in it. Again, no relationships, tabs or fancy forms/html pages.

    Could someone tell me if it is the normal performance to have a 15 second average delay in navigating to the next screenfull of data on a grid layout while logged on with no other users on the network? I feel that this is too long given the size of the tables.

    I have searched the 2 WAS forums for this but the topics get into "rebooting the server" for a fix or to "download the latest patch just uploaded by Alpha".

    Is this a Alpha5 WAS related issue which will get better with future development? Could someone that has compared the speed of the WAS vs Data-2-the-Web comment on the performance results?

    I really like the interface of WAS in building the apps and would "tuff it out" until v8 or a client/server release if I can be assured that the speed is going to improve. I feel that 4-6 seconds on a page refresh is the norm for user acceptance.

    Please share your thoughts.
    Last edited by George Corder; 03-21-2006, 06:38 AM.

    #2
    15 seconds is not normal performance, but not unusual either. Actually, many users would consider 4-6 seconds as too slow. There are many factors that affect speed. Data file size is typically not one of them.

    First, the server must build the page HTML code. That speed is affected by the processor (your�s should be fast), the speed of the server architecture (the WAS) and the complexity of the page. There is constant work going on to increase the speed of the WAS server and the code to build the page. As far as WAS vs Data-2-the-Web, the only difference is the data source as both use essentially the same code to build the page. In the Alpha WAS, there was a change made in a later build to improve the speed of large pages. You should be running the latest build for best performance.

    The biggest impact on construction speed is the complexity of your pages. A very simple view only page may take less than 1/2 second to construct. A very complex edit page with grid linkers, large grids with lots of data, and multiple dropdowns that must be populated may take much longer. I have seen some very complex pages take up to 10 seconds or more to build. This speed change is not necessarily linear. Sometimes just removing a few dropdowns, or a few rows, or a few fields, can have dramatic speed increases. For example, the break point in a grid where speed begins to drop off is about 10 rows.

    The second speed hit is sending the finished HTML to the client computer. This is essentially a text file download, so it is dependent on the speed of the network (not usually a problem on a local network) and the size of the file. Again, a large, complex page may create a large file to download. This file is downloaded on every page request. A rule of thumb used by some web designers is that the final HTML source code for a page should not be more than 64K. I have seen some complex pages with source code sizes over 250K. They are very slow to transmit.

    The third speed hit is the time to render the page on the client computer. In almost any modern computer, that should be fast, even with large, complex pages.

    All of these impacts affect any web product. Some are slightly faster or slower, but the main speed impact in any web project is the complexity of the page design. I once saw a page built in a popular competing product take almost a minute to render, simply because of the page design.

    There are a couple methods to find the source of any slowdown. First, publish the project to a folder on the development computer and run it there as localhost. You can see the same effect using LivePreview. If the page is fast here, but slow when accessed from another computer, you may have a network issue. However, it is more likely that the speed issue will show running locally. Try simplifying your pages. Run each component in the browser preview to see if any are significantly slower than others. Try to limit the amount of data on any page. A common technique (also used on the desktop) is to make a grid view only, and then either use an editable detail view or link to another page with editable detail.

    The main goal is to reduce the size of the page. This will dramatically impact speed in every area. It is better to use multiple pages, rather than putting everything on a single page.

    Comment


      #3
      Thank you Jerry. I have one page that is slow set to 100 records per page. I have tested this with varying row counts and get:
      20 records ~ 5 seconds to load from page to page
      50 records ~ 9 sec
      100 records ~ 16 sec


      Thanks for the rundown. I will test with the localhost.

      Comment


        #4
        George,

        Jerry, with his great expertise, is explaining the processes the browser/server must go through to render a WAS page, thus, in part, explaining the slowness issue. Personally, I have a simple mind about such things. For example, when I enter a search in Google, I get instant results; no waiting. Similarly, my Gmail account runs just noticably less than desktop speeds; but it's pretty fast. Nice! Of course, Google employs AJAX and probably other techniques that make it whiz-banger fast. When ALPHA releases ver. 8 in the future, they say they will employ AJAX. Thus, it should also be very fast. In the mean time, one has to endure the slowness, I suppose.
        Last edited by Peter.Greulich; 03-21-2006, 12:46 PM.
        Peter
        AlphaBase Solutions, LLC

        [email protected]
        https://www.alphabasesolutions.com


        Comment


          #5
          Right Peter. I guess with Google's resources development comes at a much faster pace. I thought about delving into the PHP/MySQL path, but I know that Alpha is working on newer versions and better capabilities for the near future and I would much better work in the interface that they have built for us.

          Comment


            #6
            Actually, nearly any web product goes through the same process to create, send, and render a page, regardless of the server technology or the structure of the database. Google does use some interesting methods, but their main advantage is computing power, and the fact they keep the amount of data on a page to a minimum. They have some very fast servers that are optimized just for their application. In Alpha, each page is essentially a custom page built on demand, which does have a speed impact. Google is not a fair comparison.

            Comment

            Working...
            X