I implemented a pre-commit hook for riak which gets and updates a specific
"meta" key whenever commits satisfy a specific criteria. I have noticed
however, that doing Client:get to retrieve the "meta" key takes long, and
seriously slows down my commits (about 20 times slower). Are there any
advices on how to do this correctly? I currently call riak:local_client in
the commit hook and then do riak_client:get.

-- 
Best Regards,

Ori Bar, Software Engineer
Nivertech Ltd

email:    ori....@nivertech.com
phone:   +972-52-2838429
www:     http://www.nivertech.com

The content of this message is Nivertech Ltd Confidential.  If you are not
the intended recipient and have received this message in error, any use or
distribution is prohibited. Please notify me immediately by reply e-mail and
delete this message from your computer system. Thank you.
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to