what are true steps to make my phplive chat(one to one) be more fast and flexible ?
hello ,
i maked simpe php livechat (one to one) using php&jquery ,
i use jquery to send every 1 second request to mysql to fetch any last new chats and paste it in the chat screen , but i thing it late some thing , and cause the browser to be slowely some thing , so help me with your ideas to improve my script , i think to save any new chat in javascript variable and paste direct in the chat screen , and every 10s send request to insert new chats in the mysql , but i don't know if this method is save or no
You may need to adjust webserver and database configuration to handle the potential large number of concurrent connections(one for each user until they leave).
Bookmarks