Should I use MongoDB or CouchDB or something else?

I am developing a monitoring system using node.js + Redis to read an HTTP response from a web page and decide up or down. However, I do this every minute, and I need to save the results to show to the end user.

How and which database should I use to save data and present it almost in real time? Even if I have few observations of creatures, when I get a response once a minute, a lot of data will be shown.

thanks

+4
source share
3 answers

Probably the fastest solution would be Redis, which also offers very useful commands for storing statistics. I asked a similar question about Redis google groups and this seemed like a good option for this DB.

+5
source

Redis

You are already using it. It supports disk support and replication. Go for it.

+3
source

This is an old article, but still fair, as a good example of using MongoDB for real-time analytics: http://blog.mongodb.org/post/171353301/using-mongodb-for-real-time-analytics p>

+2
source

Source: https://habr.com/ru/post/1336152/


All Articles