Giter VIP home page Giter VIP logo

chat-service's Introduction

Chat-Service

Service for chatting, functionalities are mainly backed by Redis, messages are not persistent.

This app is not a standalone server, it internally uses Dubbo for RPC to talk to other services. You must have auth-service as well as other middlewares running to use it. To compile this app, you will also need to manually install the following modules & dependencies, these are all my repositories.

Two job beans are created that may run to cleanup some expired rooms:

  • com.curtisnewbie.service.chat.job.ClearRoomJob
  • com.curtisnewbie.service.chat.job.ClearExpiredPublicRoomListJob

These jobs are run by the distributed-task-module, you may schedule these two jobs by adding following two lines in the task table (for more information see the distributed-task-module):

id job_name target_bean cron_expr app_group enabled concurrent_enabled
2 clear expired room clearRoomJob 0 0/1 * ? * * chat-service 1 0
3 remove expired room from public room list clearExpiredPublicRoomListJob 0 0/1 * ? * * chat-service 1 0

Related-Services

Middleware

  • MySQL
  • Nacos (or others, e.g., Zookeeper, Redis, etc)
  • RabbitMQ
  • Redis

Modules and Dependencies

This project depends on the following modules that you must manually install (using mvn clean install).

chat-service's People

Contributors

curtisnewbie avatar

Stargazers

Razzendah avatar

Watchers

James Cloos avatar  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.