My Minnesota PHP Usergroup (mnphp.org) presentation where I give an overview on MongoDB and other non-relational databases and their ability to solve unique, complex problems.
22. Temporary & volatile dataCaching layers are a band aid that fix problems the RDMS was never meant to handle
23. Brewerâs CAP Theorem Consistency Service operates fully or not at all. You either clicked âPlace Orderâ or you didnât. Availability Service is always available with no need for scheduled downtime or maintenance windows. Partition Tolerance No set of failures less than total network failure is allowed to cause the system to respond incorrectly. Pick two.
70. Capped collectionsMongoDB in many ways âfeelsâ like an RDMS. Itâs easy to learn and quick to implement.
71. Semi-Structured Data MongoDB is NOT a key/value store. Store complex documents as arrays, hash tables, integers, objects and everything else supported by JSON:
72. Native BSON Serialization 100,000 serialize/de-serialize runs of bson_encode(), json_encode() and serialize() in the PHP: The PHP MongoDB extension serializes the data in C outside of the runtime leading to even better results.
85. Counters (failed login attempts, visits)MongoDB can apply most updates over the existing row, keeping the index and data structure relatively untouched â and do so VERY FAST.