• Like
Membase Lightning Talk Munich on Rails
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Membase Lightning Talk Munich on Rails

  • 1,189 views
Published

Lightning talk about membase at the Munich on Rails meeting in December 2010

Lightning talk about membase at the Munich on Rails meeting in December 2010

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,189
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
6
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Transcript

  • 1. Membase Lightning Talk Christian van der Leeden, CIO, Scoreloop
  • 2. Origin• Used by Zynga to power their social gaming backend• Founded by the creator of memcache• Available as Open Source or Commercial (supported) product
  • 3. Memcache • Key Value Store • Memcache ProtocolMemcache (Binary/ASCII)
  • 4. Persistent Memcache Memcache • Every key/value is made persistent (in sqlite)persistence engine sqlite
  • 5. Sharded•using vbuckets (collection of keys)• can use any vbucket aware client (e.g. moxi)• there is a default balancer on the “master” Moxi Memcache Memcache ... persistance persistance
  • 6. Replicated• using vbuckets (collection of keys) vbucket vbucket’ Memcache Memcache persistance persistance ... TAP protocol ns_server ns_server
  • 7. Notes• only manual fail over• rebalancing happens without interruption• Moxi can be installed on client or membase server (or implemented in client library)• membase bucket (virtual membase server) • can set replication factor • and determine size in memory
  • 8. Personal notes• Very nice UI to manage• easy setup• pretty young (not too active mailing list/irc channel)• perfect fit for rails app since drop in replacement for memcache• We use it with dalli (https://github.com/mperham/dalli)• source compile is tough getting it right• is a mixture of many components (memcache, persistance engine, libevent, ns_server, erlang )• we use it as persistent memcache currently
  • 9. More Information• http://www.membase.org• irc: #membase on freenode.net• http://groups.google.com/group/membase