can i combine mongodb and redis for nodebb
-
Hi all,
i want to ask about how to combine redis and mongodb for nodebb, i mean redis for caching and mongodb for datastore.
thanks
-
@r.hidayat1980 Good question! That's something I want to work on in the near future. At the moment, you can use Redis and Mongo together by running it as a Secondary Database, but it is not tested extensively.
I'm looking to try using Redis as a caching layer, and Mongo as a datastore, but we don't have anything quite like that at the moment
-
@julian thanks for quick reply, i hope you can do it soon
next questions : i've choise mongo as my document store and in the future my mongo growth by connection(query) and volume (data size), and i want to scale with replicaset or clustershard mongodb, can you give example how to put connection string for this replicaset or clustersharding in nodebb config file?
thanks
RH
nodebb fans from jakarta -
nodebb fans from jakarta
selamat datang to nodebb, I'm from malaysia
-
use replicaset if configured by Icehunter 路 Pull Request #3091 路 NodeBB/NodeBB
I use a replicaset. Here's a patch to use as well. config.json: { "url": "http://localhost:4567", "secret": "fae93eb7-f17b-429d-a614-4783d8466517", "database": "mongo", "mongo": { ...
GitHub (github.com)
Made a pull request for it.