RavenDB 或 SQL Server 2008 文件流

发布于 2024-10-16 13:19:34 字数 151 浏览 2 评论 0原文

我目前正在进行的一个项目涉及将大量结果存储在文件中,并根据这些结果进行计算。我一直在考虑使用 RavenDB 或使用带有 Filestream 的 SQL2008 作为结果的存储。我不确定哪种技术最适合我的问题。
有人对这些方法中哪种最适合大规模存储和可能的结果搜索有什么看法吗?

A project I am working on at the minute involves taking a massive set of results stored in a file and doing calculations based on those results. I have been looking at using either RavenDB or using the SQL2008 with the Filestream as the storage for the results. I am not sure which technology would be best suited to my problem.
Has anyone any views on which of these approaches is best for massive storage and possible searching of results?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

っ左 2024-10-23 13:19:34

我尝试向 Raven 插入大量数据,但一开始也很失望,因为我是通过一个线程完成这一切的。事实证明,插入到 SQL Server 的速度更快(无需在两台服务器上进行太多配置)。

然后我意识到我可能误用了 Raven,据我所知,Raven 是为处理大规模并行而设计的。所以我玩了一下 TPL,打开了很多线程/进程来并行插入。 Raven 处理得很好 - 但请记住“最终一致性” - 并非所有结果都会立即显示在数据库中,而是会出现短暂的延迟。

我认为直接比较是很困难的,除非您调整架构以适应所选的存储技术。

I tried to insert a lot of data to Raven and was also disappointed in the first place, because I did it all form one thread. It turned out that inserting to SQL Server was faster (without doing much configuration on both servers).

Then I realized that I probably misused Raven, which is - as far as I understand it - designed to handle massive parallelism. So I played a bit with TPL opening a lot of threads / processes doing inserts in parallel. Raven handled this very well - but keep the "eventual consistency" in mind - not all the results showed up in the database immediatly but with a short delay.

I think a direct comparrison is hard unless you adjust your architecture to fit the choosen storage technology.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文