Real-time chat with push notification

前端 未结 4 1806
感动是毒
感动是毒 2020-12-25 10:34

I am working on a private messasing functionality for my site, is there a way to get push notifications from the server, that the user has received a new message?

th

4条回答
  •  时光说笑
    2020-12-25 10:39

    You might want to look into XMPP and BOSH. Very comet like and ejabberd combined with nginx can maintain 1000's of connections on a very small box.

    Take a look at one of my projects www.vooices.us to see what we have done with XMPP and BOSH.

    http://www.ejabberd.im/

    http://github.com/ssoper/jquery-bosh/tree/master JQueryBosh - to enable quick and easy access to XMPP over HTTP

    It is relativly easy to set up and install.

    Paul.

提交回复
热议问题