/plushcap/analysis/aerospike/aerospike-node-on-fire

Node on FIRE! Optimizing Callback Handler Performance in Aerospike Node.js

What's this blog post about?

The Aerospike Node.js client's performance was significantly improved in version 2 with a switch to asynchronous, non-blocking I/O and adoption of error-first callback semantics. However, late in the development cycle, significant performance degradation was noticed due to the use of variable-length argument lists in the new callback handler function. After several iterations, a 34x gain in callback handling performance was achieved by using static function arguments instead of the special arguments object. This optimization was included in the first patch release v2.0.1.

Company
Aerospike

Date published
July 19, 2016

Author(s)
Jan Hecking

Word count
1336

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.