1

I have implemented a chat application using jquery, mysql and php and it is requesting the server more than 100 times for a certain interval of time and log file completed. The processing of the remaining site is very slow. Please suggest to me how to implement the chat application using socket programming and php.

I found the link here http://code.google.com/p/mypeb/

I want to follow the application using Erlang. When I searched on google I found some code PEB ( PHP - Erlang Bridge) extension but how can we install that extension in localhost ( WAMP - Windows XP ) system.

1
  • 3
    Welcome to SO. You will need to show some code, or ask a more detailed question: At the moment, this is way too broad to find a helpful answer. Commented Apr 6, 2011 at 9:16

4 Answers 4

1

php/mysql aren't the right tools for the job. if i were you i'd be looking into Erlang or at least php/memcached

Sign up to request clarification or add additional context in comments.

3 Comments

I would change that to PHP/MySQL Aren't the best tools for the job.
Agree with Robert - and I'm far from convinced that Erlang and/or memcached improve the situation any
facebook's chat is developed in Erlang, enough said
1

for optimise your system research for HTTP

http keep alive connections

real time notifications in php

for more efficients use node.js

1 Comment

I'd have given this +1 were it not for the node.js recommendation: for much more (system) efficiency write it in assembly language - but its not always a pragmatic or practical solution to switch languages
0

The best chat application in Erlang is ejabberd, which, luckily, now has http-bind feature.

Comments

0

The most commonly used solutions I see right now are:

Faye - node.js and ruby

socket.io - node.js and ports available for various other languages

SockJS - erlang, node.js, ruby

SignalR - .NET

XSockets - .NET

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.