skip to Main Content

Mongoose redis caching

https://medium.com/@haimrait/how-to-add-a-redis-cache-layer-to-mongoose-in-node-js-a9729181ad69 In this guide. So I mostly do queries like { id: <guild id> } so whenever new document is created. const book = new Book({ title, content, author }); try { await book.save(); clearKey(Book.collection.collectionName); res.send(book); } catch (err) {…

VIEW QUESTION

How to setup a mongodb grafana dashboard using helm bitnami/mongodb and kube-prometheus-stack – Debian

I have the helm chart mongodb installed on my k8s cluster (https://github.com/bitnami/charts/tree/master/bitnami/mongodb). I also have kube-prometheus-stack installed on my k8s cluster. (https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack) I've setup a grafana dashboard for mongodb which should pull in data from a prometheus data source. (https://grafana.com/grafana/dashboards/2583…

VIEW QUESTION
Back To Top
Search