8000 GitHub - hzhzh007/RoomChat: golang 写的,基于websocket的高性能聊天室服务端,just for fun, don't use it · GitHub
[go: up one dir, main page]

Skip to content
hzhzh007Public

About

golang 写的,基于websocket的高性能聊天室服务端,just for fun, don't use it

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoomChat

high concurrency and scalability room chat backend based on websocket and write in golang

fitures

  1. use websocket as the main communication method (high concurrency connections and low delay)
  2. etcd as the service discovery (on plan)

architecture

pass

Directory

  • /common
  • /connector the front connector server
  • /gate return the connector's ip before the client connect to the chat room
  • /router like the controller in mvc, just accept the msg ,deal the logic and decide whether broad it or not
  • /request receive send msg request
  • /tools

About

golang 写的,基于websocket的高性能聊天室服务端,just for fun, don't use it

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0