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

  • Home
  • SEARCH
  • 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 8018723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:11:42+00:00 2026-06-04T21:11:42+00:00

I went through some questions here on Stack Overflow about how to get MySQL

  • 0

I went through some questions here on Stack Overflow about how to get MySQL data in real-time. Someone suggested using websockets, and someone else suggested AJAX. I tried AJAX, and it works, but with firebug I see that the client makes a request every “n” seconds. I made a similar test with Facebook, and I realized that the client makes the request only when data is actually added to the database.

I am wondering if using AJAX will overload MySQL server with too many requests, considering that a User A may needs to see updates from more than 100 users, and those 100 users need to see updates from more than another 100, while using websockets may mean that there are fewer requests.

Is that achievable with websockets? Has anyone already tested http://nodejs.org ?

  • 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-06-04T21:11:43+00:00Added an answer on June 4, 2026 at 9:11 pm

    Have you looked at Socket.IO? http://socket.io/

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

Sidebar

Related Questions

I went through a lot of questions here, but it is still unclear. I
Apologize if this is answered already. Went through some of the related questions and
I went through some tutorials on the State monad and I think I got
I went through the dev portal provisioning process twice now trying to get it
I went through couple of articles that talk about Web Workers in HTML5 and
There are a bunch of questions like this. I went through most of them
I went through so many topics asking about Why does release build fail and
I have recently started studying Google Web Toolkit. I have went through some walkthroughs,
For some time I noticed that MySQL would append comments to InnoDB tables that
I´m working with ASP.NET MVC and went through some code and the syntax below

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.