• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Tokyo Cabinet
 

Tokyo Cabinet

on

  • 3,201 views

brief presentation of tokyo cabinet to the Belgian Ruby User group

brief presentation of tokyo cabinet to the Belgian Ruby User group

Statistics

Views

Total Views
3,201
Views on SlideShare
3,192
Embed Views
9

Actions

Likes
0
Downloads
33
Comments
0

1 Embed 9

http://www.slideshare.net 9

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Tokyo Cabinet Tokyo Cabinet Presentation Transcript

    • Tokyo Cabinet Elise Huard – BRUG meeting 27/08/2009
    •  
    • http://www.slideshare.net/estraier/introduction-to-tokyo-products?src=embed
    • FAST 0.7s to store 10 6 in hash table 1.6s to store 10 6 in Btree table
    • Tokyo Cabinet
      • key-value database
      • API for Perl, Java, Lua and, yes, Ruby
      • high concurrency
      • high scalability
      • Cursors, Transactions
    • Tokyo Cabinet
      • Hash Database
      • Binary tree database: can be ordered, and retrieved by value or by range.
      • fixed-length database: like an array
      • table database: schema-less (like CouchDB)
    • Ruby
      • Ruby API
      • http://tokyocabinet.sourceforge.net/index.html
      • Rufus-Tokyo
      • http://github.com/jmettraux/rufus-tokyo/tree/master
      • Miyazakiresistance (ActiveRecord-like)
      • http://github.com/tsukasaoishi/miyazakiresistance/tree/master
      • dm-tokyo-cabinet-adapter (Datamapper)
      • http://github.com/makoto/dm-tokyo-cabinet-adapter/tree/master
    • Tokyo Tyrant
      • network interface Tokyo Cabinet
      • start server locally
      • ttserver -port 45001 data.tch
      • Access remotely
      • Speaks its own protocol, memcached or HTTP (restful)
      • Linux, FreeBSD, Mac OS X, Solaris only
    • Tokyo Tyrant
      • remote access (duh)
      • but also:
      • remote backup and recovery
      • replication (master-slave)
      • tuned to the type of db you're using
      • Lua extension to the database (server side scripts that add functionality)
    • Tokyo Dystopia
      • Full-text search. According to docs
      • High search performance
      • Phrase matching, prefix matching, suffix matching, token matching
      • Unicode
      • Ruby: rufus-tokyo
    • http://www.igvita.com/2009/07/13/extending-tokyo-cabinet-db-with-lua/
      • comparison with traditional database would be interesting
      • Challenge: think beyond
      • Speed and extensibility !
      Concluding
      • Cool new toy !
      • http://tokyocabinet.sourceforge.net/index.html
      • http://www.igvita.com/2009/02/13/tokyo-cabinet-beyond-key-value-store/
      • http://www.igvita.com/2009/07/13/extending-tokyo-cabinet-db-with-lua/
      • http://tokyocabinet.sourceforge.net/tyrantdoc/
      • http://github.com/jmettraux/rufus-tokyo/tree/master
      • http://github.com/tsukasaoishi/miyazakiresistance/tree/master
      • http://github.com/makoto/dm-tokyo-cabinet-adapter/tree/master