开发者

Chat application using socket programming (Erlang) in php

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 i开发者_如何学运维mplement 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.


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


for optimise your system research for HTTP

http keep alive connections

real time notifications in php

for more efficients use node.js


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜