An Introduction to Membase

4,483 views
4,427 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,483
On SlideShare
0
From Embeds
0
Number of Embeds
742
Actions
Shares
0
Downloads
79
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

An Introduction to Membase

  1. 1. an introduction to MEMBASE @tlossen, 2010-08-05 1
  2. 2. “simple, fast, elastic” 2
  3. 3. overview • key-value-store • API-compatible to memcached - same protocol / client libs • ‘memcached with persistence’ 3
  4. 4. 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
  5. 5. cluster structure • all nodes are alike - one elected as “coordinator” • each node is master for part of key space - handles all reads & writes 5
  6. 6. sharding 6
  7. 7. node 7
  8. 8. storage 8
  9. 9. replication • each vbucket has configurable number of replicas • protects against node failure - quick failover • master sends updates to replicas asynchronously 9
  10. 10. elasticity • can add nodes at any time • can remove nodes at any time - replicas are promoted to master • rebalancing necessary • no downtime! 10
  11. 11. rebalancing • initiated manually • membase calculates new vbucket map • masters / replicas are migrated to other nodes (as needed) 11
  12. 12. deployment 12
  13. 13. q&a 13
  14. 14. links • “Membase Unleashed” - northscale.com/ products/resources.html • membase.org • github.com/northscale 14

×