Arangodb Introduction--unknown architecture and underlying principles

Source: Internet
Author: User
Tags aerospike

Arangodb Introduction

Arangodb is an open source NoSQL database, official website: https://www.ArangoDB.org/

ARANGODB supports flexible data models such as document documents, graph graphs, and key-value pairs key-value storage. Arangodb is also a high-performance database that uses class-SQL queries or JavaScript extensions to build high-performance applications.

Arangodb is a laudable point to be able to run ARANGODB version 1.4 on Raspberry Pi.

Features of the ARANGODB:

1) Multi-model database

You can flexibly use key-value pairs, documents, graphs, and combinations to build your data model.

2) Convenient Enquiry

ARANGODB has a SQL-like AQL query language, and can also be queried in restful mode.

3) can be extended via JavaScript

There are no language-scoped restrictions, and you can use the same language from the front-end to the back-end.

4) High Performance

Arangodb extremely fast speed

5) Foxx-Build your own API

Build applications with JavaScript and Arangodb, Foxx run inside the DB for fast access to data.

6) High Space utilization

Compared to other document databases, Arangodb occupies less storage space because Arangodb is a schema free meta-data pattern.

7) Easy to use

Arangodb can start running in a matter of seconds, and you can use the graphical interface to manage your arangodb.

8) Multi-OS support

ARANGODB supports operating systems such as Windows, Linux, and OSX, and also supports Raspberry Pi.

9) Open Source and free

Arangodb Open Source is free, it uses the Apache 2 license agreement.

10) Copy

ARANGODB support for master-slave clusters

Simply say Aerospike installation, my side has a server is Ubuntu, then use it. If there is Docker, then the iers is good. Just download Image,run a bit.

' Http://aerospike.com/download/server/latest/artifact/ubuntu12 '  -xvf aerospike.tgzcd aerospike-server-community-*-ubuntu12sudo. # Would install the. RPM Packagessudo service aerospike start &&-f/var/log/aerospike/ Aerospike.log | grep cake

Sometimes you start manually.

Sudo/etc/init.d/aerospike start

In addition, you can learn the Aerospike library of Python. Python

#Import the moduleImportAerospike#Configuration for the clientConfig = {  'hosts': [ ('127.0.0.1', 3000) ]} #Create a client and connect to the databaseClient =aerospike.client (config). Connect ()#Records is addressable via a tuple of (namespace, set, key)Key = ('Test','Demo','Foo') #Write a recordClient.put (key, {'name':'John Doe',  ' Age': 32}) #Read a record(Key, metadata, record) =client.get (Key)#Close Connection to ClusterClient.close ()

Performance comparison See Http://www.infoq.com/cn/news/2013/04/NoSQL-Benchmark overall seems to be better than MongoDB if you make full use of memory speed!

Arangodb Introduction--unknown architecture and underlying principles

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.