Implementing EFFICIENTLY a riak pre-commit hook that does get and put
ori.bar at nivertech.com
Mon Mar 21 12:28:29 EDT 2011
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.
Ori Bar, Software Engineer
email: ori.bar at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users