Author Archives: Dorthe Lübbert

Dorthe Lübbert

About Dorthe Lübbert

web developer from Cologne, interested in alternative databases & member of the ArangoDB team - mainly helping out with website and community related stuff.

Community, we need your help – please take part in this survey!

…loading…

Posted in General | Leave a comment

Our plans on replication and sharding in ArangoDB

UPDATE: ArangoDB 2 introduced sharding! Original blog post: In ArangoDB’s google group there was recently an interesting discussion on what ArangoDB should offer in terms of replication and sharding. For the rest of you who does not follow the posts in the group, I have copied Frank Celler’s answer into this post: Frank writes: We will start with a master-slave, asynchronous replication for 1.4. This has at least the following advantages: It is a good fit for most use cases. It will allow us to implement backup as “slave”. It easily gives you redundancy by setting up multiple instances. It gives you read-scaling. There are also drawbacks. For example, you need to manually select and switch masters in case of fail-over. However, restricting to a simple solution (which is still hard enough to implement) should allow us to release V1.4 this summer. If you think about MySQL, you will see that in most case a master-slave replication is sufficient. The next step will be master-master replication. This, however, requires more complex protocols like Paxos to elect a master and at least three nodes. We have to decide, if this will be in version 1.5 or maybe already 2.0. We have to see how much has to be changed.

Posted in Releases, Replication | Leave a comment

(German video) Nosql meets mobile.cologne

Last week Jan (core member of ArangoDB and the brain behind AQL and many other parts) was invited by “mobile.cologne” – a user group here in Cologne dealing with mobile development. In this talk Jan gives a general overview on nosql databases and the different flavors. He explains how to query a nosql database and he evaluates how a nosql database can be used in a mobile app. Warning: The talk is in German. If you want to hear it in English, let us know in the comments. “NoSQL meets mobile.cologne” by Jan Steemann.

Posted in Presentation | Leave a comment

Getting started with ArangoDB and Symfony 2 – part 1

This is part 1 (of 4) of an introduction to the use of ArangoDB together with Symfony 2. You’ll find the links to the other parts of this tutorial at the end of this text. In this tutorial we will implement a very simple movie database as an example of how to use ArangoDB together with Symfony 2. We assume for the tutorial that you know the basic concepts of Symfony2. No prior ArangoDB knowledge is required. The demo shows how to create, edit, update and delete movies, how to select a list of movies from the database in two different ways. We’ll use the simple query API for most examples. The “search for a topic” feature uses ArangoDB’s query language (AQL), a convenient sql-like way to query ArangoDB. You can download the completed demo at Github.

Posted in API, php | Tagged , , , | Comments Off

Getting started with ArangoDB and Symfony 2 – part 2

This is part 2 (of 4) of an introduction to the use of ArangoDB together with Symfony 2. You’ll find the links to the other parts of this tutorial at the end of this text. You can download the completed demo at Github. The data structure Our app deals with movies: each movie has a title, a year of release and it is assigned to a genre. Each movie deals with none, one or many topics. In a relational database we would probably create a table movie and another table topic and join them with a shared movie id. ArangoDB follows like other document stores the “aggregate model” approach: In short terms this means that you should put data that is often needed together into one document. Remember: documents are a bit like rows in the relation world; in nosql world they can have a nested structure.

Posted in API, php | Tagged , , , | Leave a comment

Getting started with ArangoDB and Symfony 2 – part 3

This is part 3 (of 4) of an introduction to the use of ArangoDB together with Symfony 2. You’ll find the links to the other parts of this tutorial at the end of this text. You can download the completed demo at Github. Working with forms The next example shows the use of ArangoDB with Symfony’s form component. This is how our form will look like. The topics are represented as a text field and the user is required to separate them by commas. This delivers questionable user experience, but leads to an interesting question: how can we transform our topics array from our movie document to a text field? And: we’ll need it at least two times, both for creating and editing movies.

Posted in API, php | Tagged , , , | Leave a comment

Getting started with ArangoDB and Symfony 2 – part 4

This is part 4 (of 4) of an introduction to the use of ArangoDB together with Symfony 2. You’ll find the links to the other parts of this tutorial at the end of this text. You can download the completed demo at Github. Extending Arangodb\Document The next thing we want to improve are all those noisy set calls in the controller: 1 2 3 4 5 6 7 8 // src/Triagens/ArangodbBundle/Controller/DefaultController.php if ($form->isValid()) { $movie = new ArangoDocument(); $movie->set("title",$form->get("title")->getData()); $movie->set("released",$form->get("released")->getData()); $movie->set("genre",$form->get("genre")->getData()); // and so on … my eyes hurt! }

Posted in API, php | Tagged , , , | 2 Comments

ArangoDB PHP driver version 1.0 released

Yesterday version 1.0 of the PHP driver for ArangoDB was released. It contains basic support for edges as well as fixes and tests. Check out the Changelog for further details. Many thanks go to Frank Mayer for his contribution! There is also a comprehensive PHP driver tutorial available on Github.

Posted in General | Leave a comment

ArangoDB – using Javascript in the database

Jan was invited as a speaker to “Js.Everywhere” in Paris. He talked about using Javascript in a database, well, ArangoDB, to be precise, giving lots of examples on “actions” and related concepts in ArangoDB. ArangoDB – Using JavaScript in the database from arangodb

Posted in Community, Javascript, Presentation | 1 Comment

20% off “nosql matters Barcelona” for ArangoDB users

We are on the road again and are invited to give a talk at the “nosql matters”  in Barcelona. This is a one day conference in an amazing looking venue (UNESCO world heritage). Now the conference team offered us a couple of promo codes for “nosql matters” on October, 6th.  Katja, one of the organizers, writes: “there might be some friends, colleagues, contacts or even your followers on twitter who are interested in hearing your talk at NoSQL matters Barcelona. Therefore we would like to give them the opportunity to buy price reduced tickets. With the promotion code BCNSchoenert_7959 you can give 5 of them the chance to buy a ticket with 20% discount.” So, here we are. Grap the code and get your ticket. We are looking forward to meeting you in Spain.

Posted in General | Leave a comment