Top Banner
an introduction to MEMBASE @tlossen, 2010-08-05 1
14
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: An Introduction to Membase

an introduction to

MEMBASE

@tlossen, 2010-08-05

1

Page 2: An Introduction to Membase

“simple, fast, elastic”

2

Page 3: An Introduction to Membase

overview

• key-value-store

• API-compatible to memcached

- same protocol / client libs

• ‘memcached with persistence’

3

Page 4: An Introduction to Membase

status

• developed by NorthScale & Zynga

• used in production (farmville)

• released in June 2010

- Apache 2.0 License

• current version is 1.6 beta 2

4

Page 5: An Introduction to Membase

cluster structure

• all nodes are alike

- one elected as “coordinator”

• each node is master for part of key space

- handles all reads & writes

5

Page 6: An Introduction to Membase

sharding

6

Page 7: An Introduction to Membase

node

7

Page 8: An Introduction to Membase

storage

8

Page 9: An Introduction to Membase

replication• each vbucket has configurable

number of replicas

• protects against node failure

- quick failover

• master sends updates to replicas asynchronously

9

Page 10: An Introduction to Membase

elasticity

• can add nodes at any time

• can remove nodes at any time

- replicas are promoted to master

• rebalancing necessary

• no downtime!

10

Page 11: An Introduction to Membase

rebalancing

• initiated manually

• membase calculates new vbucket map

• masters / replicas are migrated to other nodes (as needed)

11

Page 12: An Introduction to Membase

deployment

12

Page 13: An Introduction to Membase

q & a

13