在内存数据库/数据缓存中 [英] In memory database / Data Caching

查看:69
本文介绍了在内存数据库/数据缓存中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我们公司即将开发产品(Web应用程序)。



场景/要求:



该应用程序将由多个并发用户使用(约50至70)。应用程序的基本功能是提供搜索。此搜索将包含不同的实体(名称,地点,组织等)。此外,这些实体是相互关联的。



发行/质询:



为了获得更好的性能和更少的数据库交互,我们计划存储服务器RAM中的这些实体对象(在内存中)。并定期更新它们。我们无法确定实现这一目标的方法。我们想到的一些选项;



1)Asp.net数据缓存



2)In内存数据库。例如。 http://www.mongodb.com/what-is-mongodb



3)其他一些东西。







请向我们提供相关信息。



任何想法/评论都非常感谢。< br $>






提前致谢

Hi All,

Our company is about to develop a product (Web application).

Scenario / Requirement:

The application is going to be used by multiple concurrent users (approx 50 to 70). The applications basic feature is to provide search. This search will be of different entities (name, place, organization, etc.). Further these entities are interlinked.

Issue / Challenge:

So as to have better performance and lesser DB interactions we plan to store these entity objects in server RAM (in memory). And periodically update them. We are not able to finalize what approach to follow to achieve this. Some of the options we think of;

1) Asp.net Data Caching

2) In memory databases. E.g. http://www.mongodb.com/what-is-mongodb

3) some thing else.



Kindly provide us inputs on this.

Any thoughts / comments highly appreciated.



Thanks in advance

推荐答案

我相信50-70并发用户它是一个相对较小的数据库,因此内存中的选项是现实的,可以提供绝对最佳的性能...

两个文档库(如MongoDB) )和SQL(仅限2014年)可以使用内存将表格映射到30倍的加速访问...

但是如果你的使用预测错了,你可能会陷入深深的麻烦尝试应用新设计...

对于第二个最佳解决方案,您可以将高速SSD驱动器与大内存缓存相结合......当然,SQL和文档库都支持缓存。 。

选择正确类型的数据库取决于o n您要为搜索收集的数据。您必须分析该数据并查看它是纯面向表还是更适合文档方式......
I believe that with 50-70 concurrent users it is a relatively small database, so in-memory option is a reality and can give definitely the best performance...
Both document-bases (like MongoDB) and SQL (2014 only) can use the memory to map tables into and speed up access like 30 time...
However if you were wrong about your usage prediction you can be in deep troubles when you try to apply the new design...
For the second-best solution you can combine a high speed SSD drive with large memory cache...Both SQL and document-base support caching of course...
To pick up the right type of database is depends on the data you intend to collect for your search. You have to analyse that data and see if it is pure table oriented or fit more to the document way...


这篇关于在内存数据库/数据缓存中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆