﻿<?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>Ayende Rahien commented on Scratching an itch: NMemcached</title><description>I need to keep state, and extension methods do not provide this
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment34</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment34</guid><pubDate>Mon, 16 Jun 2008 21:26:45 GMT</pubDate></item><item><title>mycall commented on Scratching an itch: NMemcached</title><description>Q: Why did you call you class CacheMixin instead of making them extension methods?  Your http://www.ayende.com/Blog/archive/2005/09/19/8285.aspx article isn't make this clear.
  
  
Thanks for the awesome project!
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment33</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment33</guid><pubDate>Mon, 16 Jun 2008 21:20:22 GMT</pubDate></item><item><title>Ayende Rahien commented on Scratching an itch: NMemcached</title><description>Patches are welcome :-)
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment32</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment32</guid><pubDate>Fri, 13 Jun 2008 14:22:34 GMT</pubDate></item><item><title>Fahad commented on Scratching an itch: NMemcached</title><description>It's awesome to see a .net implementation of memcached. I think it would be great idea to add to the standard memcached protocol to include support for File Dependency and Sql Server dependency.
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment31</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment31</guid><pubDate>Fri, 13 Jun 2008 14:03:21 GMT</pubDate></item><item><title>Harry M commented on Scratching an itch: NMemcached</title><description>I'll get on it :)
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment30</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment30</guid><pubDate>Tue, 10 Jun 2008 10:22:01 GMT</pubDate></item><item><title>Ayende Rahien commented on Scratching an itch: NMemcached</title><description>Harry,
  
Not likely, but a patch is always nice
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment29</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment29</guid><pubDate>Tue, 10 Jun 2008 08:59:31 GMT</pubDate></item><item><title>Ayende Rahien commented on Scratching an itch: NMemcached</title><description>This is running the client 10 times, using the exact approaches each time.
  
I include the first result, but it is not significantly higher than any other
  
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment28</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment28</guid><pubDate>Tue, 10 Jun 2008 08:37:45 GMT</pubDate></item><item><title>Harry M commented on Scratching an itch: NMemcached</title><description>any chance you could write a cometd server next? :) 
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment27</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment27</guid><pubDate>Tue, 10 Jun 2008 08:37:22 GMT</pubDate></item><item><title>Luke Q commented on Scratching an itch: NMemcached</title><description>At a glance it doesn't look like you allowed a cycle for the JIT to compile the code before the timing starts. The benchmarks that I've worked with allow time for results to converge, e.g. http://dacapobench.org/usage.html. This helps remove the JIT cost which is not really important for long running applications. Can you post some numbers with that approach?
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment26</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment26</guid><pubDate>Tue, 10 Jun 2008 03:38:52 GMT</pubDate></item><item><title>Ayende Rahien commented on Scratching an itch: NMemcached</title><description>gOODiDEA,
  
It won't. That is why it is on the cache.
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment25</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment25</guid><pubDate>Sun, 08 Jun 2008 09:42:08 GMT</pubDate></item><item><title>sirrocco commented on Scratching an itch: NMemcached</title><description>Actually it really shouldn't remove it if you set CacheItemPriority to High ... or if you want even - NotRemovable.
  
  
http://msdn.microsoft.com/en-us/library/system.web.caching.cacheitempriority.aspx
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment24</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment24</guid><pubDate>Sun, 08 Jun 2008 08:24:59 GMT</pubDate></item><item><title>gOODiDEA commented on Scratching an itch: NMemcached</title><description>hi Ayende,
  
can you test it for long time? I think GC will "destroy" cache although you set "System.Web.Caching.Cache.NoSlidingExpiration"
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment23</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment23</guid><pubDate>Sun, 08 Jun 2008 05:27:16 GMT</pubDate></item><item><title>Mark Hildreth commented on Scratching an itch: NMemcached</title><description>You know, when you said...
  
  
"It is written in C,", for a minute I thought you were talking about your NMemcached project, not the original Memcached :P
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment22</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment22</guid><pubDate>Sun, 08 Jun 2008 03:50:41 GMT</pubDate></item><item><title>Ayende Rahien commented on Scratching an itch: NMemcached</title><description>MbUnit 2.4
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment21</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment21</guid><pubDate>Sat, 07 Jun 2008 23:54:36 GMT</pubDate></item><item><title>Federico commented on Scratching an itch: NMemcached</title><description>Hi Ayende,
  
Can you tell me which version of mbUnit are you using? BTW thanks for sharing, it's a nice way to learn.
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment20</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment20</guid><pubDate>Sat, 07 Jun 2008 22:53:58 GMT</pubDate></item><item><title>Steve commented on Scratching an itch: NMemcached</title><description>Next time you get restless, setup a asp.net mvc preview 3 project that uses just Boo for controllers, views, etc... uses NHibernate and DI (with Boo and no configuration files)
  
  
:)
  
  
After that I promise I will switch to boo   :)
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment19</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment19</guid><pubDate>Sat, 07 Jun 2008 13:58:43 GMT</pubDate></item><item><title>Ayende Rahien commented on Scratching an itch: NMemcached</title><description>Nice, really nice. I'll have to try that
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment18</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment18</guid><pubDate>Sat, 07 Jun 2008 10:20:25 GMT</pubDate></item><item><title>Ryan Heath commented on Scratching an itch: NMemcached</title><description>Look at http://msdn.microsoft.com/en-us/library/system.net.sockets.socketasynceventargs.aspx
  
  
MSDN has some examples too how to use it, and there are a lot of examples availble on the net.
  
  
// Ryan
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment17</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment17</guid><pubDate>Sat, 07 Jun 2008 09:40:20 GMT</pubDate></item><item><title>Jeffrey McManus commented on Scratching an itch: NMemcached</title><description>This is spectacular. Thanks for doing it. I know that the native win32 version of memcached has been without a maintainer for some time (a few years, actually, I think) and I'd theorized that if someone did a .NET port it might attract more contributors.
  
  
To answer a few people's questions about why use this instead of Velocity or CacheMan -- memcache has been around for years and there is already a large body of knowledge about how to use it to scale up a large dynamic site. There are also memcache client libraries written in .NET (and lots of other languages) already so the support is already there.
  
  
It's also worth mentioning that memcache is cross platform so if your application knows how to use memcache it can store cache data on any machine running any OS in your data center, as long as that machine has spare RAM. This is something that Velocity will not likely ever provide.
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment16</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment16</guid><pubDate>Sat, 07 Jun 2008 05:52:36 GMT</pubDate></item><item><title>Daniel commented on Scratching an itch: NMemcached</title><description>Hi Ayende,
  
  
I would second Macro. One week for a powerful and extensible enterprise framework would be a good investment, that will benefit a lot of people. Even a small profiling project would serve. 
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment15</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment15</guid><pubDate>Fri, 06 Jun 2008 23:58:50 GMT</pubDate></item><item><title>Robert commented on Scratching an itch: NMemcached</title><description>Hi Ayende did you have a look at 
  
http://www.codeplex.com/SharedCache/Release/ProjectReleases.aspx?ReleaseId=10755
  
  
From my perspective it looks promising. 
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment13</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment13</guid><pubDate>Fri, 06 Jun 2008 20:57:50 GMT</pubDate></item><item><title>Robert commented on Scratching an itch: NMemcached</title><description>Hi Ayende did you have a look at 
  
http://www.codeplex.com/SharedCache/Release/ProjectReleases.aspx?ReleaseId=10755
  
  
From my perspective it looks promising. 
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment14</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment14</guid><pubDate>Fri, 06 Jun 2008 20:57:50 GMT</pubDate></item><item><title>Rob commented on Scratching an itch: NMemcached</title><description>Ayende...you're a sick, sick man...
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment12</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment12</guid><pubDate>Fri, 06 Jun 2008 20:35:52 GMT</pubDate></item><item><title>pete w commented on Scratching an itch: NMemcached</title><description>Lately I've been working less with .NET and I've picked up a project with ruby.
  
  
We are working with GemStone which doesnt rely on a traditional relational database, its more like a distributed cache of objects. You have objects on the disk, objects in distributed cache, and objects in worker processes and gemstone handles all of the concurrency.
  
  
 The big difference is that there is no object mapping/transformations between the disk/cache/memory, they all have the same structure, it is simple byte copies, which makes it screaming fast.
  
  
Its written in smalltalk and I would love to interface that in .NET sometime.
  
  
This is a decent overview of gemstone:
  
http://www.avibryant.com/2008/03/index.html
  
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment11</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment11</guid><pubDate>Fri, 06 Jun 2008 19:38:52 GMT</pubDate></item><item><title>Ayende Rahien commented on Scratching an itch: NMemcached</title><description>Ryan,
  
Can you give me a url for that, I would love to see this.
  
Even better, a patch :-)
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment10</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment10</guid><pubDate>Fri, 06 Jun 2008 19:13:51 GMT</pubDate></item><item><title>Ayende Rahien commented on Scratching an itch: NMemcached</title><description>Sriram,
  
What is the benchmark that you are running?
  
I am running a load test, basically open connections and try to happen the server using overlapped IO for getting things out of the client ASAP.
  
That said, I am assuming that your network code is significant more mature than mine. I paid no attention to perf during this stage
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment9</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment9</guid><pubDate>Fri, 06 Jun 2008 19:11:34 GMT</pubDate></item><item><title>Ayende Rahien commented on Scratching an itch: NMemcached</title><description>Marco,
  
That takes about a week, and compose a fairly complex architecture.
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment8</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment8</guid><pubDate>Fri, 06 Jun 2008 19:09:40 GMT</pubDate></item><item><title>Ryan Heath commented on Scratching an itch: NMemcached</title><description>You beat me up and down! :)
  
  
Great job!
  
  
I am implementing a memcache in C# in my sparse sparetime too.
  
But I didnt know I could use HttpCache in a service too, oh boy, that alone would have spared me a lot of hours of work.
  
  
Perhaps you should take a look at the .net 3.5 socket API which have greater performance compare to the IAsync pattern. And there are also a few SocketOptions which you could set, to get even more performance on the network stack.
  
  
// Ryan
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment7</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment7</guid><pubDate>Fri, 06 Jun 2008 18:29:27 GMT</pubDate></item><item><title>Marco commented on Scratching an itch: NMemcached</title><description>If you're still bored, sometime ago you had some posts about a enterprise system, see http://ayende.com/Blog/archive/2007/11/17/A-vision-of-enterprise-platform.aspx
  
  
I love to see what you ideas are about an extensible UI like you describe in that blog post:
  
  
Extensible in an easy manner - note that this holds for business analysts and for developers, both are groups that are likely to do work on the system. Ideally we can have some sort of a common interface that would make both people happy.
  
  
    * New entities
  
    * User Interface:
  
          o Forms
  
          o UI elements
  
          o Editing existing forms
  
    * Replacing core services
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment6</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment6</guid><pubDate>Fri, 06 Jun 2008 18:12:16 GMT</pubDate></item><item><title>Leverett commented on Scratching an itch: NMemcached</title><description>This is very clean.  I like its simplicity.  It essentially wraps System.Web.Caching.
</description><link>http://ayende.com/3356/scratching-an-itch-nmemcached#comment5</link><guid>http://ayende.com/3356/scratching-an-itch-nmemcached#comment5</guid><pubDate>Fri, 06 Jun 2008 18:08:56 GMT</pubDate></item></channel></rss>