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

Used by a large number of users at the same time

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

    Used by a large number of users at the same time

    Hi everyone,

    I'm using a classic application server here.
    We have around 200+ users using it literally at the same time.
    The server won't load.
    Is there any issue with my design or some settings I need to set for circumstances like this?

    Thank you

    #2
    The question should really be - these are the parameters of my design, I have .... and ... and ... and my database is ... and and my server is ... and the server won't load. What should, I do?

    Then there is a question to answer. And I will answer you.

    Pete



    Insanity: doing the same thing over and over again and expecting different results.
    Albert Einstein, (attributed)
    US (German-born) physicist (1879 - 1955)

    Comment


      #3
      Like Pete said. What version of Alpha are you running? What database? Do you use load balancing? Is this a recent problem? Did something change recently?
      Mike Brown - Contact Me
      Programmatic Technologies, LLC
      Programmatic-Technologies.com
      Independent Developer & Consultant​​

      Comment


        #4
        Hi Pete and Mike,
        Thank you for responding.
        Sorry, I'm new to this kind of thing.

        I'm using Application Server build 4583-4662, SQL Server 2014.
        Running on Windows Server 2019, Processor: Common KVM processor 2.99 GHz (4 processors). 16GB RAM
        Hosting on Cloudflare.
        I set Server Threads: Start 16, Maximum 64, Minimum spare 8, HTTP Keep Alive disabled, and anything else I set on default

        Recently we added a new function, mobile web view.
        Our client used it for check-in attendance. when many people try to sign in around 9 PM, the site won't load on their phone, even the login page.

        At first, we are using Geolocation and then callback to javascript to collect data and then callback to xbasic to store the data in the database.
        Today I remove the geolocation, so it directly callback to xbasic to store the data in the database, but it still happened, the site still won't load.

        Should I add more processor cores?

        Thank you​

        Comment


          #5
          It may be possible to change some of what you're doing and manage with a single instance. You may want to engage someone who has some experience in this kind of thing to look for ways to lighten the load.

          Your license probably allows up to 4 instances. This can be achieved in a few different configurations. And you need a load balancer when you do that. The load balancer should recognize session affinity. Your experience strongly suggests that you consider more than one instance.

          You're also running a very old Alpha Anywhere build. Upgrading isn't always easy, but definitely recommended here.

          -Steve
          sigpic

          Comment


            #6
            Hi Steve - good advice.

            when many people try to sign in around 9 PM, the site won't load on their phone, even the login page
            So are you saying it would run on a pc in the browser?

            Also what do people call you by name?



            Insanity: doing the same thing over and over again and expecting different results.
            Albert Einstein, (attributed)
            US (German-born) physicist (1879 - 1955)

            Comment


              #7
              Thank you, Steve. I'll try to research this, even though I do not completely understand.

              Originally posted by peteconway View Post
              So are you saying it would run on a pc in the browser?
              No, it won't load on PC too, everyone can't access it on any device

              Originally posted by peteconway View Post
              Also what do people call you by name?
              You can call me Antony​

              Comment


                #8
                Cheers - Hi Anthony - what was the last thing you did before it stalled and what is CPU and Memory in Task Manager on the server?
                Insanity: doing the same thing over and over again and expecting different results.
                Albert Einstein, (attributed)
                US (German-born) physicist (1879 - 1955)

                Comment


                  #9

                  I am not familiar with Cloudflare, but we use AWS and I can provision a high end server (the kind I could not afford to leaving running 24/7, but great for testing and only turning on when you need it) and simply launch my current server image onto the instance in a few minutes. A few DNS tweaks,IP changes and bring over current DB backup, you should be up and running and can rule out resource limitation. Based on the size and sophistication of cloud flare, I am sure they have this as an option.

                  Dovetailing what Pete asked, I assume you have logging on for the server. I would also take a look through the event logs for the server itself in Windows server 2019. The newer version of the alpha application server shows thread / utilization which is helpful.

                  Wayne
                  Last edited by WayneH; 12-06-2022, 03:01 AM.

                  Comment


                    #10
                    Originally posted by tibanker View Post
                    I set Server Threads: Start 16, Maximum 64, Minimum spare 8, HTTP Keep Alive disabled, and anything else I set on default
                    Is there a particular reason that you turned HTTP Keep Alive off? Doing so will hurt performance and is not recommended.


                    Lenny Forziati
                    Vice President, Internet Products and Technical Services
                    Alpha Software Corporation

                    Comment


                      #11
                      Hi Everyone,
                      Thank you for all the response

                      Originally posted by Lenny Forziati View Post

                      Is there a particular reason that you turned HTTP Keep Alive off? Doing so will hurt performance and is not recommended.
                      I read on this forum somewhere that it'll help. Can you explain more about this?


                      Right now, I have improved the check-in process and it helps. But I remove the Geolocation function now.
                      I'm afraid that it'll happen again if I attach the geolocation.
                      Any suggestions about what I need to set to make the geolocation process faster and lighter?

                      Comment


                        #12
                        Any suggestions about what I need to set to make the geolocation process faster and lighter?
                        Not without knowing what you are doing? Also if Lenny speaks to an issue on this board - you should listen, than act.
                        Pete
                        Attached Files
                        Insanity: doing the same thing over and over again and expecting different results.
                        Albert Einstein, (attributed)
                        US (German-born) physicist (1879 - 1955)

                        Comment

                        Working...
                        X