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 8378625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:58:14+00:00 2026-06-09T15:58:14+00:00

I am making a site where users will be able to chat with each

  • 0

I am making a site where users will be able to chat with each other in person-to-person chats and group chats like on facebook, and I would like to ask a few questions before I actually dig in and start coding.

I thought about creating the chat application with javascript, ajax and php, and the conversations will be saved with mysql (PDO with prepared statements connecting to the database). Are these good for doing an application like this, or are there some languages more fitting for this?

Secondly, I fear that if many users would be logged in at the same time, it would make the site slower. Is mySQL really a good RDBMS when there are many users on a site, and are there some methods like PDO but that are intended to do querys faster?

  • 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-09T15:58:15+00:00Added an answer on June 9, 2026 at 3:58 pm

    Your suggested solution with AJAX, PHP, MySQL and PDO is totally fine (as Michael Rice already said). But if you want a real chat that updates immediately, the disadvantage is that you need to constantly poll from the server (via ajax). Maybe you could take a look at WebSockets (link to js api spec, link to protocol spec). That would allow you to instantly update when a user says something in the chat. Then you would not even need to store the conversation server-side!

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

Sidebar

Related Questions

I am making a site that depend on users to register to be able
I`m making a site where users have to sign up. They will be contacted
I'm making a web site that users can build their TV watch list. They
On my site, users choose colors they want and after making their selections they
I have a web-site based on PHP, to which I would like to add
I'm in the early stages of making a blogging site where users can have
I'm using ASP.NET membership for a site that will serve primarily sophisticated users. I
I am making a site for a client and decided i would use code
I am making a site which allows users to sign up and record their
I want to be able to share videos from my Wordpress site to Facebook

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.