News for hackers. Stuff that matters.
Re:RethinkDB 1.6 is out: regex matching, new array operation... by coffeemug on Thursday June 13, 2013 @06:39PM (#5877074)
Ah, I see. This is a known problem with the performance of the protobuf serialization library we're using in the Ruby driver (see https://github.com/rethinkdb/rethinkdb/issues/897). It bottlenecks the CPU and should be fixed in the next release.

In the meantime, you could try running a multithreaded/multiprocess script -- that would significantly increase throughput.

Sorry you ran into this -- it'll be fixed ASAP.

Re:RethinkDB 1.6 is out: regex matching, new array operation... by rb2k_ on Friday June 14, 2013 @04:46AM (#5878929)
the driver doesn't seem to be threadsafe and just locks once I start using it in threads :(
Re:RethinkDB 1.6 is out: regex matching, new array operation... by coffeemug on Friday June 14, 2013 @07:10PM (#5883070)
Sorry -- the drivers are meant to be used in a way where you create a new connection in each thread. If you do it this way, things will work.