﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>magell commented on NMemcached: A WCF experiment</title><description>Try rebooting your machine and running the test, or force paging your memory to disk, bet the first call to the service is "significantly" slower...  According to Microsoft this is expected behavior.  ;)
</description><link>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment10</link><guid>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment10</guid><pubDate>Wed, 25 Jun 2008 22:32:23 GMT</pubDate></item><item><title>Troy Gould commented on NMemcached: A WCF experiment</title><description>This is becoming an experiment on tuning WCF services. :)
</description><link>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment9</link><guid>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment9</guid><pubDate>Wed, 25 Jun 2008 21:02:14 GMT</pubDate></item><item><title>Ayende Rahien commented on NMemcached: A WCF experiment</title><description>After disabling reliable sesisons, I am down to ~6100ms
</description><link>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment8</link><guid>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment8</guid><pubDate>Wed, 25 Jun 2008 20:46:49 GMT</pubDate></item><item><title>Tomas Restrepo commented on NMemcached: A WCF experiment</title><description>Also, disabling reliable sessions might help a bit as well, unless you explicitly need them...
</description><link>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment7</link><guid>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment7</guid><pubDate>Wed, 25 Jun 2008 20:31:28 GMT</pubDate></item><item><title>Tomas Restrepo commented on NMemcached: A WCF experiment</title><description>In that case you're probably already using the binary encoders. I'm not sure exactly how your nmemcached architecture works, but it;s possible you might get away with some interesting things using the peer channels instead.
</description><link>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment6</link><guid>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment6</guid><pubDate>Wed, 25 Jun 2008 20:28:57 GMT</pubDate></item><item><title>Ayende Rahien commented on NMemcached: A WCF experiment</title><description>Troy,
  
Haven't seen that, thanks.
  
Just tried this, and this and removing security dropped to 6454ms
</description><link>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment5</link><guid>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment5</guid><pubDate>Wed, 25 Jun 2008 20:26:41 GMT</pubDate></item><item><title>Ayende Rahien commented on NMemcached: A WCF experiment</title><description>I am using new NetTcpBinding(), whatever that means
</description><link>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment4</link><guid>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment4</guid><pubDate>Wed, 25 Jun 2008 20:16:54 GMT</pubDate></item><item><title>Christian Weyer commented on NMemcached: A WCF experiment</title><description>Just some quick test on my machine - and I did not see your original code and whether you have security in there or not.
  
  
netTcpBinding
  
=============
  
created clients, starting to connect
  
read 10000
  
wrote 10000
  
took 4752 total 10005 reads and 10002 writes using 20 connections
  
  
  
netTcpBinding - w/o security
  
============================
  
created clients, starting to connect
  
wrote 10000
  
read 10000
  
took 3816 total 10001 reads and 10003 writes using 20 connections
  
</description><link>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment3</link><guid>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment3</guid><pubDate>Wed, 25 Jun 2008 20:09:26 GMT</pubDate></item><item><title>Troy Gould commented on NMemcached: A WCF experiment</title><description>You've probably already seen this, but sending it just in case.
  
http://blogs.msdn.com/wenlong/archive/2007/10/27/performance-improvement-of-wcf-client-proxy-creation-and-best-practices.aspx
  
  
I know that in .NET 3.0, calling client.Open() explicitly before making the service call was another way of speeding up performance.  I don't know if this makes a difference in .NET 3.5.
</description><link>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment2</link><guid>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment2</guid><pubDate>Wed, 25 Jun 2008 19:19:50 GMT</pubDate></item><item><title>Tomas Restrepo commented on NMemcached: A WCF experiment</title><description>Haven't looked at the code, but out of curiosity: Are you using the binary or the text encoders?.
</description><link>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment1</link><guid>http://ayende.com/3378/nmemcached-a-wcf-experiment#comment1</guid><pubDate>Wed, 25 Jun 2008 18:50:10 GMT</pubDate></item></channel></rss>