<?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: Inter-Matlab data transfer with memcached	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/inter-matlab-data-transfer-with-memcached/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/inter-matlab-data-transfer-with-memcached?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=inter-matlab-data-transfer-with-memcached</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Wed, 27 Aug 2014 23:23:49 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Mark Mikofski		</title>
		<link>https://undocumentedmatlab.com/articles/inter-matlab-data-transfer-with-memcached#comment-330306</link>

		<dc:creator><![CDATA[Mark Mikofski]]></dc:creator>
		<pubDate>Wed, 27 Aug 2014 23:23:49 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4969#comment-330306</guid>

					<description><![CDATA[Turns out that the newer schooner/whalin client is even faster than the old whalin (meetup.com) client, and they say it&#039;s faster than both spymemcached (from couchbase/membase) and xmemcached.

The missing libraries to make this run are in the lib folder of the &lt;a href=&quot;https://github.com/gwhalin/Memcached-Java-Client/releases/tag/Memcached-Java-Client-3.0.0&quot; rel=&quot;nofollow&quot;&gt;zip file for the Memcached-Java-Client-3.0.0&lt;/a&gt; which are the release page of Greg Whalin&#039;s Github Memcached-Java-Client repo.

I was able to build this using jdk-7 by extracting the file, making a new &lt;code&gt;bin&lt;/code&gt; folder at the same folder as &lt;code&gt;lib&lt;/code&gt; and &lt;code&gt;src&lt;/code&gt;, then navigating to &lt;code&gt;src\main\java&lt;/code&gt; and executing the following:
&lt;pre&gt;
C:\&#062; &quot;C:\Program Files\Java\jdk1.7.0_55\bin\javac.exe&quot; -verbose -cp ..\..\..\lib\commons-pool-1.5.6.jar;..\..\..\lib\slf4j-api-1.6.1.jar;..\..\..\lib\slf4j-simple-1.6.1.jar -sourcepath com\schooner\MemCached\ -source 1.6 -target 1.6 -d ..\..\..\bin com\whalin\MemCached\*.java com\schooner\MemCached\*.java com\schooner\MemCached\command\*.java
&lt;/pre&gt;
Then back up to the new bin folder an executing this:
&lt;pre&gt;
c:\&#062; &quot;C:\Program Files\java\jdk1.7.0_55\bin\jar.exe&quot; -cvf Memcached-Java-Client.jar com\
&lt;/pre&gt;
It works almost exactly like the old meetup.com client, but the package is named &quot;com.whalin.MemCached&quot; instead. Also now you will also have to add &quot;commons-pool-1.5.6.jar&quot;, &quot;slf4j-api-1.6.1.jar&quot; and &quot;slf4j-simple-1.6.1.jar&quot; to your MATLAB Java classpath using &lt;code&gt;javaaddpath()&lt;/code&gt;.]]></description>
			<content:encoded><![CDATA[<p>Turns out that the newer schooner/whalin client is even faster than the old whalin (meetup.com) client, and they say it&#8217;s faster than both spymemcached (from couchbase/membase) and xmemcached.</p>
<p>The missing libraries to make this run are in the lib folder of the <a href="https://github.com/gwhalin/Memcached-Java-Client/releases/tag/Memcached-Java-Client-3.0.0" rel="nofollow">zip file for the Memcached-Java-Client-3.0.0</a> which are the release page of Greg Whalin&#8217;s Github Memcached-Java-Client repo.</p>
<p>I was able to build this using jdk-7 by extracting the file, making a new <code>bin</code> folder at the same folder as <code>lib</code> and <code>src</code>, then navigating to <code>src\main\java</code> and executing the following:</p>
<pre>
C:\&gt; "C:\Program Files\Java\jdk1.7.0_55\bin\javac.exe" -verbose -cp ..\..\..\lib\commons-pool-1.5.6.jar;..\..\..\lib\slf4j-api-1.6.1.jar;..\..\..\lib\slf4j-simple-1.6.1.jar -sourcepath com\schooner\MemCached\ -source 1.6 -target 1.6 -d ..\..\..\bin com\whalin\MemCached\*.java com\schooner\MemCached\*.java com\schooner\MemCached\command\*.java
</pre>
<p>Then back up to the new bin folder an executing this:</p>
<pre>
c:\&gt; "C:\Program Files\java\jdk1.7.0_55\bin\jar.exe" -cvf Memcached-Java-Client.jar com\
</pre>
<p>It works almost exactly like the old meetup.com client, but the package is named &#8220;com.whalin.MemCached&#8221; instead. Also now you will also have to add &#8220;commons-pool-1.5.6.jar&#8221;, &#8220;slf4j-api-1.6.1.jar&#8221; and &#8220;slf4j-simple-1.6.1.jar&#8221; to your MATLAB Java classpath using <code>javaaddpath()</code>.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mark Mikofski		</title>
		<link>https://undocumentedmatlab.com/articles/inter-matlab-data-transfer-with-memcached#comment-330303</link>

		<dc:creator><![CDATA[Mark Mikofski]]></dc:creator>
		<pubDate>Wed, 27 Aug 2014 22:31:11 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4969#comment-330303</guid>

					<description><![CDATA[In order to get rid of that message and output logging messages to a file configure the Apache.org log4j logger yourself by creating a &lt;a href=&quot;http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/FileAppender.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;&lt;code&gt;FileAppender&lt;/code&gt;&lt;/a&gt; with the default layout and then configuring the &lt;a href=&quot;http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/BasicConfigurator.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;&lt;code&gt;BasicConfigurator&lt;/code&gt;&lt;/a&gt;.

&lt;pre lang=&quot;matlab&quot;&gt;
&gt;&gt; fileAppender_withDefaultLayout = org.apache.log4j.FileAppender(org.apache.log4j.PatternLayout,&#039;memcached.log&#039;)
fileAppender_withDefaultLayout =
org.apache.log4j.FileAppender@60f585a2
&gt;&gt; org.apache.log4j.BasicConfigurator.configure(fileAppender_withDefaultLayout)
&lt;/pre&gt;

To get rid of the logger message for xmemcached you will have to download &lt;a href=&quot;http://www.slf4j.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;SLF4J&lt;/a&gt; and add &lt;code&gt;slf4j-api-X.Y.Z.jar&lt;/code&gt;, &lt;code&gt;slf4j-simple-X.Y.Z.jar&lt;/code&gt; and &lt;code&gt;slf4j-log4j-X.Y.Z.jar&lt;/code&gt; to your path first, where X.Y.Z is the SLF4J version, 1.7.7 as of 2014-08-27. Then configure log4j as above for com.meetup.memcached.]]></description>
			<content:encoded><![CDATA[<p>In order to get rid of that message and output logging messages to a file configure the Apache.org log4j logger yourself by creating a <a href="http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/FileAppender.html" target="_blank" rel="nofollow"><code>FileAppender</code></a> with the default layout and then configuring the <a href="http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/BasicConfigurator.html" target="_blank" rel="nofollow"><code>BasicConfigurator</code></a>.</p>
<pre lang="matlab">
>> fileAppender_withDefaultLayout = org.apache.log4j.FileAppender(org.apache.log4j.PatternLayout,'memcached.log')
fileAppender_withDefaultLayout =
org.apache.log4j.FileAppender@60f585a2
>> org.apache.log4j.BasicConfigurator.configure(fileAppender_withDefaultLayout)
</pre>
<p>To get rid of the logger message for xmemcached you will have to download <a href="http://www.slf4j.org" target="_blank" rel="nofollow">SLF4J</a> and add <code>slf4j-api-X.Y.Z.jar</code>, <code>slf4j-simple-X.Y.Z.jar</code> and <code>slf4j-log4j-X.Y.Z.jar</code> to your path first, where X.Y.Z is the SLF4J version, 1.7.7 as of 2014-08-27. Then configure log4j as above for com.meetup.memcached.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
