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

Network deployment VERY SLOW

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

    Network deployment VERY SLOW

    I have 'improved' an alpha app that I created years ago. It has been running very fast when run on a standalone computer.
    I am now trying to deploy on a network...
    The original version runs quite well on the network... but the new version, set up the same way (RunTime on network computer and shadow application) with the data on a shared dedicated files server takes 3 to 5 MINUTES to load the main form and can take two or three minutes to add a record that would happen instantaneously on the standalone version.

    I have had the network checked.. it is a simple peer to peer and the techy folk say it is running well.
    They placed a monitor on the network and report that each time the alpha app is changing or updating forms the network traffic must handle between 400,000 and 600,000 packets...
    So
    The problem is the new Alpha app (other network apps have been running well).

    I thought the shadow setup would have taken care of this???
    I tried setting the app up so that that networked computers were running directly against the database, with no shadow)... no difference.

    Can anyone suggest a solution?

    Thanks!

    #2
    Re: Network deployment VERY SLOW

    I just did the same thing as you did TODAY.
    It takes about 0 seconds longer than locally to load
    it takes about the same as before to enter a new record and the data is much larger than it was before.
    it took 2.5 minutes to re-shadow.

    Largest table is well over 450,000 records

    I have a slow win7 being used as a peer to peer. 1700ghz, fairly fast HD with 1 gig memory.

    Wonder what is different? This was never set up as a direct with no shadow due to 40 users, so I have nothing to base on there.
    Dave Mason
    [email protected]
    Skype is dave.mason46

    Comment


      #3
      Re: Network deployment VERY SLOW

      If the database is networked optimized to the workstations then the support tables holding the form definitions, etc are stored on the workstations. It would seem impossible that the application would not load much more quickly and with less network traffic than if non shadowed.

      Have you verified that the users are actually connecting via the shadowed application and not through a shortcut to the non shadowed? Do your forms have complex filter and order expressions?
      There can be only one.

      Comment


        #4
        Re: Network deployment VERY SLOW

        David, I used Lightning Query optimization everywhere possible. That is where you include an index in the query/code where possible.
        I have very few tables over 120 fields
        short field names.
        tried to keep sets and dbf's to a minimum of forms, reports and the like.

        Don't know if all the work was worth it or if it helps you.

        A shadowed only gets data from the server, all the other files, including code, are in the shadow. 400,000 to 600,000 packets sounds like what Stan alluded to.

        Edit: to test what Stan said, just go to the runtime on the peer server and rename the alpha5.exe to something else and see who complains.
        It will have NO effect on the shadow users, but any direct users will be stopped cold.
        You may also see the packets drastically diminish.
        Last edited by DaveM; 08-25-2016, 05:01 PM.
        Dave Mason
        [email protected]
        Skype is dave.mason46

        Comment


          #5
          Re: Network deployment VERY SLOW

          Stan.... yes I have verified the shadow setup.

          I shut down some of the computers on the network and ran the application on a networked computer...

          This computer was running the app VERY slowly earlier today... it's the one where we detected 400K *- *600K *data packets every time a new form was loaded or a record was updated..


          It is now running the app lightningly fast!


          Any ideas???
          Last edited by David Boomer; 08-26-2016, 07:03 AM.

          Comment


            #6
            Re: Network deployment VERY SLOW

            Backups running or AVirus interference?
            Did you try turning off on machine at a time to see the effect?
            Might be one pc configured incorrectly.
            See our Hybrid Option here;
            https://hybridapps.example-software.com/


            Apologies to anyone I haven't managed to upset yet.
            You are held in a queue and I will get to you soon.

            Comment


              #7
              Re: Network deployment VERY SLOW

              Thanks Ted...
              Yes I checked with McAfee off and backup software disabled... no difference. Then I tried adding one computer at a time...
              That resulted in the mysterious results above... all 7 computers were running the app lightningly fast!
              I checked again this morning and 5 are running ok (not lighting fast but ok) and 2 are back to unusable... very strange?!
              I am beginning to suspect that it is the older computers with only 3 Gb RAM and older dual core processors that may be causing the problems. I will try to convince the folks to invest in 4 new computers.
              Anyone have a suggestion for specs? A5V12 RT, XL AND Word are the main programs along with backup (Cobian) and Antivirus.

              Comment


                #8
                Re: Network deployment VERY SLOW

                3 GBs of RAM might likely be the cause. I have unshadowed apps on networks w. no speed issues whatsoever.

                I would try upgrading the RAM if the machines support it before buying new machines.
                Peter
                AlphaBase Solutions, LLC

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


                Comment


                  #9
                  Re: Network deployment VERY SLOW

                  As an airplane pilot, when you move a control or switch and something goes wrong, the first thing you do is undo what you did. If everything was working fine until you installed the improved version of the application, then the problem is the improved version of the application. You do not say what "Improved" was. Same version of Alpha but just different coding? Different version of Alpha? While not impossible, I find it highly unlikely the network broke at the same time you installed the update.
                  Alpha 5 Version 11
                  AA Build 2999, Build 4269, Current Build
                  DBF's and MySql
                  Desktop, Web on the Desktop and WEB

                  Ron Anusiewicz

                  Comment


                    #10
                    Re: Network deployment VERY SLOW

                    Excellent point Ron.
                    3 gig should run most stuff.
                    Might be one of the installations is not letting go of the Db?
                    And. RT versions MUST be the same as the Dev version or you will have grief.
                    Check version on the server and each pc.
                    See our Hybrid Option here;
                    https://hybridapps.example-software.com/


                    Apologies to anyone I haven't managed to upset yet.
                    You are held in a queue and I will get to you soon.

                    Comment


                      #11
                      Re: Network deployment VERY SLOW

                      The app I spoke about above( post 2), the users are all on win7 with 2 gigs memory.
                      The server has 16 gigs memory.

                      I know you had IT check the system, but just a thought here that threw me on a deploy in Miami where speed was up and down. After almost a day of looking and asking questions, the problem was solved when we found a cat5 cable running to close to an unshielded transformer. When that light was on, the Lan crawled. When the light was off, it was wicked fast. AMAZING??

                      My question is: If it was fast and working, then later that day slowed on some computers, What change in the environment?
                      Last edited by DaveM; 08-27-2016, 01:53 PM.
                      Dave Mason
                      [email protected]
                      Skype is dave.mason46

                      Comment

                      Working...
                      X