Comments - JavaScript - mariasql for node.js
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Sequelize version 5
npm install --save sequelize@next # will install v5-beta npm install --save mariadb
Then set `dialect: 'mariadb'`
The mariadb connector is much faster than MySQL2. I noticed the speed difference immediately on my platform.
https://github.com/MariaDB/mariadb-connector-nodejs
MariaDB provides benchmarks comparing the Connector with popular Node.js MySQL clients, including:
promise-mysql version 3.3.1 + mysql version 2.15.0 mysql2 version 1.5.3
promise-mysql : 1,366 ops/sec ±1.42% mysql2 : 1,469 ops/sec ±1.63% mariadb : 1,802 ops/sec ±1.19%