Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Node: Up and Running: Scalable Server-Side Code with JavaScript

Buy
In 2008 I was searching for a new programming platform for making websites. This was more than wanting a new language; indeed, the details of the language mattered very little to me. Rather, I was concerned about the ability to program advanced push features into the website like I had seen in Gmail—the ability for the server to push data to the user instead of having to constantly poll. The existing platforms were tightly coupled to the idea of the server as something that receives a request and issues a response sequentially. To push events to the browser, the platform needed to be able to constantly handle a number of open and mostly idle connections.

I knew how to make this work at the system call layer, in C. If I used only nonblocking sockets, the overhead per connection was very small. In small tests, I could demonstrate a server that could handle thousands of idle connections or pretty massive throughput. I knew that this was the optimal way for a user-space Unix server to be implemented. However, I didn’t want to work in C; I wanted the beautiful fluidness of a dynamic language. Although it was possible to issue the exact system calls I wanted in every programming language, it was very ugly and was always the “alternative” method of socket programming. My theory was that nonblocking sockets were not actually difficult at all, as long as everything was nonblocking.

This book introduces you to Node, the new web development framework written in JavaScript. You'll learn hands-on how Node makes life easier for experienced JavaScript developers: not only can you work on the front end and back end in the same language, you'll also have more flexibility in choosing how to divide application logic between client and server.

Written by a core contributor to the framework, Node: Up and Running shows you how Node scales up to support large numbers of simultaneous connections across multiple servers, and scales down to let you create quick one-off applications with minimal infrastructure. Built on the V8 JavaScript engine that runs Google Chrome, Node is already winning the hearts and minds of many companies, including Google and Yahoo! This book shows you why.

  • Understand Node's event-loop architecture, non-blocking I/O, and event-driven programming
  • Discover how Node supports a variety of database and data storage tools
  • Learn best practices for writing easy-to-maintain code for Node
  • Get concrete examples of how to use the various Node APIs in practice
  • Take advantage of the book’s complete API reference
(HTML tags aren't allowed.)

MCSE Core Elective Exams in a Nutshell
MCSE Core Elective Exams in a Nutshell

For Windows XP and Windows Server 2003 administrators preparing for
Microsoft Certified Systems Engineer (MCSE) core exam 70-270, and core exams 70-297, and 70-298, this book is invaluable. Not only does it provide the resources you need to succeed on the exams, but to succeed in the real world as well. Think of this book
...

Pattern Recognition and Image Analysis: Third Iberian Conference, IbPRIA 2007, Girona, Spain, June 6-8, 2007, Proceedings, Part I
Pattern Recognition and Image Analysis: Third Iberian Conference, IbPRIA 2007, Girona, Spain, June 6-8, 2007, Proceedings, Part I
The two-volume set LNCS 4477 and 4478 constitutes the refereed proceedings of the Third Iberian Conference on Pattern Recognition and Image Analysis, IbPRIA 2007, held in Girona, Spain in June 2007.

The 48 revised full papers and 108 revised poster papers presented together with 3 invited talks were carefully reviewed and selected from 328...

Parallel Processing and Applied Mathematics: 5th International Conference, PPAM 2003, Czestochowa, Poland, September 7-10, 2003. Revised Papers
Parallel Processing and Applied Mathematics: 5th International Conference, PPAM 2003, Czestochowa, Poland, September 7-10, 2003. Revised Papers
This book constitutes the thoroughly refereed post-proceedings of the 5th International Conference on Parallel Processing and Applied Mathematics, PPAM 2003, held in Czestochowa, Poland, in September 2003.

The 149 papers presented were carefully selected and improved during two rounds of reviewing and revision. The papers are organized in...


Parallel Computing on Heterogeneous Clusters
Parallel Computing on Heterogeneous Clusters
A timely reference on new approaches to parallel computing

Traditional software for parallel computing typically spreads computations evenly over a set of linked processors. This, however, may not always be the best way of maximizing the performance of a given network or cluster of computers. By taking account of the actual performance of...

The Handbook of Human-Machine Interaction
The Handbook of Human-Machine Interaction

"The Handbook of Human-Machine Interaction" features 20 original chapters and a conclusion focusing on human-machine interaction (HMI) from analysis, design and evaluation perspectives. It offers a comprehensive range of principles, methods, techniques and tools to provide the reader with a clear knowledge of the current academic...

System Center Operations Manager 2007 Unleashed
System Center Operations Manager 2007 Unleashed
The process of operations management is a combination of people, procedures, and tools—all three are necessary, and the absence of one component can put an entire enterprise solution at risk. At a more granular level, operations management is about correlating what may appear to be seemingly unrelated events and data across machines to...
©2021 LearnIT (support@pdfchm.net) - Privacy Policy