Re: Shared memory IPC using NIO memory-mapped files -- anyone done this?
Ted Neward <[email protected]>
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <024501c7e2e5$a01d2040$e05760c0$@net> |
IIRC Win32 short-circuits the TCP/IP stack (somewhat severely, such that tools like Wireshark/Ethereal can't see the localhost-addressed packets), which yields a pretty significant perf boost, but it's still not the same as using pipes or something similar. MacOS I have no idea. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com > -----Original Message----- > From: Discussion of advanced Java topics. [mailto:ADVANCED- > [email protected]] On Behalf Of Jeff Kesselman > Sent: Saturday, August 18, 2007 10:50 AM > To: [email protected] > Subject: Re: [ADVANCED-JAVA] Shared memory IPC using NIO memory-mapped > files -- anyone done this? > > Brian Maso wrote: > > > > Anyone familiar with shared memory inter-process communication out > > there who can give me a hint? Google and the regular sources aren't > > revealing anything to me this morning. > The short answer is that a modern OS like Solaris is already doing > this > for you when you > do socket connections through "localhost". So rather thne inventing > your own weird scheme, just us the IPC thats there. > > Linux *should* do this, whether it does or not I don't know. Win32 or > OSX I don't know what they do. > > =================================== > This list is hosted by DevelopMentor® http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.484 / Virus Database: 269.12.0/960 - Release Date: > 8/18/2007 3:48 PM > No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.0/961 - Release Date: 8/19/2007 7:27 AM =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com