Posted Monday, January 26th, 2009 by createtank

Paper: Scalability by Design – Coding for Systems With Large CPU Counts


Paper: Scalability by Design – Coding for Systems With Large CPU Counts via High Scalability – Building bigger, faster, more reliable websites.
by Todd Hoff on 1/26/09

The multi-cores are coming and software designed for fewer cores usually doesn’t work on more cores without substantial redesign. For a taste of the issues take a look at No new global mutexes! (and how to make the thread/connection pool work), which shows some of the difficulties of making MySQL perform on SMP servers.

In this paper, Richard Smith, a –Staff Engineer at Sun, goes into some nice detail on multi-core issues. His take home lessons are:

  • Use fine-grained locking or lock-free strategy
  • Document the strategy, including correctness criteria (invariants)
  • Keep critical sections short
  • Profile the code at both light and heavy load
  • Collect HW performance counter data
  • Identify bottleneck resource (there’s always at least one!)
  • Eliminate or ameliorate it


One Response to “Paper: Scalability by Design – Coding for Systems With Large CPU Counts”

  1. PETER says:


    CheapTabletsOnline.Com. Canadian Health&Care.Special Internet Prices.Best quality drugs.No prescription online pharmacy. Online Pharmacy. Buy drugs online

    Buy:Lipothin.Zetia.Lasix.Amoxicillin.Prozac.Advair.Lipitor.Buspar.Zocor.Cozaar.Benicar.Nymphomax.Acomplia.Seroquel.Female Pink Viagra.Ventolin.SleepWell.Female Cialis.Aricept.Wellbutrin SR….

Post a Comment

latest news

Web Service Description for REST

Much has been written concerning the potential need for a description language for REST based web services.

No to SQL/RDBMS
JavaFX, Android, and J2ME
IBM says Vista the best recruiter for Linux
FOSS full stack framework comparison
What is Oracle to do with MySQL?
Intro to Terracotta
Memory Based Architecture and Clouds

Good discussion on the effect of Clouds and Memory based architecture on data access.

97 Things Every Software Architect Should Know

New from O'Reilly.

Apple, Google, and more over Microsoft