Code Monkey home page Code Monkey logo

pub-service's Introduction

pub-service

热更新提供的数据库服务

node-my-config 是自定义的config库,为了单独区分service用到的配置和server用到的配置 node-precommit 是自定义的git钩子,为了保持版本能够自动升级

数据源

mysql

支持读写分离,目前配置中没有做类似的配置,需要手动修改,具体可以参考sequelize的文档。

redis

  1. redis支持2种模式。默认使用redis字段的配置,可以直连或者proxy。
  2. 配置redisCluster字段,支持集群模式。
  3. 使用redis.js导出的方法可以直接使用redis库操作方法。
  4. 使用redis_pub.js导出的方法可以使用订阅发布模式。

pub-service's People

Contributors

cuo9958 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.