go-push
go-push copied to clipboard
消息推送的方式,是否考慮使用pub/sub訂閱模式來進行推送呢?
我有嘗試將此篇open source的語法概念 https://github.com/cskr/pubsub
整合進自行fork melody的專案底下 https://github.com/z9905080/melody
這樣的做法大大降低了消息隊列的size以及對於房間的耦合度