Category Archives: mongodb

No more dirty reads with MongoDB

If you're reading this blog, it's a good bet that sometime in your life you've had a computer freeze or crash on you. You know that crashes happen. If it's your laptop, you restart and hope for the best. When it's your database, things are a bit more complicated. Historically, a database lived on a […]

Posted in mongodb | Tagged , , , | Comments closed

A parallel MongoDB client with Perl and fork

Concurrency is hard, and that's just as true in Perl as it is in most languages. While Perl has threads, they aren't lightweight, so they aren't an obvious answer to parallel processing the way they are elsewhere. In Perl, doing concurrent work generally means (a) a non-blocking/asynchronous framework or (b) forking sub-processes as workers. There […]

Also posted in perl programming | Tagged , , , | Comments closed

Finally, a streaming Perl filehandle API for MongoDB GridFS

GridFS is the term for MongoDB's filesystem abstraction, allowing you to store files in a MongoDB database. If that database is a replica set or sharded cluster, the files are secured against the loss of a database server. The recently released v1.3.x development branch of the MongoDB Perl driver introduces a new GridFS API implementation […]

Posted in mongodb | Tagged , , , | Comments closed

Getting ready for MongoDB 3.2: new features, new Perl driver beta

After several release candidates, MongoDB version 3.2 is nearing completion. It brings a number of new features that users have been demanding: No more dirty reads! With the new "readConcern" query option, users can trade higher latency for reads that won't roll-back during a partition. Document validation! While MongoDB doesn't use schemas, users can define […]

Posted in mongodb | Tagged , , , | Comments closed

If you use MongoDB and Perl, I want your feedback!

With the release of the v1.0 MongoDB Perl driver, I'm starting to sketch out a roadmap for future development and I'd like to hear from anyone using MongoDB and Perl together. How can you help? Please take a few minutes to fill out the MongoDB Developer Experience Survey. This survey covers all languages that MongoDB […]

Also posted in perl programming | Tagged , , , | Comments closed

© 2009-2017 David Golden All Rights Reserved