gohbase
gohbase copied to clipboard
How can I put a list of rows?
only see the put method, can I put the multi-row in one request together?
Currently, explicit batch operations are not support, however if you spawn multiple goroutines and multiple PUT operations are executed within a small window, these ops will all be batched automatically before sending. It's not ideal, but it works.
That said, I will be making a PR in the (maybe near?) future to add explicit batching support, as we need it at my job. All I can say is... look forward to it :P
thanks
Any advance in this regard? :)
Unfortunately it's been deprioritized for us as we have decided to move to a different datastore for other reasons. I wouldn't count on this work from us any time soon, if ever at this point.
Sorry. :(
No worries :wink:
I've tried the "spawn lots of goroutines" way and it works like a charm. It takes 40min to write to HBase what used to take ~20h. Magic.
Thanks for making this library in the first place. :heart: