Redis and MongoDB L2 cache. Redis is L1. MongoDB is L2. Do not lose the advantages of CRUD,Implement database cache. This project uses Node.js development. Service can be set up with a simple configuration.
In development.
0.0.1 Nightly Build.
- This service need Node.JS®.
- This service provides a remote call API and client SDK.
- Use TCP/UDP to send system information between nodes and centers.
You need to have the following dependencies ready.
- MongoDB (>= 3.6.x) MongoDB is a document database with the scalability and flexibility that you want with the querying and indexing that you need.
- Redis (>= 4.x) Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker.
- Node.JS (>= 10.x) Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
- mongodb Mongo DB Native NodeJS Driver.
- redis redis client for node.
- toml TOML parser for Node.js and the Browser. Parses TOML v0.4.0.
You need download packeg or git clone.
git clone https://gitee.com/jessehealth/spermWhale
~ tar zxvf cachel2
~ cd cachel2
~ ./run.sh
Set project path
export SPERMWHALE_HOME = "Your project home directory"
export SPERMWHALE_CONF = "Your project configure directory"
Detailed description of the configuration file
- net.listen
89
port or unix damoin.
Copyright (c) 2018 Mr.Panda.