TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Are there valid use cases for MongoDB?

1 点作者 crawlcrawler大约 5 年前
I&#x27;ve always hated MongoBD, but here&#x27;s the thing.<p>I think I have the perfect use case for a MongoDB cluster, perhaps k8. What if you have a super-normalized relational database, the source of truth, and your life depends on keeping it alive so you make backups every ten minutes, but what if it&#x27;s too expensive to query from the front-end? What if you wanted to remedy that? What if, each night, you flattened out your relational DB into ten-ish document collections that are super swift to read from?<p>&gt;&gt; But what about the customers?<p>What about them? Sure, there&#x27;s a theoretical chance something got lost on its way from being a virtual document composed of data from fifteen different database tables into becoming a single materialized MongoDB document, but the loss is small compared to the savings you make from not having to scale up your SQL.<p>&gt;&gt; But what about Elasticsearch?<p>But here&#x27;s the thing, I&#x27;ve always hated Elasticsearch.

暂无评论

暂无评论