How To Use Node.js Profiling
Airbrake Blog | NodeJS
by Alexandra Lindenmuth
2y ago
What is Node.js Profiling  Node.js profiling allows you to use the profiler already available to you (–prof) through the Node.js program and discover performance-related issues within your application. With this profiler, you’ll be able to delve into the performance of your application and find what’s causing bottlenecks.  Common performance concerns include:  1.     Memory issues  2.     CPU issues  3.     Files/code leading to slow performance  It can be tough to know precisely where the issue lies when you don’t have full obse ..read more
Visit website
Node.js Error Handling – ERR_ENCODING_INVALID_ENCODED_DATA
Airbrake Blog | NodeJS
by Frances Banks
3y ago
Moving along through our detailed Node.js Error Handling series, today we’ll be going over the ERR_ENCODING_INVALID_ENCODED_DATA error, which is one of the many System Errors Node can generate. Node throws System Errors when an exception occurs within the application’s runtime environment, and such errors typically indicate that there was an operational problem within the program. An ERR_ENCODING_INVALID_ENCODED_DATA error indicates that an invocation of the TextDecoder failed because of incompatibility between the specified encoding and the decoding target. In the rest of this article we’ll e ..read more
Visit website
Node.js Error Handling – ReferenceError
Airbrake Blog | NodeJS
by Frances Banks
3y ago
Moving along through our detailed Node.js Error Handling series, in today’s article we’ll be checking out the ReferenceError in all its glory. If you’re familiar with plain JavaScript ReferenceErrors, the ReferenceError class in Node will look quite familiar, since it performs the same role: When a reference is made to an object that hasn’t been defined in previously executed statements, a ReferenceError is thrown. Within this article we’ll explore the ReferenceError in greater detail, starting with where it sits in the overall Node.js Error Class Hierarchy. We’ll also look at some functional ..read more
Visit website
Node.js Error Handling – RangeError
Airbrake Blog | NodeJS
by Frances Banks
3y ago
Continuing along through our in-depth Node.js Error Handling series, today we’ll be going over the RangeError. As with many other programming languages, including Ruby with the RangeError article we covered in that language, the Node.js RangeError is thrown to indicate that a passed function argument does not fall within the valid set or range of acceptable values. This might be because the value simply falls outside a given numeric range, or because there is a specific set of allowed values and the passed argument is not one of them. Throughout this article we’ll examine the RangeError in mor ..read more
Visit website
Node.js Error Handling – ERR_ENCODING_INVALID_ENCODED_DATA
Airbrake Blog | NodeJS
by Frances Banks
3y ago
Moving along through our detailed Node.js Error Handling series, today we’ll be going over the ERR_ENCODING_INVALID_ENCODED_DATA error, which is one of the many System Errors Node can generate. Node throws System Errors when an exception occurs within the application’s runtime environment, and such errors typically indicate that there was an operational problem within the program. An ERR_ENCODING_INVALID_ENCODED_DATA error indicates that an invocation of the TextDecoder failed because of incompatibility between the specified encoding and the decoding target. In the rest of this article we’ll e ..read more
Visit website
Node.js Error Handling – ERR_CONSOLE_WRITABLE_STREAM
Airbrake Blog | NodeJS
by Frances Banks
3y ago
Making our way through our in-depth Node.js Error Handling series, today we’ll be diving into the ERR_CONSOLE_WRITABLE_STREAM error, which is one of the many System Errors Node produces. Node throws System Errors when an exception occurs within the application’s runtime environment and such errors typically indicate that there was an operational problem within the program. An ERR_CONSOLE_WRITABLE_STREAM error indicates that an attempt was made to create a new Console API class without passing a valid stdout stream in which to place any generated output. Throughout this article we’ll explore th ..read more
Visit website
Node.js Error Handling – ERR_BUFFER_TOO_LARGE
Airbrake Blog | NodeJS
by Frances Banks
3y ago
There are many possible errors in Node.js, so today we’ll continue our detailed Node.js Error Handling series by looking at one of the assorted System Errors Node produces, ERR_BUFFER_TOO_LARGE. Node throws a System Error when an exception occurs within the program’s runtime environment, and such errors are typically an indication that there was an operational problem within the application. An ERR_BUFFER_TOO_LARGE error indicates that an attempt was made to instantiate or allocate a Buffer object of a size exceeding the current maximum (typically 2,147,483,647, or the maximum size of a 32-bit ..read more
Visit website
Node.js Error Handling – ERR_BUFFER_OUT_OF_BOUNDS
Airbrake Blog | NodeJS
by Frances Banks
3y ago
Node.js contains a plethora of possible errors it can throw during execution, so today we’ll continue our in-depth Node.js Error Handling series by looking at one of the many System Errors Node produces: the ERR_BUFFER_OUT_OF_BOUNDS. Node throws a System Error when an exception occurs within the program’s runtime environment, and such errors are typically an indication that there was an operational problem within the application. An ERR_BUFFER_OUT_OF_BOUNDS error indicates that an operation was made outside the bounds of a Buffer object. Throughout this article we’ll explore the ERR_BUFFER_OUT ..read more
Visit website
Node.js Error Handling – ERR_ASYNC_TYPE
Airbrake Blog | NodeJS
by Frances Banks
3y ago
The number of possible Node.js errors is extensive, so today we continue our detailed Node.js Error Handling series by looking at one of the many System Errors-categorized errors called ERR_ASYNC_TYPE. Node throws a System Error when an exception occurs within the program’s runtime environment, and such errors are typically an indication that there was an operational problem within the application. An ERR_ASYNC_TYPE error indicates that an attempt was made to pass an invalid data type to the AsyncResource class constructor. Throughout this article we’ll explore the ERR_ASYNC_TYPE system error ..read more
Visit website
Node.js Error Handling – ERR_ASYNC_CALLBACK
Airbrake Blog | NodeJS
by Frances Banks
3y ago
Next up in our deep Node.js Error Handling series we’ll be tackling the ERR_ASYNC_CALLBACK error type, which falls into the broader System Errors category of Node. Node throws a System Error when an exception occurs within the program’s runtime environment, and such errors are typically an indication that there was an operational problem within the application. An ERR_ASYNC_CALLBACK error indicates that an attempt was made to register a non-function data type as an async_hooks constructor callback. Throughout this article we’ll explore the ERR_ASYNC_CALLBACK system error by looking at where it ..read more
Visit website

Follow Airbrake Blog | NodeJS on FeedSpot

Continue with Google
Continue with Apple
OR