使用RavenDB作为持久高速缓存 [英] Using RavenDB as a persistent cache
问题描述
我目前有缓存在内存中快速查找大量的数据(几十万项)的Web应用程序,然后在SQL Server作为一个持续的高速缓存。基本信息由所在的地理code是通过远程Web服务这需要,如果需要连续,而不是所谓的缓存时检索地理$ C $地址CS的。
I have currently have a web application that caches a large amount of data (several hundred thousand entries) in memory for quick lookup and then in SQL Server as a persistent cache. Basically the information consists of geocodes of addresses where the geocode is retrieved via a remote web service which takes time if needed to be called continuously rather than cached.
使用RavenDB(或其他建议)将在速度和内存方面的持久性存储缓存信息的更好的办法?目前,该应用程序托管的SQL Server吸大多数内存干燥的服务器上,所以我想更轻量级的解决方案。
Would using RavenDB (or other suggestions) be a better way of caching this information in a persistent store in terms of both speed and memory? Currently the app is hosted on a server which SQL Server sucks most of the memory dry so I would like a more light weight solution.
推荐答案
RavenDB作为文档数据库似乎矫枉过正,我如果只是用作缓存。怎么样 Redis的作为保值?它可以更好地配合你所追求的。
RavenDB as a document database seems overkill to me if only used as a cache. What about redis as a value store? It could better match what you are after
这篇关于使用RavenDB作为持久高速缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!