
To my wife, who’s been an amazing rock throughout this entire process: You make me a better person.
To my kids: you managed to fill a place in my heart I didn’t know I had empty. I love you.
Any piece of software that either deals with an increasing amount of data or interacts with the public on a world-wide capacity will eventually (if the creators play their cards right) grow out of control.
This situation can get out of hand quickly if you’re not expecting it, after all, it’s plays a major role in crashing your favorite websites everyday. The key aspect here, is to understand why they happen and the kind of tools you have a your disposal to solve them once they do. By getting that part right, you’ll be ready to understand the signs and know how to react to them. And that is what this book attempts to answer.
Throughout this book, with the help of plenty of diagrams and, in some weird occasion, a few code samples, I’m going to provide you with the what, the where, the when, the who, and the “uh?” about scaling large platforms, while working with Node.js.
I’d like to thank the amazing technical reviewer involved in the project, Shane Hudson, whose great feedback was a crucial contribution to the making of this book.
I’d also like to thank the rest of the Apress editorial team, whose guidance helped me through the process of writing this book.

has worked as a developer for the past 13 years. In that time, he has come to love the Web, and has had the opportunity to work with most leading technologies, such as PHP, Ruby on Rails, MySQL, Node.js, Angular.js, AJAX, REST APIs, and others. For the past four years Fernando has also been working as a Technical Manager and Technical Lead for Big Data projects.
In his spare time, Fernando likes to tinker, learn new things, and write technical articles and books such as this one. He’s also a big open source supporter, always trying to bring new people into it. When not programming, he can be seen spending time with his family.
Fernando can be contacted on Twitter @deleteman123 or online at www.fernandodoglio.com .

is a freelance web developer and author of JavaScript Creativity (Apress, 2014). From small proof of concept prototypes to large startups, charities and government organizations, Shane has worked on all kinds of projects and with all kinds of teams around the world. He can be found on his personal site at https://shanehudson.net or on Twitter at https://twitter.com/ShaneHudson .