tanin
unread,Jun 26, 2011, 12:46:37 PM6/26/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ohm Ruby
I have tried Ohm::Model with 10 fields: a0, a1, ..., a9.
I have tested manually to mget 1000 times, each of which has 10 keys.
It took only 0.008 seconds.
But when I store those 10 fields in Ohm object and try querying it, it
took like 2.6 seconds.
In my opinion, if you use mget to get all fields at once in the
beginning, it'll help a lot.
Thanks