All Projects → 493326889 → Node Multiple Rooms Chat

493326889 / Node Multiple Rooms Chat

node socket.io multiple room chat demo

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Node Multiple Rooms Chat

Socket.io Unity
socket.io client for Unity, power game client with node.js back-end
Stars: ✭ 396 (+235.59%)
Mutual labels:  websocket, socket-io
Websocket Chat
Websocket based group chat app built with socket.io and react.
Stars: ✭ 689 (+483.9%)
Mutual labels:  websocket, socket-io
Flask Socketio
Socket.IO integration for Flask applications.
Stars: ✭ 4,523 (+3733.05%)
Mutual labels:  websocket, socket-io
Vue Socket.io
😻 Socket.io implementation for Vuejs and Vuex
Stars: ✭ 3,746 (+3074.58%)
Mutual labels:  websocket, socket-io
Tyloo Chat
vue + nestjs IM即时通讯聊天室(仿wechat)
Stars: ✭ 54 (-54.24%)
Mutual labels:  websocket, socket-io
Laravel Swoole
High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.
Stars: ✭ 3,726 (+3057.63%)
Mutual labels:  websocket, socket-io
Vue Chat
📲 A web chat application. Vue + node(koa2) + Mysql + socket.io
Stars: ✭ 617 (+422.88%)
Mutual labels:  websocket, socket-io
Python Socketio
Python Socket.IO server and client
Stars: ✭ 2,655 (+2150%)
Mutual labels:  websocket, socket-io
Beaver
💨 A real time messaging system to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps.
Stars: ✭ 1,056 (+794.92%)
Mutual labels:  websocket, socket-io
Vuex Socketio Plugin
Vuex plugin to integrate socket.io client
Stars: ✭ 34 (-71.19%)
Mutual labels:  websocket, socket-io
Socket.io Client Dart
socket.io-client-dart: Dartlang port of socket.io-client https://github.com/socketio/socket.io-client
Stars: ✭ 333 (+182.2%)
Mutual labels:  websocket, socket-io
Laverna
Laverna is a JavaScript note taking application with Markdown editor and encryption support. Consider it like open source alternative to Evernote.
Stars: ✭ 8,770 (+7332.2%)
Mutual labels:  websocket, socket-io
Socket.io
NodeJS《你画我猜》游戏
Stars: ✭ 255 (+116.1%)
Mutual labels:  websocket, socket-io
Wssip
Application for capturing, modifying and sending custom WebSocket data from client to server and vice versa.
Stars: ✭ 373 (+216.1%)
Mutual labels:  websocket, socket-io
Egg Socket.io
socket.io plugin for eggjs.
Stars: ✭ 209 (+77.12%)
Mutual labels:  websocket, socket-io
Netty Socketio
Socket.IO server implemented on Java. Realtime java framework
Stars: ✭ 5,565 (+4616.1%)
Mutual labels:  websocket, socket-io
Wechat
聊天系统、Vue.js、React.js、node.js、MongoDB、websocket、socket.io、前后端分离、毕业设计。
Stars: ✭ 188 (+59.32%)
Mutual labels:  websocket, socket-io
Cuckoo
🎥 Cuckoo - A free anonymous video-calling web application built with WebRTC and React that provides peer-to-peer video and audio communication in a web browser with no plugins or extensions required.
Stars: ✭ 195 (+65.25%)
Mutual labels:  websocket, socket-io
Angular Chat
(IM App)Chat App built using Angular and Socket.io
Stars: ✭ 12 (-89.83%)
Mutual labels:  websocket, socket-io
Socketio Examples
A few examples that demonstrate the features of the Python Socket.IO server
Stars: ✭ 72 (-38.98%)
Mutual labels:  websocket, socket-io

node-multiple-rooms-chat

node socket.io multiple room chat demo

node、socket.io、redis搭建的基于多机多进程的消息即时IM系统。

nginx配置:    

在http下新增upstream配置ip_hash,如果多机,则添加多个替换下面ip地址即可。然后配置server里的location规则。nginx须>1.3才可支持websocket。

upstream io_nodes {
  ip_hash;
  server 127.0.0.1:6001;
  server 127.0.0.1:6002;
  server 127.0.0.1:6003;
  server 127.0.0.1:6004;
  server 127.0.0.1:6005;
  server 127.0.0.1:6006;
  server 127.0.0.1:6007;
  server 127.0.0.1:6008;
}
server {
  listen 3000;
  server_name io.yourhost.com;
  location / {
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $host;
    proxy_http_version 1.1;
    proxy_pass http://io_nodes;
  }
}

安装redis

https://redis.io/download 下载后,安装并启动本地redis服务,默认监听6379端口。

启动服务:

node cluster 

以上命令启动master进程并监听6001-600n端口,根据cpu核数而定。

访问index.html

输入参数,并建立websocket连接。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].