Lunch and Learn: Tokyo Tyrant

by didip on 7 May 2009

A brief description about Lunch and Learn:

Here at AboutUs, we have developers coming from various backgrounds; perl, rails, python, merb, and scala enthusiasts. It would be really cool if we can share to others what the developer have learn from his late-night hacking.

Thus, Ward Cunningham suggested that we hold Lunch and Learn every Friday @ 12noon. Each developer would make a presentation on his finding, explains why it is interesting, and hold Q&A session afterward.

Last Week’s Lunch and Learn: Tokyo Tyrant

Tokyo Tyrant is networking layer on top of Tokyo Cabinet, a fast key-value database. With the size of data that AboutUs handles, we are interested in alternative database that can support our current and future needs. Tokyo Cabinet is one of the candidates.

During that presentation:

  • I showed how we could use Moneta for interfacing with Tokyo Tyrant.
  • I showed the speed benchmark of Tokyo against Memcache and Redis.
  • I presented my finding about Tokyo Cabinet’s Table backend and its Ruby client.
  • I also get to explain on how outside developers use Tokyo Tyrant (e.g. LightCloud).
  • The persentation took an interesting turn where all developers sat down and discuss on how we would build a system without the convinience of SQL language.

{ 6 comments }

Max Ogden 7 May 2009 at 6:26 pm

Do you have slides available from the tokyo tyrant presentation? I’d love to see the tokyo/memcache/redis benchmarks

didip 8 May 2009 at 2:45 pm

@Max

Even better, if you are ruby developer, you can get the profile tests here:

http://github.com/didip/moneta-profile/tree/master

The tests code is using Moneta, a unified key-value database interface for Ruby.

Some basic instructions:
1. Git clone the moneta project.
2. Git clone the moneta-profile inside moneta directory.

With the test code you can play around with the value size and number of keys.

Hope that helps (I’m not that great in building presentation slides).

JarredB 8 May 2009 at 11:27 pm

Sounds like you’re all going to have a lot of fun!

Andrew Cramer 27 May 2009 at 1:33 am

Can you please share your PPT or any material from your presentation. It seems quite interesting

benivolent 30 May 2009 at 3:34 am

Like wise do u have any PPt….

didip 3 June 2009 at 5:09 pm

I am sorry for being such a horrible speaker. I do not have PPT slides.

But to make up for it, I documented the Tokyo findings in my personal blogs here: (this is not self promotion, I promise)

http://rapd.wordpress.com/2009/04/21/ruby-moneta/
http://rapd.wordpress.com/2009/03/18/tokyo-cabinettyrant-for-python-programmers/
http://rapd.wordpress.com/2009/02/26/tokyo-cabinet-another-key-value-database/

Comments on this entry are closed.

Previous post: WikiWednesday recap – Wikipedia for Journalists and Bloggers

Next post: Has the wiki well run dry?