What is the best document storage strategy in NoSQL databases?

后端 未结 2 1355
忘掉有多难
忘掉有多难 2021-01-07 10:37

NoSQL databases like Couchbase do hold a lot of documents in memory, hence their enormous speed but it\'s also putting a greater demand on the memory size of the server(s) i

2条回答
  •  无人及你
    2021-01-07 11:06

    I do agree with your technique on the efficient use of resources (if they are limited). But on the flip side, the system might end up being very chatty. If I understand correctly, your "connections" document design is too granular and may introduce too many I/Os across the network. In my experience, these network I/Os are very expensive, if you are designing a system that makes real time decisions. You may mathematically estimate the impacts of these different choices to balance these opposing forces :)

    I do think that the spirit of the scalable big data systems is that we shall worry "less" about the resource "constraints". These no-sql database licenses do not go by CPU cores. Commodity hardware is cheap. RAM is getting cheaper as we are discussing. Once again, the return of investment of these systems would also impact the architectural decisions.

提交回复
热议问题