IMDB在不同的应用程序实例上共享。 [英] IMDB shared over different application instances.

查看:94
本文介绍了IMDB在不同的应用程序实例上共享。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,



我想知道是否有人已经在寻找内存可共享的数据库?我想用它来尽可能快地在内存之间共享应用程序之间的复杂对象。



我已经开始评估:NDatabase(http://ndatabase.codeplex.com/ [ ^ ])



我无法获得从第二个实例中可用的第一个实例创建的内存数据库。



你认为这可能吗?拥有这样的解决方案真的很方便。



非常感谢您的投入。

祝你好运。

SuperMiqi

Hello All,

I would like to know if somebody has already looked for an in-memory shareable database? I would like to use it for sharing complex objects between to applications over memory to be as fast as possible.

I have started to evaluate: NDatabase (http://ndatabase.codeplex.com/[^])

I just could not get the in-memory database created from the first instance available in the second one.

Do you think, this can be possible ? That would really be handy to have such a solution.

Thank you very much in advance for your inputs.
Best regards.
SuperMiqi

推荐答案

IMDB不适用于此,不管是在Windows上。还有其他快速的IPC方法,如内存映射文件: http://coders-corner.net/2013/03/22/inter-process-communication-with-memory-mapped-files-part- 01-transfer-a-data-structure-and-an-object / [ ^ ]
IMDB's are not for that, not on Windows anyway. There other fast methods for IPC, like memory-mapped files: http://coders-corner.net/2013/03/22/inter-process-communication-with-memory-mapped-files-part-01-transfer-a-data-structure-and-an-object/[^]


目标是替换PInvoke以挖掘内存以数据库方式获取一些数据。



什么是最好的继续方式然后呢?

这似乎可能在市场上有一个漏洞。
The goal is to replace PInvoke to dig into memory to reach some parcel of data in a database style way.

What could be the best way to proceed then ?
This seems maybe there is a hole on the market then.


这篇关于IMDB在不同的应用程序实例上共享。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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