• May, 19-20
  • St. Petersburg, Pobedy Square 1
RU / Day 1 / Track1

The growth of functionality in Enterprise Node.js applications often leads to a decline in throughput. In this talk we start with the dispersion of the Node.js Main Thread and spread it into a spectrum of operations. We learn which of these operations we can offload from the Main Thread to threads/workers/processes, and how to do that . We select successful ways of parallelization for each type of operation, consider the benefits and limitations. In addition to the standard methods, we also consider alternative solutions for parallelizing tasks using the capabilities of the V8 and libuv thread pool. And as a result, we’ll take a look at how the application architecture and throughput have changed after the decomposition of the Main Thread.

Николай Матвиенко
Nikolay Matvienko

Nikolay is big fan of diagnostics and performance optimization of Node.js applications and works in Grid Dynamics company, where he makes a digital transformation for large US e-commerce companies using Node.js.