Create an ArangoDB cluster on Google Compute Engine with a single command
Last week we’ve released the first version of our new deployment tool for cloud computing platforms with Digital Ocean support. (Edit: now also available: Amazon Web Services) Today we show how to deploy an ArangoDB cluster on Google Compute Engine with a single command. Google Compute Engine To easy-deploy an ArangoDB cluster on Google Compute…
Testing Foxx with Mocha: ArangoDB Development Insights
Some of the most frequent questions by new programmers learning Foxx have been about testing. While the HTTP API can easily be tested with any HTTP client and any JavaScript code that can be isolated from the ArangoDB APIs could be tested in similar environments like Node.js or io.js, it was all but impossible to…
Document Update with arangoimp: ArangoDB Data Management
Inspired by the feature request in Github issue #1298, we added update and replace support for ArangoDB’s import facilities. This extends ArangoDB’s HTTP REST API for importing documents plus the arangoimp binary so they can not only insert new documents but also update existing ones. Inserts and updates can also be mixed in a single…
ArangoDB 2.5.2 Release: Enhanced Features & Stability
This version is deprecated. Download the new version of ArangoDB A maintenance release of ArangoDB 2.5 is available for download. The latest v2.5.2 comes with cluster speedups, some fixes in cluster mode and improved graph queries. You can start an ArangoDB cluster on Digital Ocean with a single command, other cloud services will follow in…
ArangoDB DigitalOcean Cluster: Scalable and Efficient Deployment
It is often difficult and time-consuming to setup a cluster environment for development or production purposes. For this reason, we decided to make an initial setup for you as easy as possible. Today we’re introducing the first part of our new deployment tool for cloud computing platforms (Edit: now also available: Amazon Web Services and…
ArangoDB Release Candidate: Testing New Features & Stability
How often did you typed var db = require(“internal”).db; in the arangod console? If you are familiar with the arangosh JavasScript shell than you probably use a custom .arangosh.rc startup script in your home-directory which defines your own extra variables and functions that you need often. Now we’ve also added support for a file .arangod.rc…
More Efficient Data Exports with new Export API
ArangoDB 2.6 provides a specialized export API for exporting all documents from a collection and shipping them to a client application. It is rather limited but faster than the general-purpose AQL cursor API and can store its snapshots using less memory. A side effect of the speedup is that the first results will arrive much…
Improved Cursor API: ArangoDB Query Efficiency Boost
This week we pushed some modifications for ArangoDB’s cursor API into the devel branch. The change will result in less copying of AQL query results between the AQL and the HTTP layers. As a positive side effect, this will reduce the amount of garbage collection the built-in V8 has to do. These modifications should improve…
Enhancements for Data Modification Queries: ArangoDB Updates
Data-modification queries were enhanced in ArangoDB 2.4 to be able to also return the inserted, update or removed documents. For example, the following statement inserted a few documents and also returned them with all their attributes: FOR i IN 1..10 INSERT { value: i } IN test LET inserted = NEW RETURN inserted The syntax…
Upsert Operations in ArangoDB: Efficient Data Management
This week saw the completion of the AQL UPSERT command. This command will be very helpful in a lot of use cases, including the following: ensure that a document exists update a document if it exists, otherwise create it replace a document if it exists, otherwise create it The UPSERT command is executed on the…