In association with heise online

01 October 2012, 11:07

MySQL Cluster plugs into Node.js

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

Zoom Node.js can use MySQL Cluster via a currently experimental API
Source: MySQL

In addition to the almost completed MySQL 5.6, Oracle has announced a preview version of MySQL Cluster 7.3 at the MySQL Connect conference. This Development Milestone Release is the first to allow foreign key relationships to be defined. The product's integration with the open source Node.js JavaScript server is still classified as experimental.

Foreign key relationships can be configured via the standard CASCADE, RESTRICT, NO ACTION and SET NULL referential elements. Foreign keys can be defined and removed at runtime without the need to interrupt system operation.

MySQL Cluster NoSQL Connector for Node.js – classed as a MySQL Labs feature and not intended for production use – is the preview release of the Node.js integration. Implemented as a module for the Node.js V8 engine, it offers a native JavaScript cluster interface that avoids transformations to SQL. This is not only intended to make things easier for developers, who can work exclusively in JavaScript, it is also designed to improve performance. According to a tutorial on Oracle's MySQL blog, the API follows Node.js's asynchronous architecture. Therefore, every SELECT, UPDATE or DELETE call expects to also be passed an event handler that the operation will call after it has been completed.

Like MySQL, MySQL Cluster is available free of charge under the GPLv2 free software licence. It uses the NDB storage engine and is built around shared-nothing architecture.


Print Version | Send by email | Permalink:

  • July's Community Calendar

The H Open

The H Security

The H Developer

The H Internet Toolkit