Node.js High Performance by Diogo Resende

By Diogo Resende

Take your program to the following point of excessive functionality utilizing the broad features of Node.js

About This Book

  • Analyze, benchmark, and profile your Node.js software to discover sluggish spots, and push it to the restrict through casting off functionality bottlenecks
  • Learn the root of functionality research utilizing Node.js
  • Explore the excessive functionality features of Node.js, in addition to top practices

In Detail

Node.js is a device written in C, which lets you use JavaScript at the server-side. excessive functionality on a platform like Node.js is understanding the best way to make the most of each element of your undefined, aiding reminiscence administration act at its top, and properly figuring out find out how to architect a posh program. don't panic in case your functions begin eating loads of reminiscence; as an alternative spot the leak and remedy it speedy with Node.js via tracking and preventing it prior to it turns into an issue.

This publication provides you with the abilities you must study the functionality of your program and visual display unit the points that may and will be. beginning with functionality research recommendations and their significance in assisting Node.js builders get rid of functionality bottlenecks, this booklet will take you thru improvement styles to prevent functionality consequences. you'll study the significance of rubbish assortment and its behaviour,and realize tips on how to profile your processor, permitting larger functionality and scalability.

You will then find out about the different sorts of information garage equipment. relocating on, you'll get to grips with trying out and benchmarking purposes to prevent unknown program try zones. finally, you are going to discover the bounds that exterior elements can impose on your software within the kind of bottlenecks.

By following the examples in every one bankruptcy, you can find tips on how to improving acting functions through heading off anti-patterns and stretching the boundaries of your surroundings up to possible.

What you are going to Learn

  • Develop purposes utilizing well-defined and well-tested improvement patterns
  • Explore reminiscence administration and rubbish assortment to enhance performance
  • Monitor reminiscence adjustments and examine heap snapshots
  • Profile the CPU and increase your code to prevent styles that strength in depth processor usage
  • Understand the significance of knowledge and in the event you should still cache information.
  • Learn to constantly try out your code and benchmark whilst needed
  • Extend your application’s scope and comprehend what different components can effect performance

Who This ebook Is For

This e-book is for Node.js builders who need a extra in-depth wisdom of the platform to enhance the functionality in their purposes. even if you've a base Node.js heritage otherwise you are a professional who understands the rubbish collector and needs to leverage it to make functions extra strong, the examples during this booklet will profit you.

Style and approach

This is a realistic consultant to studying excessive functionality, which even the least skilled developer will understand. Small and easy examples assist you try recommendations your self and simply adapt them to any software, boosting its functionality and getting ready it for the real-world.

Show description

Read or Download Node.js High Performance PDF

Similar computer games programming books

Learning Unity Physics

Discover ways to enforce Physics in interactive improvement utilizing the strong elements of Unity3DAbout This BookLearn tips to make the most of the strong good points of Unity3D to improve physics-based interactive purposes and gamesOptimize your program functionality whereas utilizing physics in Unity3DAn easy-to-follow advisor observed by way of examples, with a purpose to support builders to benefit and practice physics to gamesWho This e-book Is ForIf you're acquainted with the basics of Physics and feature uncomplicated adventure of cohesion online game improvement, yet haven't any wisdom of utilizing the 2 jointly, then this ebook is for you.

Mastering Unreal Engine 4.X

Key FeaturesBuild a complete AAA online game point in the course of the bookTake your C++ scripting talents to the following point and use them widely to construct the gameAn complex useful advisor with an educational variety procedure that can assist you make the simplest of Unreal engine 4Book DescriptionUnreal Engine four has garnered loads of cognizance within the gaming international as a result of its new and enhanced pictures and rendering engine, the physics simulator, particle generator, and extra.

Mastering Unity 2D Game Development - Second Edition

Grasp every thing you must construct a second video game utilizing team spirit five by means of constructing a whole RPG online game framework! approximately This BookExplore the hot gains of team spirit five and realize out of date code and parts. strengthen and construct an entire 2nd unfashionable RPG with a talk method, stock, random map battles, complete online game menus, and sound.

Procedural Generation in Game Design

Creating a online game should be a radical technique, and if no longer deliberate thoroughly can simply run over funds. using procedural new release in online game layout can assist with the difficult and multifarious facets of online game improvement; therefore facilitating fee aid. this way of improvement permits video games to create their play components, gadgets and tales in keeping with a collection of principles, instead of hoping on the developer to handcraft each one point separately.

Extra info for Node.js High Performance

Sample text

Download PDF sample

Rated 4.28 of 5 – based on 10 votes