News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Derick Rethans:
Connection Handling with the MongoDB PHP driver
December 04, 2012 @ 10:54:15

Continuing on with his look at the newly released version of the MongoDB driver for PHP Derick Rethans has posted more detail about the advanced connection handling options this new driver version provides.

The 1.3 release series of the PHP MongoDB driver features a rewritten connection handling library. This is quite a large change and changes how the PHP driver deals with persistent connections and connection pooling.

He starts with an example of a v1.2 driver connection, how the connection is requested from a pool and how, based on the integration of a worker into the connection process, v1.3 handles the connection requests. He includes a bit about replica set connections and authentication connections, complete with PHP code examples showing them in practice.

0 comments voice your opinion now!
connection handling tutorial mongodb driver version


blog comments powered by Disqus

Similar Posts

Mike Naberezny's Blog: Wrapping PHP Functions for Testability

BillS' IIS Blog: How to install FastCGI and PHP on IIS7 Beta 3 (Video)

WaxJelly Blog: Simple PHP script using the YouTube API (with pagination)

DevShed: Introducing Bridge Classes with PHP 5

James Morris' Blog: Removing Dependencies with the Observer Pattern (SplObserver, SplSubject)


Community Events











Don't see your event here?
Let us know!


security hack hhvm opinion application language install overview unittest framework release code podcast package series symfony2 facebook composer component introduction

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework