Showing posts with label scalability. Show all posts
Showing posts with label scalability. Show all posts

Web Operations: Keeping the Data On Time Review

Web Operations: Keeping the Data On Time
Average Reviews:

(More customer reviews)
The answers aren't always simple and the multi-author nature of the book means that the structure is not straightforward, but the book contains most of the questions that Internet application developers and maintainers should ask themselves regarding operations, monitoring, backups, and scaling. The book pours cold water on one of my cherished ideas, i.e., build an Internet application as a relational database management system application and then add a thin HTML layer on top. But the authors and the experience of popular sites such as Facebook argue in favor of relegating the database to a very simple supporting role.

Click Here to see more reviews about: Web Operations: Keeping the Data On Time


A web application involves many specialists, but it takes people in web ops to ensure that everything works together throughout an application's lifetime. It's the expertise you need when your start-up gets an unexpected spike in web traffic, or when a new feature causes your mature application to fail. In this collection of essays and interviews, web veterans such as Theo Schlossnagle, Baron Schwartz, and Alistair Croll offer insights into this evolving field. You'll learn stories from the trenches--from builders of some of the biggest sites on the Web--on what's necessary to help a site thrive.

Learn the skills needed in web operations, and why they're gained through experience rather than schooling
Understand why it's important to gather metrics from both your application and infrastructure
Consider common approaches to database architectures and the pitfalls that come with increasing scale
Learn how to handle the human side of outages and degradations
Find out how one company avoided disaster after a huge traffic deluge
Discover what went wrong after a problem occurs, and how to prevent it from happening again

Contributors include:

John Allspaw Heather Champ Michael Christian Richard Cook Alistair Croll Patrick Debois Eric Florenzano Paul Hammond Justin Huff Adam Jacob Jacob Loomis Matt Massie Brian Moon Anoop Nagwani Sean Power Eric Ries Theo Schlossnagle Baron Schwartz Andrew Shafer


Buy Now

Click here for more information about Web Operations: Keeping the Data On Time

Read More...

The Definitive Guide to MongoDB: The NoSQL Database for Cloud and Desktop Computing Review

The Definitive Guide to MongoDB: The NoSQL Database for Cloud and Desktop Computing
Average Reviews:

(More customer reviews)

I have to admit I learned quite a lot from this book. It is full of detail, plenty of examples, and even a sample application - building a blog publishing system with PHP & Mongodb.
What I liked:
The layout of the book is exactly how you'd want a technical book to be. The intro chapter answers some of your nagging questions such as How is data stored in a non-relational database? Why would you use a NoSQL database? What are it's use cases? From there the chapters take you by the hand, installing, querying, developing, and finally administering. So the book is easy to navigate.
As a DBA I wanted to know about replication, so I jumped right to chapter eleven. You learn about the oplog which is like the binlog in mysql, an ongoing log of changes to the database. The slaves then fetch and apply these changes themselves. Single master & single slave, single master & multiple slaves, multi master replication and cascading are all topologies that MongoDB supports.
There's of course also a whole chapter on general database administration of MongoDB, including full coverage of backups and so on. There's also a whole chapter on sharding, which is the process of scaling your database horizontally so you can handle more reads and writes.
What I didn't like:
The author seemed to make some sweeping statements that bothered me quite a bit. I won't go as far as to say there was a lack of relational database knowledge, but it was implied: "Improving performance with a relational database is usually straightforward: you buy a bigger, faster server." Well no actually, that's not really how you improve performance. As a long standing DBA with a decade and a half of experience I can tell you the best way to get orders of magnitude performance improvements is to look at how you are using resources, and use he more efficiently. In affect tuning developers code, and teaching them how to write optimal code, how to think about resources, and how to build test cases to benchmark.
Another one that was illustrative: "developers always have to work against the flow". Well I'm of two minds here. Yes they have to work against the flow, and constraints and structure is built into the database for a reason. So you have useful data at the end of the day, year, or decade of collecting it. On the other hand what I think they quote above is getting at is, the way data in an application is stored in memory, ie data structures, is very very different from how it is stored in databases. Do we have an alternative to this, and when and how might we use that?
I would have liked to see more comparisons, weighing the pros and cons of traditional rdbms's and then NoSQL solutions, and how they measure up. Since MongoDB is so new, inevitably folks considering the technology are somewhat versed already in relational databases, and are asking will MongoDB work. I would have also liked some business case studies, for instance a discussion of the recent FourSquare outage, what went wrong with MongoDB, and why.
On balance this is a really great book, well written, and easy to read. It will definitely address all of your beginning questions as both a DBA and a Developer, and send you off in the right direction to get started with MongoDB!

Click Here to see more reviews about: The Definitive Guide to MongoDB: The NoSQL Database for Cloud and Desktop Computing


MongoDB, a cross-platform NoSQL database, is the fastest-growing new database in the world. MongoDB provides a rich document-oriented structure with dynamic queries that you'll recognize from RDBMS offerings such as MySQL. In other words, this is a book about a NoSQL database that does not require the SQL crowd to re-learn how the database world works!

MongoDB has reached 1.0 and boasts 50,000+ users. The community is strong and vibrant and MongoDB is improving at a fast rate. With scalable and fast databases becoming critical for today's applications, this book shows you how to install, administer and program MongoDB without pretending SQL never existed.

What you'll learn
Set up MongoDB on all major platforms, including Linux and Cloud platforms
Model data within a document-oriented database
Work with your data using non-SQL commands
Write applications using MongoDB's PHP API
Optimize MongoDB
Master MongoDB administration, including replication

Who this book is for
This book will appeal to everyone with some experience in database administration, and provides the entry point for those of us who don't want to hear about database theory but still need to implement a NoSQL-based database. PHP developers will also profit from this book, since it will add an important NoSQL database to their toolkit.

Table of Contents
Introduction to MongoDB
Installing MongoDB
The Data Model
Working with Data
GridFS
PHP and MongoDB
Python and MongoDB
Creating a Blog Application with the PHP Driver
Database Administration
Optimization
Replication
Sharding


Buy Now

Click here for more information about The Definitive Guide to MongoDB: The NoSQL Database for Cloud and Desktop Computing

Read More...