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

Terminal Services - maximum users

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

    Terminal Services - maximum users

    Hi,

    I have my app hosted using terminal services. I may have 8 instances of the runtime running at any one time, with 2-3 users on each, for a total of 20 users logged in and running my app.

    I'm getting complaints about speed. Has anyone got any data on the capabilities of Terminal Services. I have a call into my hosting provider to find out about adding resources.

    What experiences have others had with terminal services and the number of users and resources provided by the hosting company. Are 20 concurrent users too many?

    Thanks,

    Tom

    #2
    Re: Terminal Services - maximum users

    Alpha Five is a single threaded application. It used to be multi-threaded in v5, I believe. A single threaded application can only run in a single location (core) at any given time. Hence, it cannot use the other cores or processors.

    In Performance Monitor, add Processor Queue Length and Context Switches to see if the system slowdown is caused by processes waiting to be executed. Looking at task manager, the CPU only shows what is currently running. You need to see what's waiting to be processed.

    You can assign instances of Alpha to a certain core (processor).

    Comment


      #3
      Re: Terminal Services - maximum users

      tome,

      are you running shadowed tables or trying to bypass that system and going direct.

      Going direct, all the forms, reports, data, etc have to be generated and a lot of traffic is going across your network. If shadowed, you would only be calling the data across the network. It does work faster.

      I have almost forty users on one of mine and about 20 are on there most all the time and they notice no slowdown. One of the other regulars on here has well over a hundred on his app and I believe they run 24-7. They also have the resources to handle what they need.

      I do have another question: how is it you have 8 instances of runtime and 2 to 3 per instance? I just don't understand what you mean by that.
      Dave Mason
      [email protected]
      Skype is dave.mason46

      Comment


        #4
        Re: Terminal Services - maximum users

        Dave,

        You may have the answer to my problem. I thought when hosted on a server, using TS, each user constituted a "session".

        My app is running entirely on the server. No shadows. So users are just "viewing" what happening on the server.

        Do I not have it setup correctly? Where would a shadow reside - on the local computer or on the server?

        Thanks,

        Tom

        Comment


          #5
          Re: Terminal Services - maximum users

          Hi Tom,

          I do not use Terminal Services, but look below.

          Look at the below URL, it pretty much describes making a shadow from each PC that the runtime is installed on.

          http://wiki.alphasoftware.com/Network+Optimization

          Also called Network Optimization.

          Regards,

          Ed

          Comment


            #6
            Re: Terminal Services - maximum users

            You do have it set up correctly. Each user can be thought of as a virtual machine.

            Using T/S and Alpha you can assign different users to different cores - see the number of cores in "My Computer" properties. This will improve performance. (One way is to query the MUF file)

            However, at some point you will need to set up a server farm - two or more subservers where groups of users log in to one of the subservers, and then you could shadow them to the main server, where the data is. It used to be in 2003 that you could only get about 12 users in T/S without significant degradation.

            Also, a lot of memory is needed - say at least 1 GIG per user. Normally, you would NEVER shadow T/S. The degradation is not related to Alpha, it is the load on the system from having many sessions.
            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


              #7
              Re: Terminal Services - maximum users

              Tom,

              I am not real familiar with terminal services(my fault- I should be). I have found a significant increase in performance with shadowed tables over direct as you seem to have it.

              When shadowed, the runtime sees all it needs on the local computer and the "tables" are really a path to the real tables on the server. This way, the application is working on the workstation and just retrieving data over your network.

              Without shadowing, every screen has to be rendered on the server and brought across the network(lots of traffic = time). everything that is done is the same way and so is the data from the tables.

              Maybe that is why you would need 1 gigabyte per user on your server.

              I have 4 gig on my dev machine and after loading 3 instances of alpha(3 diff apps), I sometimes get a message that system resources are thin. It happened today. I run xp3 so it only sees 3 gig memory.

              from Wikipedia:
              With terminal services, only the user interface of an application is presented at the client. Any input to it is redirected over the network to the server, where all application execution takes place.[1] This is in contrast to appstreaming systems, like Microsoft Application Virtualization, in which the applications, while still stored on a centralized server, are streamed to the client on-demand and then executed on the client machine. Microsoft changed the name from Terminal Services to Remote Desktop Services with the release of Windows Server 2008 R2 in October 2009.
              Last edited by DaveM; 06-05-2013, 09:54 PM.
              Dave Mason
              [email protected]
              Skype is dave.mason46

              Comment


                #8
                Re: Terminal Services - maximum users

                Dave, there is no "network" with T/S. If you have ever used something like logmein or joinme, then think of T/S as Logmein on steroids. You send keystrokes and receive screen refreshes. But there is no application on the client machine - only a "shortcut" to open the app on the server.

                Everything happens on the server, not the remote client. Shadowing T/S would be counter productive, except in a server farm setup. I've been running several clients with T/S for several years.

                One user may be in the next room, and another may be 1000 miles away. It is very very fast, if it is properly setup and with the necessary memory, etc.
                Last edited by martinwcole; 06-06-2013, 12:05 AM.
                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


                  #9
                  Re: Terminal Services - maximum users

                  I did understand it as you said Martin.

                  I was merely stating the difference with shadowed and non shadowed as per memory needs in my own way.

                  A decent sized alpha app on windows seems to use close to 80% of a gig. Since alpha on any server would be assumed to do the same, it should compute close to 1 meg per user.

                  My point was to use a server to do server work and let the workstation do it's part. It all depends on the cost of that memory needed.

                  I know that I can place alpha data on a server with 1 gig of memory and let 20 people use it with no reduction is speed by way of shadowing. Can't seem to do that with no shadow.
                  Last edited by DaveM; 06-06-2013, 01:43 PM.
                  Dave Mason
                  [email protected]
                  Skype is dave.mason46

                  Comment


                    #10
                    Re: Terminal Services - maximum users

                    Tom, have a look at this thread I started years ago. I did a major test in a controlled environment. It may give you some answers:

                    http://msgboard.alphasoftware.com/al...al+server+test

                    Comment


                      #11
                      Re: Terminal Services - maximum users

                      Marcel, How did the final test come out and which was the best scenario for your circumstance?
                      Thanks
                      Dave Mason
                      [email protected]
                      Skype is dave.mason46

                      Comment


                        #12
                        Re: Terminal Services - maximum users

                        The test with power-users proved that a setup with a shadow on the runtime server worked best. We had the data on a multiple-disk storage unit, a runtime plus shadow on each TS-server and that worked pretty good.
                        In the end, the hardware investment is earned back because of the fact you don't need fat clients anymore and that also has it's effect on maintainability. Also other aspects chime in, like far better security because everything is concentrated in the server room instead of widely spread over many offices on many building stories.

                        Comment


                          #13
                          Re: Terminal Services - maximum users

                          Shadowing is only productive if there are 2 servers. Mronks example had the user log into one server, where he had T/S, and then shadowed to another server, where the app was.

                          Many users do not have 2 servers. I doubt if Tom has 2.

                          None of my clients have two servers - T/S 2008 R2 and the app are on the same server.
                          One of them put in a server with 184 GIG's of Ram, and we have users use different cores - they have 24 cores.

                          I think Mronk's approach might be better, since management of T/S is managed by one server, and the app (or a lot of it by another.) But it is more expensive.

                          One programmer working with Cosco, who had a budget of 700,000.00 for the project, had 175 concurrent remote users. But they had a whole bunch of servers. They were still using Server 2003, as I recall. 2008 is much better.
                          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


                            #14
                            Re: Terminal Services - maximum users

                            Thanks for all the comments. I am not using 2 servers, one 2008 setup.

                            Martin - You mention that the limit was about 12 users for a 2003 setup. Any idea what the limit is for 2008?

                            Would you recommend 1 gig of memory per user for 2008 also?

                            Thanks,

                            Tom

                            Comment


                              #15
                              Re: Terminal Services - maximum users

                              So bottom line, how many users can occupy one server under 2008 TS?

                              IF I add 1 gig per user, could 20 users be logged in at the same time? 30 users? What is the limiting factor.

                              Thanks ~ Tom

                              Comment

                              Working...
                              X