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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Database Recommendations for Asp.net Core API

3 点作者 BeeFriedman11 个月前
I am building an ASP.Net Core API. What database would you recommend?<p>I have experience with MySql, but I am wondering if MongoDB would maybe be easier..

3 条评论

MissTake11 个月前
Not sure how you expect anyone to answer this as you have provided absolutely no information other than you plan to use .net.<p>What’s the purpose of the server? Who’s the audience? What will it be doing? What sort of volume will it expect?<p>One does not simply create an API server!<p>And there a lot more to it - I’m no expert but my recent foray into this involved a front end API server in the DMZ, and a backend handler (both running under Kubernetes), RabbitMq , Redis, Sql Server and Postgres.<p>Does this API server even <i>need</i> a database? If so, why?<p>Questions, questions, questions…
评论 #40724286 未加载
neonsunset11 个月前
Seconding Postgres recommendation - it&#x27;s just so difficult to go wrong with it. It&#x27;s incredibly versatile and works very well in non-pure-RDBMS scenarios too as document store, querying JSON data in jsonb fields and as vector store with pgvector.
wild_egg11 个月前
When in doubt, just use postgres. It can handle everything you might want from either MySQL or MongoDB and take you to a scale where you can afford to pay someone to figure out a more appropriate stack for your needs
评论 #40724278 未加载