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

Server Sizing

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

    Server Sizing

    We just (finally) purchased ver 9. We will also be purchasing a new server dedicated to our Alpha systems. There are ~200 users banging awat at our systems, and most of our main tables are over 100K records. We do "batch" routines at night on the server itself. I don't have an actual count of the table sizes or their relative amount of activity.

    What I would like to know is is there some rule of thumb that anyone uses to determine the extra disk space required as well as the processor speed.

    I know, I know, bigger disks, more memory, and faster processor. What I really need is to know if anybody has a feel for how much more we should figure?

    #2
    Re: Server Sizing

    Tom,

    I don't do what you are doing and most of my operations are done on the fly. Also, I don't have 200 people banging away at a time either.

    When we did do something similar with lots of records in another program. We made sure there was 3 times the size of the tables being worked on. In other words, if the tables were 1 megabite, we reserved at least 4 meg to cover any possible need. Since only the data was on the server, the operations were run from a dedicated worstation that worked directly on that data. We never knew what kind of server our data tables were going to reside on.

    The first step was always a backup to the dedicated workstation.

    You did not mention the server. Is it a windows machine, Unix, linux, or?? for instance a windows machine, could have alpha on it and operational so it could do the work from a seperate adb at night. If it is a unix or other, the dedicated work station would come in to play.

    Memory: It seems to me like a 4gig job.

    Speed of the hard drive and it's bandwith might be a greater concern than the space. Working with smaller apps than yours, we noticed a difference with faster drives with greater bandwidth like ide to asa was a big help. Possibly a scsi would be best and it can be run all the time, and it sounds like it will be running 24-7. With that much activity and data, a mirrored hard drive might be good.

    You did not mention it, but is your server going to have more than one processor. I believe I heard V9 can use more than one processor if properly set up. There is a thread on here about that.

    At least all the supporting files will be on the workstations so that takes a load off the server with shadowing.

    These are my thoughts and I want to see what others say. Please post here how it works out and what you decided on?


    .
    Dave Mason
    [email protected]
    Skype is dave.mason46

    Comment


      #3
      Re: Server Sizing

      Dave,

      Thanks for your reply. We are going to be using a Windows server, most likely with multi processors, and a scsi raid 5 disk layout.

      We currently are using a big Dell with multi zeon processors and a raid 5 disc array. The machine is becoming old and close to unreliable, so we are just fishing for some responses.

      Since we have the app server software, we might be looking to use that as well.

      If Alpha can answer the question as to whether the software will actually take advantage of multiple processors or not, we should be set.

      Tom

      Comment


        #4
        Re: Server Sizing

        Originally posted by Tom Henkel View Post
        Since we have the app server software, we might be looking to use that as well.
        You might want to look at a combination of both, e.g. using a desktop app that has HTML content hosted on your web server, which gives you the best of both worlds - and changes to the web content can be made without needing to upgrade an individual user's local copies of files etc. :)

        As far as data is concerned, a SQL back end might work better for you, in which case you can have a "pure" client server app (with some web server interfacing, for example to check versioning etc) where each install is just on the user's machine and data is stored on a SQL database without the need for any other files to be hosted centrally.

        Comment


          #5
          Re: Server Sizing

          Andrea,

          Thanks for your reply. We will, probably, look into going to the SQL back end, but not necessarily right away. We want this to be a quick swap as we can't have the system down for the users.

          Comment


            #6
            Re: Server Sizing

            Originally posted by Tom Henkel View Post
            Andrea,

            Thanks for your reply. We will, probably, look into going to the SQL back end, but not necessarily right away. We want this to be a quick swap as we can't have the system down for the users.
            I have to say that as long as the tables are created from Alpha5, conversion to say mySQL has been astonishingly painless for ourselves as well as those who have posted on here about this... :)

            Comment


              #7
              Re: Server Sizing

              from what I've heard, switching a large app like Tom's to sql would require a lot of work. Like field rules don't work, scripts, queries, etc. would all have to be redone.

              as regards Tom's speed, if he uses a gigabit 10-1000 lan rather than a 10-100 lan, would that make a difference in performance?

              my own philosophy has always been that once you reach 1/2 disk capacity, its time to get a bigger drive. I always use the 15,000 rpm sccsi's
              Cole Custom Programming - Terrell, Texas
              972 524 8714
              [email protected]

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

              Comment


                #8
                Re: Server Sizing

                I wonder who will be the first to take the plunge? Those of us with big, mature apps are in something of a bind. The move to an SQL back end looks very inviting from the distance, but as you get closer it's a lot less attractive.

                Unless you have a compelling reason to do so or decide that a complete rewrite of an application is in order, the effort involved isn't worth it. It's not just a matter of exporting the tables to MySQL. Everything in the app will have to be modified/rewritten.

                Fortunately, V9 has other benefits besides SQL, so it's still a worthwhile upgrade.
                Finian

                Comment


                  #9
                  Re: Server Sizing

                  Finnian, I'm having slow performance on a 2003 server, where we have 10-100. Do you think jumping to a 10-1000 would make an appreciable difference? It seems like it would. But I've never done it before, so I don't know. I figure we can bump a 15 workstation system for less than 2,000, which would be cheap if we get a big boost in performance.
                  Cole Custom Programming - Terrell, Texas
                  972 524 8714
                  [email protected]

                  ____________________
                  "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: Server Sizing

                    We can't realisticlly go to a gigabit lan. It would require too many PC upgrades not to mention the 3 rooms of switches.

                    Gigabit would be great, but you also must see if the wiring that is in place can handle it.

                    We will use 2 lan cards in the server connected directly to a 100MB port on a switch.

                    Comment


                      #11
                      Re: Server Sizing

                      thanks Tom

                      in this case there are only 15 w/s's and the greatest distance is about 150', so we can easily pull all new cat 6 lines, although I am told that cat5-e will work just fine.
                      Cole Custom Programming - Terrell, Texas
                      972 524 8714
                      [email protected]

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

                      Comment


                        #12
                        Re: Server Sizing

                        Our wiring was here before me. enough said...

                        Comment


                          #13
                          Re: Server Sizing

                          Depending on how the current A5 application is written, I don't believe it would be a total rewrite to move it to client/server.

                          The basic structure of the forms, reports, etc, would be able to stay the same or similar, however xbasic code, etc would very possibly need to be changed. You also wouldn't have to select indexes, pack tables, etc.

                          It wouldn't be simple, but definitely doable. It would be an interesting thing to work on.

                          If someone has a completed app that they would like to move to client/server, let me know. I would entertain the thoughts to contract to do it. All my consulting is done with a complete satisfaction guarantee, so you can't lose. I can let you know if I don't think it would be feasible, though I suspect it can be done. I'm currently rewriting 2 internal apps from Access and Real Basic over to A5 Client/Server, and though I'm not completed yet, I'm happy with the results so far. Taking an existing A5 app and converting to Client/Server would be easier than what I'm doing now.

                          My expertise is MySQL, however I have knowledge in PostgreSQL, though I really prefer MySQL at this point.
                          I have also used Sqlite however not much with A5 yet.


                          Alan
                          Last edited by asawyer13; 09-03-2008, 02:56 PM.

                          Comment


                            #14
                            Re: Server Sizing

                            You need to assess the nature of your application and the types of read/write activity which it generates, i.e. more writes or more reads as well as sizes of typical data writes. Without really knowing anymore about your application I would recommend RAID10 over RAID5 almost invariably. It is more fault tolerant and is generally much faster in overall performance, particularly in smaller data writes. The only real downside to RAID 10 is that you need minimally twice hard disk capacity for what you have in mind as your storage requirments. That means it is more somewhat expensive than RAID 5, buit not exhorbitantly so. Knowing nothing else about your application or budget, I would be inclined to utilize a 4 drive RAID10 setup rather than a a three drive RAID 5 setup. I would also think real seriously about adding a fifth drive as a hot spare for rebuilding a failed drive. Also make sure that you have both a dependable UPS adequate battery life for the server and auto shutdown software, plus a reliable backup device, whether removable storage or online. I'm not so sure that your performance will be affected as much by choice of ethernet speed as it will be by the RAID. Converting to SQL running on the server would undoubtedly improve speed, but at the cost of the convsersion time and expense from the DBF format. I'm not qualified to address that aspect being pretty much still a neophyte with A5.

                            Comment


                              #15
                              Re: Server Sizing

                              Never thought about the raid 10 setup. I have forwarded it on to our Hardware person. He will be doing the final configuration. We always run a nightly backup, and we have 6 hours of battery backup on our whole room UPS.

                              Comment

                              Working...
                              X