Giter Club home page Giter Club logo

netty-im-chat's Introduction

即时聊天 netty-im-chat

即时通信im实战 主要 使用了 Netty 测试账号为: admin 密码为: 123

  1. 以下是几个组件工程作用:
    netty-test 学习测试使用netty的api项目
    netty-im-chat-server im服务端
    netty-im-chat-client im客户端
    netty-im-chat-client-ui im客户端逻辑
    netty-im-chat-common im通用组件
    netty-im-chat-util im通用工具类

  2. 已实现功能:
    1.基础架构设计
    2.登录功能【不含数据库】,登录状态以及会话的保持
    3.单人消息聊天
    4.使用责任链模式设计Filter过滤器来实现其他操作时的权限校验
    5.服务端采用Disruptor高性能并发框架,来避免因 业务 处理链过长 导致的WorkGroup线程组性能损耗。

  3. 待实现功能:
    1.群聊
    2.登出功能
    3.权限认证
    4.服务启动--各组件的生命周期管理(实现中--参考tomcat源码)

  4. 需要注意的地方:
    1.消息接受和发送的代码模型应该简化,采用观察者模式(事件驱动)。【已实现】
    2.客户端第一次启动应用连接到服务端,为保证私密信息(如登录账户、密码等)、需要服务器返回给客户端公钥,用于加密。【已实现】
    3.登录功能需要加密信息。【已实现】
    4.客户端和服务器可以相互收发消息。
    5.解决了netty存在的粘包、半包问题。
    6.使用责任链模式设计Filter过滤器来实现其他操作时的权限校验

欢迎交流qq:1415642719 , 邮箱:[email protected]

netty-im-chat's People

Contributors

yangxuan-321 avatar dependabot[bot] 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.