Ohm does not use mget?

21 views
Skip to first unread message

tanin

unread,
Jun 26, 2011, 12:46:37 PM6/26/11
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

tanin can mend your broken heart

unread,
Jun 27, 2011, 12:20:47 AM6/27/11
to Ohm Ruby
Sorry guys. False Alarm.

I have retested it. With Ohm, it took 0.05 seconds, which is still very fast.
--
Tanin Na Nakorn
Chief Technology Officer - Whowish Ltd.
www.whowish.com

Michel Martens

unread,
Jun 27, 2011, 9:04:24 AM6/27/11
to ohm-...@googlegroups.com
On Mon, Jun 27, 2011 at 1:20 AM, tanin can mend your broken heart
<tan...@gmail.com> wrote:
> Sorry guys. False Alarm.
>
> I have retested it. With Ohm, it took 0.05 seconds, which is still very
> fast.
>

Good to hear that :-)

Reply all
Reply to author
Forward
0 new messages