Git Product home page Git Product logo

messagecenter's Introduction

我们系统中经常产生各种消息,这些消息需要以各种方式(邮件、短信、hi...)通知给用户。 消息产生的频率可能很高,由于邮件服务器/短信服务器等的限制,对外发送需排队发送。

请设计并实现“消息中心“模块,主要功能: 1、支持各种消息(现有邮件、短信、hi)发送,可支持消息种类扩充。 2、邮件服务器等每分钟只能发送M条信息,请考虑缓存/队列等的使用,对消息发送进行限流。设计的时候,请考虑性能因素

要求:

  1. 接口设计友好,可以自解释
  2. 严格遵守公司代码规范
  3. 单测覆盖率80%,并提供使用该“消息中心”模块的完整工程以及client demo。

其他: 1、邮件、短信、hi消息发送模拟实现即可

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.