---
title: "4 General Core Scalability Patterns"
author: "dirkxu"
date: "2010-09-10T09:19:15Z"
tags: []
categories: ["编程语言"]
slug: "4-general-core-scalability-patterns"
draft: false
lastmod: "2010-09-10T09:19:15Z"
id: 759953
url: "https://dirkxu.iteye.com/blog/759953"
---

**Jesper Söderlund put together an excellent list of four general scalability patterns and four subpatterns in his post [Scalability patterns and an interesting story](http://thebigsoftwareblog.blogspot.com/2010/08/scalability-fundamentals-and.html):**

- **Load distribution** - Spread the system load across multiple processing units
  
  - **Load balancing / load sharing** - Spreading the load across many components with equal properties for handling the request
  - **Partitioning** - Spreading the load across many components by routing an individual request to a component that owns that data specific
    
    - **Vertical partitioning** - Spreading the load across the functional boundaries of a problem space, separate functions being handled by different processing units
    - **Horizontal partitioning** - Spreading a single type of data element across many instances, according to some partitioning key, e.g. hashing the player id and doing a modulus operation, etc. Quite often referred to as sharding.
- **Queuing and batch** - Achieve efficiencies of scale by processing batches of data, usually because the overhead of an operation is amortized across multiple request
- **Relaxing of data constraints** - Many different techniques and trade-offs with regards to the immediacy of processing / storing / access to data fall in this strategy

<!--THE END-->

- **Parallelization** - Work on the same task in parallel on multiple processing units