an introduction to
MEMBASE
@tlossen, 2010-08-05

                       1
“simple, fast, elastic”



                          2
overview

• key-value-store
• API-compatible to memcached
   -   same protocol / client libs
• ‘memcached with persistence...
status
• developed by NorthScale & Zynga
• used in production (farmville)
• released in June 2010
   -   Apache 2.0 Licens...
cluster structure
• all nodes are alike
   -   one elected as “coordinator”
• each node is master for part of key
  space
...
sharding




           6
node




       7
storage




          8
replication
• each vbucket has configurable
  number of replicas
• protects against node failure
   -   quick failover
• ma...
elasticity
• can add nodes at any time
• can remove nodes at any time
   -   replicas are promoted to master
• rebalancing...
rebalancing

• initiated manually
• membase calculates new vbucket
  map
• masters / replicas are migrated to
  other node...
deployment




             12
q&a

      13
links
• “Membase Unleashed”
  -   northscale.com/
      products/resources.html
• membase.org
• github.com/northscale


  ...
Upcoming SlideShare
Loading in...5
×

An Introduction to Membase

4,376

Published on

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

No Downloads
Views
Total Views
4,376
On Slideshare
0
From Embeds
0
Number of Embeds
0
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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×