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

Help on Nework Speed

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

    Help on Nework Speed

    I have followed the Network Tips and Optimization, but I still get slow response from the POS app that I made. I only have 1 workstation accessing the server, every time I made a sale it is accessing the server slowly when I select Items and so much more if I am going to print the receipt for the sale that was made.Please recommend more tips on how to make an apha five version 11 run more faster on a 2 computer network setup.I am just wondering how experts here said they have an app that have a hundred or more users accessing the app in a Local area network. I think there is an issue wen the server goes to sleep or standby mode so I turned of the sleep to Never in the control panel of windows.

    #2
    Re: Help on Nework Speed

    Here are some tips from one of the experts in Alpha land.

    Your description is incomplete. But, it suggests that you have realtime (live) antivirus / malware processes running in the background. These should be disabled for the database folder on the server and for the shadow folder on the workstation.

    Comment


      #3
      Re: Help on Nework Speed

      Originally posted by Tom Cone Jr View Post
      Here are some tips from one of the experts in Alpha land.

      Your description is incomplete. But, it suggests that you have realtime (live) antivirus / malware processes running in the background. These should be disabled for the database folder on the server and for the shadow folder on the workstation.
      Thanks Tom, Prior to my posting of the thread, I have carefully read the link that you provided.I even reformatted the 2 computers, installed fresh operating systems both windows 7 professional and havent installed any other programs except the alpha five runtime. No anti-virus etc.I have checked the cables and other networking peripherals and even added an extra new lancard because I think the built in lancards are no good.Anymore suggestions please? BTW, is the performance of shadowed database the same when we are on the server executing the application?

      Comment


        #4
        Re: Help on Nework Speed

        Fast network adapter cards, and high speed cabling are important.

        Good design is also key. Data entry forms based on complex sets tend to run more slowly.

        Large tables load more slowly than small tables.

        Queries that are not using permanent indexes are slower.

        Ira's entire tips list should be studied. He has lots of good ideas for speeding up performance.

        I find shadow copy performance to be slightly slower than running the database locally. But my tables are pretty small, and my data entry forms are simple.

        You might try putting AlphaSports on the "server" machine, and then network optimizing it to the local workstation. Compare performance running the shadow against running AlphaSports directly on the server. If there's a huge difference I'd be worried about my cabling and cards.

        Comment


          #5
          Re: Help on Nework Speed

          Thanks again Tom, bottom line is that alpha five applications should run fast or very fast on a workstation if all the good design tips are followed and network peripherals are in good working condition? If we are going to follow the tips and hardware is good then having 50 users or more is not an issue? Please confirm this.Once it is confirmed then we will buy 2 brand new computers to change our CoreI5 existing ones that are 6 months old based on purchase date. We are going to buy Corei7 with good network cards and cables to make sure that there are no hardware problems.Maybe the problem is hardware because we have followed all the tips necessary to come up with a good alpha five app.If we are using the app on a single pc, it is fast enough.

          Comment


            #6
            Re: Help on Nework Speed

            50 POS workstations entering sales simultaneously? I am skeptical that you can do that satisfactorily with Alpha Five, using native tables. Have never attempted such a thing myself. Maybe others can chime in with their own experiences.

            Comment


              #7
              Re: Help on Nework Speed

              I guess, I am a bit frustrated because I could not get it to be faster on 2 computers with only 1 accessing the server. Hope I can at least make it fast with 1 user or 2.I'll wait for the purchase of 2 Computers with Corei7 Processor and 32 GB memory with 2 TB hard disk.I'll see if I can make it a bit faster. Thanks for the help Tom.

              Comment


                #8
                Re: Help on Nework Speed

                Best practise for POS is
                1. that each terminal WRITES sales info only, to their own, READ ONLY table/s. This is useful for cashing up, changing shift etc as well but mostly the speed. With 50 (i haven't done) but I would have them write these files "dropped" (ie not added) and even on the local drive
                2. item list tables formally indexed and READ ONLY
                3. With your 2 PC slow as you say, interrogate your code and explore with different methods (share that portion here). I dont think that sounds right as described. There need be no delay on lookup, print and append only sales detail lines.

                Comment


                  #9
                  Re: Help on Nework Speed

                  To begin with, "slow response" is a very subjective description. What exactly is "slow" or "fast" in they eyes of the OP?
                  Secondly, I remember OP posting a thread in exactly the same subject not too long ago, where several tips were given.

                  As more often the question is only a few lines of text, but one could write books on the answer.

                  Jetli, did you hard test the speed of the network without even a database being in the equation? With other words: is/was the network OK before you even started with A5?

                  The best way to solve any problems with networking is to start at the very beginning and go from there step-by-step eliminating the most obvious possible culprit first and then go to the second and so forth.

                  Comment


                    #10
                    Re: Help on Nework Speed

                    Originally posted by mronck View Post
                    To begin with, "slow response" is a very subjective description. What exactly is "slow" or "fast" in they eyes of the OP?
                    Secondly, I remember OP posting a thread in exactly the same subject not too long ago, where several tips were given.

                    As more often the question is only a few lines of text, but one could write books on the answer.

                    Jetli, did you hard test the speed of the network without even a database being in the equation? With other words: is/was the network OK before you even started with A5?

                    The best way to solve any problems with networking is to start at the very beginning and go from there step-by-step eliminating the most obvious possible culprit first and then go to the second and so forth.
                    Yes, I did test it and it is fast when I was beginning to add records, it is getting slower when more records are added.If this is the case, then I will delete sales data everyday so that it will be fast everyday.

                    Comment


                      #11
                      Re: Help on Nework Speed

                      What I would be looking into Jet, is why more sales records are slowing it down significantly.
                      Sales records in POS would traditionally simply append. Speed would not be affected noticeably.

                      Generally an "end of day/shift" procedure SHOULD do some updates and purge to history anyway.
                      No performance hit should affect invoicing. I often run pos offline from the server when remote, and connect to update both ways.

                      Comment


                        #12
                        Re: Help on Nework Speed

                        1- How did you test the network, with what type of equipment and what were the measurements on speed you concluded on? How "slow" exactly does it become when records are added?
                        2- Assuming the network hardware is correct and your observation about speed dropping when records get added is correct as well: check the design of your indexes. What indexes do you have, how many on which tables. Check if they are really necessary and if they are well chosen design-wise. This looks like an index related matter. But:
                        3- Before you do so exclude corruption due to all kinds of development activities: run a compact database from the CP.

                        Comment


                          #13
                          Re: Help on Nework Speed

                          Originally posted by Ray in Capetown View Post
                          What I would be looking into Jet, is why more sales records are slowing it down significantly.
                          Sales records in POS would traditionally simply append. Speed would not be affected noticeably.

                          Generally an "end of day/shift" procedure SHOULD do some updates and purge to history anyway.
                          No performance hit should affect invoicing. I often run pos offline from the server when remote, and connect to update both ways.
                          Ray, How do I purge to history? What do you mean by "run pos offline from the server when remote, and connect to update both ways"?

                          Hope you can share a sample app on how you implement it.

                          Found a solution for my problem, I deleted all the 1,500 sales details and 700 sales header and the app was fast again. I will try to talk to the user if they are going to allow me to put a button to delete their sales everyday so that their sales transactions will be faster.
                          Last edited by JetLi; 02-10-2013, 09:04 AM.

                          Comment


                            #14
                            Re: Help on Nework Speed

                            Jet
                            you are skirting the issue. WHY are sales slowing down with only 1500 transaction records?
                            They need not be parsed during invoicing, just appended to - read this sentence again.

                            Can you explain what else you do with these transactions during invoicing.

                            Comment


                              #15
                              Re: Help on Nework Speed

                              Originally posted by Ray in Capetown View Post
                              Jet
                              you are skirting the issue. WHY are sales slowing down with only 1500 transaction records?
                              They need not be parsed during invoicing, just appended to - read this sentence again.

                              Can you explain what else you do with these transactions during invoicing.
                              I just do a lookup to the products table, and post the qty sold to the qty on hand. nothing more and nothing less.if there are no records yet on the sales header and sales details, it takes about a sec to scan the barcode and display the item, price and the total. as sales are accumulated, I can notice the change starting from 200 records, if I scan a barcode with that number of sales details, it will now take 2 sec, and of course as sales are again accumulated, it will be noticeable, and by 1500 sales details and about 300 sales header entry, I can notice the change to be 4 sec. Doing sales using a barcode and waiting for 4 sec before scanning another item is too long.But if I am going to use the server as the stand alone POS, the 1500 records will take about 2 sec to display the Item, price and total.

                              Comment

                              Working...
                              X