Fernando Doglio
Scaling Your Node.js AppsProgress Your Personal Projects to Production-Ready
Fernando Doglio
La Paz, Canelones, Uruguay
ISBN 978-1-4842-3990-2e-ISBN 978-1-4842-3991-9
Library of Congress Control Number: 2018964431
© Fernando Doglio 2018
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein.
Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.

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.

Introduction

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.

Acknowledgments

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.

Table of Contents

Index 157

About the Author and About the Technical Reviewer

About the Author

Fernando Doglio
../images/464896_1_En_BookFrontmatter_Figb_HTML.jpg

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 .

 

About the Technical Reviewer

Shane Hudson
../images/464896_1_En_BookFrontmatter_Figc_HTML.jpg

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 .