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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

.NET Transactional Document DB and Event Store on PostgreSQL

78 点作者 c17r超过 4 年前

8 条评论

GordonS超过 4 年前
I&#x27;ve been using Marten for maybe 3 years now, and I absolutely love it! It&#x27;s extensible too, so you can do just about anything with it - for example, I use it with views, multi tenancy, a base for aggregate queries and all sorts, and it works great.<p>The core team is really responsive on both GitHub and Gitter too, and are happy to both accept and help with PRs - it&#x27;s (<i>almost</i>) the model of a well run OSS project.<p>One small thing tho... the original developer, Jeremy Miller, can be a bit... spiky; like you ask a question and he just <i>assumes</i> bad faith and will snark at you. I imagine this behaviour has put at least a few people off contributing and using Marten. I almost feel bad about mentioning this, because I&#x27;m a fan of his work, but OTOH I kind of hope Jeremy reads this comment and takes it constructively.
评论 #24378125 未加载
评论 #24388186 未加载
londondev45超过 4 年前
We used it for a production project which I inherited.<p>Honestly I&#x27;m not a bit fan of anything Orm like, as such there is some magic, I believe out of the box it will literally just create tables and keys for you.<p>For what it is, it&#x27;s very fast for prototyping things out.<p>I would personally just use the in built jsonb functionality of postgres and build out my own repositories. Saves confusion from all of the magic.<p>My 2 pence
评论 #24382281 未加载
throwaway13337超过 4 年前
This is interesting in that it seems to organize tenants into their own database.<p>I&#x27;ve built a few SaaS products with on the order of a few thousand customers per application. Performance can sometimes be a problem when each customer can have millions of rows but no relation between those customers. I believe this is pretty typical.<p>What&#x27;s the purpose of mixing different customer rows? You rarely aggregate them all together. A million rows is easy for a database but when there are billions together, it starts requiring deeper optimizations.<p>The idea of each getting their own separate database makes intuitive sense to me but most tools for dB access aren&#x27;t built with this in mind.
NicoJuicy超过 4 年前
I&#x27;ve been using this for a while now and absolutely love it.<p>Just go through the documentation of MartenDb and I&#x27;ll bet you&#x27;ll like it.<p>Note: If you are interested in DDD&#x2F;microservices on. Net, you probably know Mass-Transit.<p>But I would advice you to check out everything under JasperFX ( <a href="https:&#x2F;&#x2F;github.com&#x2F;JasperFx" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;JasperFx</a> ), which MartenDb is a part of.<p>Fyi: they hang out on gitter.me
ThePadawan超过 4 年前
We used EventStore [0] as an Event Store in a previous project (yes, this does get tedious to explain).<p>I&#x27;m quite curious who this is aimed at. .NET shops are often so deeply invested in the Microsoft ecosystem. In that previous project, needing to run&#x2F;administer PostgreSQL instead of SQL Server would have been a significant administrative detriment to getting the project greenlit.<p>(The fact that EventStore doesn&#x27;t use any RDBMS as a store at all paradoxically helped. At least that meant we weren&#x27;t getting DBA split-brain problems between SQL dialects.)<p>[0] <a href="https:&#x2F;&#x2F;eventstore.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;eventstore.com&#x2F;</a>
评论 #24384042 未加载
评论 #24384083 未加载
评论 #24389623 未加载
评论 #24383753 未加载
nitinreddy88超过 4 年前
What I absolutely miss from Postgres is Column store support. For many analytics related workloads, columnstore beats traditional row store. I really wish they can add this soon.
评论 #24382327 未加载
tehlike超过 4 年前
I have been hoping to find this for nodejs one day :( sad. I really miss my .net days
brightball超过 4 年前
Can somebody explain why this is only for .NET developers if it’s running on PG?
评论 #24383399 未加载
评论 #24383463 未加载