ppolv’s blog

February 4, 2008

Isn’t performance, is scalability

Filed under: random — Tags: , — ppolv @ 8:09 pm

Recently I’ve been reading about cache technologies, memcached in particular. The architecture behind memcached is what catch my attention: its so clear and simple. Beauty .

Then, I reach to this performance comparison between memcached and ehcache (almost a yer old, but I just read it, sorry). At first I was somewhat surprised and to be honest, disappointed. I thought memcached should compare better than that… but … wait…
The author of the article has experience in the word of java caching (actually, he is the maintainer of ehcache), but I think the benchmark isn’t really fair. While the memcached setup is already a distributed one, the ehcache setup don’t. While the memcached setup is ready to hold TERABYTES of data, the ehcache setup don’t.

I don’t say that ehcache can’t be distributed, what i say is that the costs associated with ehcache distribution aren’t represented in the benchmark.

Anyway, the point isn’t about performance, its scalability what matters!. And that’s why you should always read benchmarks carefully.
If my web application isn’t a big, heavy-accessed one (like the intranet applications I’m used to work with) then an entirely in-process caching strategy is fine, and easy to implement and understand too.
But for high-load scenarios, with many web servers involved, benchmarks like this one doesn’t apply.

Update: Unfair Benchmarks of Ehcache vs Memcached another response to the original article.

About these ads

5 Comments »

  1. Hi.
    I am looking for TSUNG with MUC plugin.
    How I can get the working version of it?
    May be exist the deb package?
    Please help me.

    Best regards.
    Veaceslav Kunitki

    Comment by Veaceslav Kunitki — July 30, 2009 @ 10:27 am

  2. I really had to present this particular article, “Isnt performance,
    is scalability | ppolv’s blog” together with my personal close friends on facebook .com. I personallybasically needed to distribute ur great writing! Regards, Wilburn

    Comment by Bradley — June 7, 2013 @ 2:10 pm

  3. “Isnt performance, is scalability | ppolv’s blog” was in fact seriously compelling and informative! In the present day universe honestly, that is difficult to deliver. Many thanks, Guillermo

    Comment by Randolph — June 7, 2013 @ 2:28 pm

  4. I personally Believe blog post, “Isnt performance, is scalability | ppolv’s blog” was indeed good! Icouldn’t agree along with u more!
    At last seems like I actuallystumbled upon a webpage worthy of browsing.
    Thanks for the post, Ernest

    Comment by Eloise — July 2, 2013 @ 4:23 pm

  5. This is really the 4th blog post, of your site I really went through.
    However , I really like this particular one, “Isnt performance, is scalability
    | ppolv’s blog” the very best. Take care ,Elvia

    Comment by Bethany — July 9, 2013 @ 11:47 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Shocking Blue Green Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: