Tokyo Cabinet is a cool power tool, but it's not a relational database. It only does key/value store. I'm not sure there would be much of a point to making a DM interface, since you wouldn't be able to use most of the methods in it. I think it would be much easier to just write a set of model methods for getting/setting the data.
Kyle Drake Net Brew Design http://www.netbrewdesign.com On Wed, Oct 22, 2008 at 4:40 PM, Julian Leviston <[EMAIL PROTECTED]> wrote: > > It'd be nice if it had a DataMapper object (DO). > > That'd be bloody wicked. > > Julian. > > On 22/10/2008, at 10:52 PM, David Beckwith wrote: > >> >> I just did a simple benchmark of inserting a million rows into a Tokyo >> Cabinet .fdb file versus a MySQL table. The Tokyo Cabinet insertions >> were 14 times faster. >> >> Time.now.to_f: >> ------------------------- >> Start Tokyo: 1224676065.98518 >> End Tokyo: 1224676080.02634 >> Server version: 5.0.37 >> Start MySQL: 1224676080.07674 >> End MySQL 1224676246.60687 >> >> Granted, that's not a realistic scenario, but it shows what might be >> possible. >> >> > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
