Building a chat - PHP
<p>I want to build a simple chat to my website (Like facebook).</p>

<p>I did everything great but I have one problem, curently the client ask the server if there is new messages in any chat any 2 seconds, and I don't believe my server will be happy to handle 15,000 per one minute. There is anyway that the server will send the client request to update the chat ONLY when there is new message that received?</p>

<p>The whole chat is bulit in PHP, MySQL and javascript.</p>

<p>Sagi</p>