<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: FileMap now on GitHub</title>
	<atom:link href="http://winterdom.com/2008/10/filemapnowongithub/feed" rel="self" type="application/rss+xml" />
	<link>http://winterdom.com/2008/10/filemapnowongithub</link>
	<description>by dæmons be driven</description>
	<lastBuildDate>Tue, 16 Mar 2010 00:20:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter Uys</title>
		<link>http://winterdom.com/2008/10/filemapnowongithub/comment-page-1#comment-1256</link>
		<dc:creator>Peter Uys</dc:creator>
		<pubDate>Sat, 12 Dec 2009 23:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://winterdom.com/2008/10/filemapnowongithub#comment-1256</guid>
		<description>Thanks for your reply Tomas.  I will take a look and let you know what I come up with.  The easy part is that Collector only writes and Displayer only reads. I will use a mutex for IPC synchronization.

Did you see that .NET (Beta 2) has a System.IO.MemoryMappedFiles which seems to contain all the memory mapped file io classes/calls one would need, but I cannot wait until 4.0 is released, a pity.</description>
		<content:encoded><![CDATA[<p>Thanks for your reply Tomas.  I will take a look and let you know what I come up with.  The easy part is that Collector only writes and Displayer only reads. I will use a mutex for IPC synchronization.</p>
<p>Did you see that .NET (Beta 2) has a System.IO.MemoryMappedFiles which seems to contain all the memory mapped file io classes/calls one would need, but I cannot wait until 4.0 is released, a pity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomas Restrepo</title>
		<link>http://winterdom.com/2008/10/filemapnowongithub/comment-page-1#comment-1255</link>
		<dc:creator>Tomas Restrepo</dc:creator>
		<pubDate>Thu, 10 Dec 2009 12:16:19 +0000</pubDate>
		<guid isPermaLink="false">http://winterdom.com/2008/10/filemapnowongithub#comment-1255</guid>
		<description>You could certainly do that, though you&#039;d need to write some extra control information into memory so that the reader could figure out where each one begins and ends. However, I&#039;m not sure how &quot;easy&quot; it would be to get working reliably given how you&#039;d need to basically allocate a big chunk of shared memory and then handle it as some sort of circular buffers (so you&#039;d need to do some serious interprocess synchronization to avoid the writer and reader stepping on each others toes).</description>
		<content:encoded><![CDATA[<p>You could certainly do that, though you&#8217;d need to write some extra control information into memory so that the reader could figure out where each one begins and ends. However, I&#8217;m not sure how &#8220;easy&#8221; it would be to get working reliably given how you&#8217;d need to basically allocate a big chunk of shared memory and then handle it as some sort of circular buffers (so you&#8217;d need to do some serious interprocess synchronization to avoid the writer and reader stepping on each others toes).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Uys</title>
		<link>http://winterdom.com/2008/10/filemapnowongithub/comment-page-1#comment-1254</link>
		<dc:creator>Peter Uys</dc:creator>
		<pubDate>Thu, 10 Dec 2009 06:50:23 +0000</pubDate>
		<guid isPermaLink="false">http://winterdom.com/2008/10/filemapnowongithub#comment-1254</guid>
		<description>Hi Tomas,

I was wondering whether FileMap would help me achieve the following: I have 2 apps: App_Collector collects data and writes a 60Kb csv file to disk every 3 minutes. The second app, App_Displayer, displays the data stored in the files. App_collector  runs all the time, but App_Displayer does not, and when App_Displayer starts up it needs to read the 144 most recently stored csv files in order to display what it needs to. App_Displayer takes several minutes to read and process the 144 files, which is way too long.  If App_Collector stored the most recent 144 files in memory, could FileMap be used so that App_Displayer could get the data directly from App_Collector, in much less time than reading the data from csv files on the disk?

Regards,
Peter</description>
		<content:encoded><![CDATA[<p>Hi Tomas,</p>
<p>I was wondering whether FileMap would help me achieve the following: I have 2 apps: App_Collector collects data and writes a 60Kb csv file to disk every 3 minutes. The second app, App_Displayer, displays the data stored in the files. App_collector  runs all the time, but App_Displayer does not, and when App_Displayer starts up it needs to read the 144 most recently stored csv files in order to display what it needs to. App_Displayer takes several minutes to read and process the 144 files, which is way too long.  If App_Collector stored the most recent 144 files in memory, could FileMap be used so that App_Displayer could get the data directly from App_Collector, in much less time than reading the data from csv files on the disk?</p>
<p>Regards,<br />
Peter</p>
]]></content:encoded>
	</item>
</channel>
</rss>
