ArangoDB 3.0 alpha5: Step-by-step instruction to setup an ArangoDB test cluster on DC/OS

As we get closer to the final release of ArangoDB 3.0 you can now test our brand new cluster capabilities with 3.0 alpha5.

In this post you will find a step-by-step instruction on how-to get a 3.0 alpha3 cluster up and running on Mesosphere DC/OS for testing. Any feedback is well appreciated. Please use our Slack Channel “feedback30” for your hints, ideas and all other wisdom you´d like to share with us.

Please note that we are well aware of the “clunkyness” of the current cluster setup in 3.0alpha5. The final release of 3.0 will make it much easier.

Launching the DC/OS cluster on AWS

Go to this page and choose a cloud formation template in a region of your choice. It does not matter whether you use “Single Master” or “HA: Three Master”. Once you click you will be taken to the AWS console login and then be presented with various choices. Do not bother with public slaves, just select a number of private slaves.

This will take approximately 15 minutes and in the end you have a Mesos Master instance and some Mesos Agents. More »

Posted in General | Leave a comment

Getting closer: ArangoDB 3.0 alpha release

There is this German saying “If it takes long enough, it will be all right in the end.” However, since just “all right” isn’t our quality standard this first alpha of 3.0 took us a bit longer to finish up than planned. We´d like to invite you to give this fully tested alpha a serious spin, test the new functionalities and share your thoughts and feedback with us on Slack in our “feedback30” channel

Within this short release note you´ll find 1) a quick overview of the most important changes; 2) an instruction on how to get the new version and 3) how to get your (test) data from your 2.x version into the 3.0 alpha which has our new binary storage format VelocyPack implemented.

For those who haven´t read about VelocyPack yet: We successfully did a kind of open heart surgery on the ArangoDB core by implementing our very own binary storage format VelocyPack. VelocyPack is even more compact than MessagePack and is very promising to further improve ArangoDBs query response time and memory usage. Before VelocyPack we used two formats (ShapeJSON, tri_json_t) internally which led to a lot of duplicate code. We tested existing formats but didn´t find one that met our needs. Now that we only have one storage format we can simplify and, hopefully, speedup our development cycle significantly.

We think that our alpha version is definitely worth testing. 3.0 alpha consists of 173.000 lines of code: not to mention the 290.000 lines of testcode… all our tests are green and even our performance tests are running smoothly (benchmark results are looking good, we´ll post a new performance benchmark blogpost with the 3.0 release). More »

Posted in General, Releases | Tagged , , | Leave a comment

ArangoDB Bi-Weekly #48 |Alpha Release & What’s Coming With ArangoDB 3.0

The whole team at ArangoDB has been hacking “day-and-night” and the alpha version of the upcoming ArangoDB 3.0 release is available for testing! All our tests (290.000 lines of code) are green so it’s worth giving it a spin. We would really appreciate your feedback e.g. via our #feedback30 channel on Slack.

In the other news, our CTO Dr. Frank Celler attended the great Percona Live conference in Santa Clara and presented the latest developments of ArangoDB alongside many other database experts and big names. More »

Posted in Newsletter | Leave a comment

Open Source DC/OS: The modern way to run a distributed database

The mission of ArangoDB is to simplify the complexity of data work. ArangoDB is a distributed native multi-model NoSQL database that supports JSON documents, graphs and key-value pairs in one database engine with one query language. The cluster management is based on Apache Mesos, a battle-hardened technology. With the launch of DC/OS by a community of more than 50 companies all ArangoDB users can easily scale.

Just a little while ago setup, management, and maintenance of a database cluster was just a world of pain. Everybody who has put effort into getting automatic failover to work or who updated their database cluster know what I am talking about. Many of us may have experienced calls at 4 am in the morning notifying us that something within the cluster just went bad. Say hello to the Fail Whale. More »

Posted in Architecture, General | Leave a comment

Index Free Adjacency or Hybrid Indexes for Graph Databases

Some graph database vendors propagandize index-free adjacency for the implementation of graph models. There has been some discussion on Wikipedia about what makes a database a graph database. These vendors tried to push the definition of index-free adjacency as foundation of graph databases, but were stopped by the community.
More »

Posted in Architecture, Graphs | 2 Comments

Maintenance Release – ArangoDB 2.8.7

Our next maintenance release – ArangoDB 2.8.7 – comes with several bug fixes and improved Foxx backwards compatibility. Here is a list of changes:

  • optimized primary=>secondary failover

  • fix detection of TRUE for whole documents

  • expose the User-Agent http header since github requires it More »

Posted in Releases | Leave a comment

ArangoDB Bi-Weekly #46 | ArangoDB 2.8.6 Maintenance Release

Heading towards our 3.0 release we get to know more and more teams working on innovative stuff. Fraud detection, intellectual property management, business process management and much more. We learn so many things during those calls that we´d like to encourage even more of you to drop us a line about the things you are working on. What are the problems you want to solve and which features would help you do it? Drop a line to jan.stuecke@arangodb.com, we would be happy to learn more!

In the other news, we just released ArangoDB 2.8.6 and it’s available for download on our website. Our awesome community member, Mike Williamson from Ottawa, Canada, gave a talk at a local Graph user group. All of the participants enjoyed an interesting and interactive presentation. Have a look at the slides!

ArangoDB Releases

The ArangoDB 2.8.6 maintenance release is available for download. After fixing the last issues we are happy to release the next version of ArangoDB with these improvements:

  • arangosh can now execute JavaScript script files that contain a shebang in the first line of the file. This allows executing script files directly.
  • added missing reset of traversal state for nested traversals.

You can find a full list of changes in our change-log (2.8.6) or in the corresponding blog post. More »

Posted in Newsletter | Leave a comment

Maintenance Release – ArangoDB 2.8.6

The ArangoDB 2.8.6 maintenance release comes with improved arangosh and some general bug fixes. You can download the latest version from our download page.

  • arangosh can now execute JavaScript script files that contain a shebang in the first line of the file. This allows executing script files directly. Provided there is a script file /path/to/script.js with the shebang #!arangosh --javascript.execute:

    If the script file is made executable

    it can be invoked on the shell directly and use arangosh for its execution:

    This did not work in previous versions of ArangoDB, as the whole script contents (including the shebang) were treated as JavaScript code. Now shebangs in script files will be ignored for all files passed to arangosh’s --javascript.execute parameter. More »

Posted in Releases | Leave a comment

ArangoDB Bi-Weekly #45 | 2.8.4 Release, ArangoDB in Spartan-Mode & more

The fourth maintenance release of ArangoDB 2.8 is available for download. On the other note, one of our core developers, Michael Hackstein @mchacki , did a 6h long hands-on workshop for our community in Denmark, where participants learned how to build an “eBay-style” application using ArangoDB JavaScript Framework – Foxx.

Interested in having a workshop or meetup for your local community focussed on multi-model, cluster, graphs or Foxx? – Drop us a line! :) Don’t forget to mention your favourite topics.

ArangoDB Releases

The ArangoDB 2.8.4 Maintenance Release comes with some bug-fixes and Foxx improvements. It is now available for download. You can find a full list of changes in our change-log (2.8.4). More »

Posted in Newsletter | Leave a comment

How to put ArangoDB to Spartan-Mode

Most of us saw the fantastic movie 300 (I did it last night…again) or at least read the comics. 300 spartans barely wearing anything but achieving a lot. This little how-to will show you how to put ArangoDB into Spartan-Mode and thereby reduce memory-footprint and CPU usage.

Big thanks to Conrad from L.A. for his time and for giving us the impulse for this little how-to!

Background

Recently, we had a lot of cool talks with users who are new to ArangoDB or doing their PoC at the moment. Two topics came up several times. First ArangoDB’s memory footprint which is higher compared to some other DBs. We stated this already in our latest performance benchmark. The second issue is the CPU usage in standby mode. Users claimed 4-6% CPU usage when ArangoDB isn’t really doing anything.

First of all we use Google’s V8 engine for our JS framework Foxx. At first glance it might seem that V8 is memory thirsty but most of the memory is virtual memory and therefore does not actually fill up your physical RAM at all. If you don’t need V8 (not using Foxx) then you can run ArangoDB with less V8 contexts which reduces the memory usage significantly.

More »

Posted in Foxx, General, how to | Leave a comment