S
S
semki0962020-02-04 02:09:53
MongoDB
semki096, 2020-02-04 02:09:53

Is it reasonable to store timestamped data in MongoDB?

There is data, time => price, updated every second, and they need to be stored somewhere, and issued on request to build a chart. Of course, there are specialized databases of temporary data, but some are still raw and complex, others are simply complex. So the question is - is MongoDB suitable for my purposes, it seems a fairly popular and understandable base?

Or maybe it's better to store in mysql (it's more suitable for me since the application is on Laravel) and cache, for example, old data in redis?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2020-02-04
@semki096

mysql is easier.
storing time/price in mongo, which also changes so often, is wrong
. In fact, it is not difficult to master timeseries DB. Check out influxDB

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question