共享内存? [英] Shared memory?

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

问题描述

我真的不喜欢SOAP的速度瓶颈。是否可以在.NET中使用

共享内存,而不使用网络调用?


看起来即使受保护的内存是内存泄漏的天赐之物

和未经授权的访问类型的东西,我们至少应该给一个皮带给

带狗出去散步一会儿。


Jon

解决方案

2004年7月2日12:21,Jon Davis写道:

我真的不喜欢SOAP的速度瓶颈。是否有可能在.NET中使用共享内存而不使用网络调用?

看起来即使受保护的内存对于内存泄漏和未经授权的访问类型来说也是天赐之物什么东西,我们至少应该给他们带一条带狗去散步一段时间。

Jon



Shere是一个浮动的共享内存文件的实现,我记得

。不幸的是,我不再拥有它,也不记得我在哪里获得它。尝试gotdotnet或dornet247网站和谷歌搜索。

抱歉不要更有帮助....


当然,你可以自己做DLLImport等,所以如果你知道怎么做,你可以带狗去散步。

-

Simon Smith

simon dot s at ghytred dot com
www.ghytred.com/NewsLook - NNTP for Outlook


缓存应用程序块中有一个MemoryMappedFile类。我现在正试图使用​​它(没有太多运气!)

http://msdn.microsoft.com/library/de...chingBlock。 asp

-

C#,.NET和复杂自适应系统:
http://blogs.geekdojo.net/Richard

" Simon Smith" < SI ***** @ nospam.ghytred.com>在消息中写道

news:0c ****************************** @ ghytred.com。 ..

2004年7月2日12:21,Jon Davis写道:

我真的不喜欢SOAP的速度瓶颈。是否有可能在.NET中使用共享内存而不使用网络调用?

看起来即使受保护的内存对于内存泄漏和未经授权的访问类型来说也是天赐之物东西,我们至少应该给一条皮带
带狗出去散步一会儿。

Jon



据我所知,Shere是一个共享内存文件的实现。不幸的是,我不再拥有它,也不记得我从哪里获得它。尝试gotdotnet或dornet247网站和谷歌搜索。

抱歉不要更有帮助....

当然,你可以自己用DLLImport等做,所以如果你知道怎么做,你可以带狗去散步。
-
Simon Smith
simon dot s at ghytred dot com
www.ghytred.com/NewsLook - NNTP for Outlook



所以你说只是使用p / invoke链接到一个非托管的C ++ DLL来做

这是一个看似合理的解决方案吗?

Jon

" Simon Smith" < SI ***** @ nospam.ghytred.com>在消息中写道

news:0c ****************************** @ ghytred.com。 ..

Shere是一个浮动的共享内存文件的实现,我记得。不幸的是,我不再拥有它,也不记得我从哪里获得它。尝试gotdotnet或dornet247网站和谷歌搜索。

抱歉不要更有帮助....

当然,你可以自己使用DLLImport等,所以如果你知道怎么做,你可以带狗去散步。
-
Simon Smith
simon dot s at ghytred dot com
www.ghytred.com/NewsLook - NNTP for Outlook



I really don''t like the speed bottleneck of SOAP. Is it possible to have
shared memory, without using networking calls, within .NET?

It seems like even though protected memory was a godsend for memory leaks
and unauthorized access type stuff, we should at least be given a leash to
take the dog out for a walk for a while.

Jon

解决方案

On 02 Jul 2004 12:21, "Jon Davis" wrote:

I really don''t like the speed bottleneck of SOAP. Is it possible to have
shared memory, without using networking calls, within .NET?

It seems like even though protected memory was a godsend for memory leaks
and unauthorized access type stuff, we should at least be given a leash to
take the dog out for a walk for a while.

Jon



Shere was am implementation of a shared memory file floating around, as
I recall. Unfortunately I no longer have it and can''t remember where I
got it from. Try the gotdotnet or dornet247 sites and a google search.
Sorry not to be more helpful....

Of course, you could do it yourself with DLLImport etc, so you can take
the dog for a walk if you know how.
--
Simon Smith
simon dot s at ghytred dot com
www.ghytred.com/NewsLook - NNTP for Outlook


There is a MemoryMappedFile class in the Caching Application Block. I''m
trying to use it at the moment (without much luck!)

http://msdn.microsoft.com/library/de...chingBlock.asp

--
C#, .NET and Complex Adaptive Systems:
http://blogs.geekdojo.net/Richard
"Simon Smith" <si*****@nospam.ghytred.com> wrote in message
news:0c******************************@ghytred.com. ..

On 02 Jul 2004 12:21, "Jon Davis" wrote:

I really don''t like the speed bottleneck of SOAP. Is it possible to have
shared memory, without using networking calls, within .NET?

It seems like even though protected memory was a godsend for memory leaks
and unauthorized access type stuff, we should at least be given a leash totake the dog out for a walk for a while.

Jon



Shere was am implementation of a shared memory file floating around, as
I recall. Unfortunately I no longer have it and can''t remember where I
got it from. Try the gotdotnet or dornet247 sites and a google search.
Sorry not to be more helpful....

Of course, you could do it yourself with DLLImport etc, so you can take
the dog for a walk if you know how.
--
Simon Smith
simon dot s at ghytred dot com
www.ghytred.com/NewsLook - NNTP for Outlook



So you''re saying just linking to an unmanaged C++ DLLs using p/invoke to do
this is a plausible solution?

Jon
"Simon Smith" <si*****@nospam.ghytred.com> wrote in message
news:0c******************************@ghytred.com. ..

Shere was am implementation of a shared memory file floating around, as
I recall. Unfortunately I no longer have it and can''t remember where I
got it from. Try the gotdotnet or dornet247 sites and a google search.

Sorry not to be more helpful....

Of course, you could do it yourself with DLLImport etc, so you can take
the dog for a walk if you know how.
--
Simon Smith
simon dot s at ghytred dot com
www.ghytred.com/NewsLook - NNTP for Outlook



这篇关于共享内存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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