Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6540843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:01:50+00:00 2026-05-25T11:01:50+00:00

I operate an online browser game that is very AJAX/database dependent, and the problem

  • 0

I operate an online browser game that is very AJAX/database dependent, and the problem I am encountering is excessively high latency during peak hours.

I’ve created a simple AJAX ping that checks the server in a per-second loop, and the execution/response times of the 5 most recent pings are averaged into a “Connection Speed” that is displayed on the screen.

Most times, this latency records anywhere from 100-350ms, depending on internet speed, the client’s other running webpages, and various other things. However, during peak hours on my server, namely 10PM-11PM EST, this latency becomes so bad that my AJAX functions stop working. The latency during these times can be around 2000ms, with some people seeing it as high as 6800ms.

My question is.. what would be the most likely cause of this? Is it a hardware issue on my server? Is it just unfeasible to create a browser game purely powered by AJAX? During these times, I often encounter issues on the server itself, with my control panel returning many “Cannot allocate memory for selected task” errors, yet when I run free through SSH, not even 10% of the RAM is being used.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:01:51+00:00Added an answer on May 25, 2026 at 11:01 am

    You are experiencing contention somewhere in your web app or database. This can be in so many places and therefore has so many possible resolutions that it is impossible to list them. Some of the things you can think about:

    1. No threads available to handle incoming requests because they are making synchronous calls to the database which will lock the thread until the database returns thus increasing latency
    2. Contention at the databse level. Are you using partitioning for your data to support true concurrency?
    3. Are you serving static content through your web app which could be retrieved as a directly addressable resource?
    4. Are you load balancing your web app?
    5. Are you using caching on the web app?

    It’s a bit like “how long is a piece of string?”

    Hope this helps some.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We current operate a datacenter that aggregates a bunch of login data and stores
I`m using Delphi 2009 and want to operate some XML data. I heard that
I have an application that will mainly operate in the background. I want certain
I have a collection of elements that I need to operate over, calling member
I am designing a piece of software that needs to operate different pieces of
I have a bunch of overloaded functions that operate on certain data types such
I want to develop a Facebook connect application that can operate both inside a
I have an applet that I'm running online and I want to make sure
I have created a few classes that operate separately from the normal aspx.cs files.
Are there any implementations of production rule systems that operate out of core ?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.