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

Fast On Computer BUT Crawls from Synology NAS

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

  • Fast On Computer BUT Crawls from Synology NAS

    I am hoping someone can tell me what I have not done or need to do to get some speed with the workspace stored on a Synology NAS. Needing some help here to figure out why a workspace that works super fast from a desktop when the workspace files are stored on the desktop yet goes super slow from the same desktop when accessing the workspace stored on a Synology NAS (6 or more seconds to respond on form field). I will admit I am a complete rookie, but so far have found nothing on the Forum that gets me anywhere. What am I missing? What do I need to do to get this not to crawl over the Synology NAS. Also the initial start-up is very slow in comparison. I am hoping it is something very obvious I am just missing. I am using the Desktop Platform Version 12.4.5.2 Build 4770.

    Thanks for any help in this matter.
    Patrick

  • #2
    Re: Fast On Computer BUT Crawls from Synology NAS

    I looked up the data transfer rate of one Synology NAS and found it listed as 112 MB/s. The equivalent SATA3 hard drive transfer rate seems to be 600 MB/s.
    There can be only one.

    Comment


    • #3
      Re: Fast On Computer BUT Crawls from Synology NAS

      I think the operative letter in NAS is S(torage). Pretty much every write-up I've seen emphasizes that they are designed for backup rather than the sort of I/O operations you need to run an application.
      Finian

      Comment


      • #4
        Re: Fast On Computer BUT Crawls from Synology NAS

        Hi Patrick,

        A Synology or any other NAS- type device is intended for storage - files that wont get accessed that often. Your I/O as pointed out doesn't compare to your desktop or what a server would deliver.

        Comment


        • #5
          Re: Fast On Computer BUT Crawls from Synology NAS

          Sounds to me like you have the drives set to spin down after some period of inactivity. The wait is time for them to get back up to speed. Find the setting to keep them spinning all the time.
          Pat Bremkamp
          MindKicks Consulting

          Comment


          • #6
            Re: Fast On Computer BUT Crawls from Synology NAS

            Also, if you have your synology set to raid 5 or raid 10 it will be much faster.
            Pat Bremkamp
            MindKicks Consulting

            Comment


            • #7
              Re: Fast On Computer BUT Crawls from Synology NAS

              Thanks for your quick input. I will definitely check into issue with NAS verses server. I think I will do some comparison on it and see if I experience faster response time on I/O.

              Comment


              • #8
                Re: Fast On Computer BUT Crawls from Synology NAS

                I'll have my IT person verify that the spin down on the NAS is not occurring (at least during business hours). I have also done more testing and found the following:

                The amount of data being transferred from simply opening the database (.adb) and running a single query is around 275MB (bytes). It seems to me that this is a very large amount of data being sent/received to open a single record and modify a field (in this case a checkbox that updates two related records). I have tested this on a wireless (144Mbps), Gigabit LAN and local scenarios. The local and Gigabit scenarios are roughly the same waiting time of only a second or two. However, not all of the client PCs accessing the database currently have gigabit connections. Much, much slower on the normal connection.

                Is this a normal amount of data to be sent for a simple query such as this?
                Perhaps there is an optimization that needs to occur that I'm not aware of?

                Comment


                • #9
                  Re: Fast On Computer BUT Crawls from Synology NAS

                  It is the nature of working with DBF's and their indexing system, that when you open a table an enormous amount of data moves across the system making a large part of the table available for scrolling, accessing, etc. I would recommend using Alpha on the fastest possible system and drives.

                  I ran into an issue with an app I had running at a group of hospitals, back in version 8 where I was having a big lag opening a form and processing the info and then saving. A high level IT fellow used the most sophisticated monitoring tool I have ever seen to watch what was happening. As I duplicated the issue, and I watched the tool, an enormous amount of data was moving back and forth - of 50 megabytes - in just opening the form and populating it with data. I immediately decided that given what really happens (with the the OS and all the way down to the core processor as well as the language and data) it is a small miracle that it works at all!! Luckily, by modifying how I was doing things, I got it back to an expected speed.

                  If you have a small app, like your wife's favorite recipes or similar, no big deal for your current system; but, if you have a full blown business app, take a different approach.
                  Cole Custom Programming - Terrell, Texas
                  972 524 8714
                  martin_w_cole@msn.com

                  ____________________
                  "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

                  Comment


                  • #10
                    Re: Fast On Computer BUT Crawls from Synology NAS

                    I'm looking to move some low usage in-house apps to a QNAP NAS (celeron powered) later this week.

                    Tried this on a consumer level synology box for a client & that crawled along - You could see the record count incrementing painfully slowly when building reports, applying filters etc. I'm 99% sure the problem was processor as network and disk performance were fine for backups etc.

                    Comment


                    • #11
                      Re: Fast On Computer BUT Crawls from Synology NAS

                      So what are the modifications that need to be done to increase to expected speeds?

                      Comment


                      • #12
                        Re: Fast On Computer BUT Crawls from Synology NAS

                        Few questions.
                        What Synology server?
                        Are you using MONO?
                        Are you running any VC software on your Synology?
                        Do you run the whole application from the NAS or just the data?
                        Is the folder in the NAS set as a network connected drive on your Desktop?

                        I run a Synology via wifi and several distributed sata drives through a usb hub with no appreciable difference in speed.
                        Ted Giles
                        Example Consulting - UK
                        .

                        sigpichttp://ec12.example-software.com//
                        See our site for Alpha Support, Conversion and Upgrade.

                        Comment


                        • #13
                          Re: Fast On Computer BUT Crawls from Synology NAS

                          The Synology is a DS1517+.
                          We are not using MONO.
                          We are not using any VC software.
                          This is not a hosted alpha application, we are simply accessing the .DBF directly on the Synology via a mapped network drive.

                          After researching, my assumption is the way we've implemented Alpha has been optimized poorly for network access. Do you have any recommendations to optimize this?

                          Comment


                          • #14
                            Re: Fast On Computer BUT Crawls from Synology NAS

                            I'm on holiday until next Monday. Will reply then. Sorry for the delay, no wifi in the sticks
                            Ted Giles
                            Example Consulting - UK
                            .

                            sigpichttp://ec12.example-software.com//
                            See our site for Alpha Support, Conversion and Upgrade.

                            Comment


                            • #15
                              Re: Fast On Computer BUT Crawls from Synology NAS

                              Patrick, the installation I have on a wireless connection to my Synology runs very fast.
                              If you haven't done this already, create a network drive to the NAS, not through Quick Connect. Then copy all of the folders and files in your application to a specific folder on the NAS. You will need all of the files and not just the .dbf files.

                              It will react in the same way as a locally attached SATA or SSD drive.
                              I suspect you may have been trying to fire up the application in a different way.

                              Anyway, let me know how you get on or if you have fixed the problem some other way. I have not tried using the NAS as a shared application using RunTime.
                              Ted Giles
                              Example Consulting - UK
                              .

                              sigpichttp://ec12.example-software.com//
                              See our site for Alpha Support, Conversion and Upgrade.

                              Comment

                              Working...
                              X