Company
Date Published
Author
MongoDB
Word count
1083
Language
English
Hacker News points
None

Summary

The MongoDB Ruby driver has recently released version 1.2, which supports all the latest features of MongoDB. The driver now includes two connection classes: `Connection` and `ReplSetConnection`, with the latter facilitating discovery, automatic failover, and read distribution for replica sets. The driver also provides support for JRuby, guaranteeing the best performance for this platform, as well as built-in connection pooling for multi-threaded apps. For Rails users, the object mappers can be a great help, but caution is advised to avoid creating unwieldy documents. The MongoDB Ruby driver will continue to evolve, with upcoming features including an asynchronous facade and updated documentation.