Giter Club home page Giter Club logo

sctalk's Introduction

当前项目是由蘑菇街的TeamTalk改造而来

开源促进人类进步,公司也比较支持,只是想请各位朋友多多提BUG。 具体文档见doc目录下,安装之前请仔细阅读相关文档。

交流:

建议大家在开发过程中遇到问题,提交issues到https://github.com/ccfish86/sctalk/issues

由于该项目是个人维护,不一定有时间及时上传最新代码,另外代码借鉴了部分开源项目(可能没来得及修改注释,如果侵犯了你的利益。可联系我,我会及时改正)。

线上测试地址:http://tt.hifipi.com/msg_server 用户名密码 10~99


版本[0.1.0-RELEASE]使用了router-server作为消息中转服务(这点跟原TT是相似的),0.2以后将使用hazelcast等分布式中间件取代router-server来处理消息的“漫游”。

取消“router-server”,更多的是为了解决路由服务的单点故障的问题,之后会追加zuul来对外提供服务。

2017-12-15 更新内容:

第一步是把router删除,把关键的msgServerManager,userClintInfoManager等功能(服务/用户在线管理)重新调整,用hazelcast的分布式map来修改了一下。

然后把router<>msg的处理分了几种情况,如:请求用户在线状态的,现在直接可以通过hazelcast#map本地处理。本地处理不了的,通过hazelcast#topic发布到其他msg-server上分别处理。

现在,已基本实现了功能,有条件的话,对于某些访问比较集中的消息类型还可以做以下优化:

  • 先通过map把需要处理该的msg服务给查出来,然后只发布到这些个msg服务。
  • 一些处理,可以通过hazelcast#ExecutorService直接处理

希望大家一起努力,把这个项目完善起来。

多提供意见也是对我们最大的支持。

sctalk's People

Contributors

ccfish86 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.