ArangoDB to mobile ( iOS, Android etc)

558 views
Skip to first unread message

RK

unread,
Apr 13, 2014, 11:34:09 PM4/13/14
to aran...@googlegroups.com
Hi, 

I am looking for a graph database written with c/c++ code base[Ideal for mobile/embedded cross platform development] for my application.

I fancy my chances of porting ArangoDB to mobile and these are my goals.

ACID compliant and Transactional
Embedded library [ like sqlite ]
iOS, Android support
Server and Rest are not required [ If needed, I can do this at latter stage, This is not important at this stage ]

So I am looking for some advice how to go about it from the community.

I highly appreciate any help in this regard.

Thanks
RK

Ramakrishna Mallireddy

unread,
Apr 13, 2014, 11:58:19 PM4/13/14
to aran...@googlegroups.com
To continue on my previous post, I am looking at 1.4 or earlier versions of ArangoDB.

Thanks
RK


--
You received this message because you are subscribed to a topic in the Google Groups "ArangoDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/arangodb/DVceX9vmSiY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to arangodb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Frank Celler

unread,
Apr 14, 2014, 5:11:45 AM4/14/14
to aran...@googlegroups.com
Hi RK,

I think that

- ACID and transaction should work
- ARM processor should also work. I assume most Android mobiles are ARM based

Can you give me more information for the other points?

(1) embedding

You wrote that you do not need the REST interface. If you embed ArangoDB into your application, how will your application communicate with ArangoDB? Will it send Javascript snipplets to ArangoDB and return the result as JSON? Or are you planing to only support AQL? I believe it is crucial to understand how the interaction should work, before we can think about possible solution. So any information about the planed setup would be very helpful.

(2) iOS

I assume iPhones are much more restricted than Android mobiles. ArangoDB needs to write memory mapped files. Do you know if this is possible under iOS? What kind of processor are used in iOS mobiles?

kind regards
  Frank
To unsubscribe from this group and all its topics, send an email to arangodb+unsubscribe@googlegroups.com.

Ramakrishna Mallireddy

unread,
Apr 14, 2014, 6:12:25 AM4/14/14
to aran...@googlegroups.com
Hi Frank,

(1) embedding:  I mean static library and provide only AQL for now, If necessary we can add an Httpserver + Rest support later.
(2) iOS : PROT_WRITE| PROT_READ are supported but there is a max limit of 700MB per process but in actual some times we get less like 500MB but that is fine for me.

Thanks
RK


To unsubscribe from this group and all its topics, send an email to arangodb+u...@googlegroups.com.

Ramakrishna Mallireddy

unread,
Apr 14, 2014, 6:15:48 AM4/14/14
to aran...@googlegroups.com
Hi Frank,

I forgot to add this, iOS device run on ARM processors.

Thanks
RK

Frank Celler

unread,
Apr 14, 2014, 8:26:00 AM4/14/14
to aran...@googlegroups.com
ARM is good. At least in principle ArangoDB compiles on ARM.

Regarding "AQL only". I think you need more. In order to create the initial collections, manipulate indexes, create transaction you need something besides AQL. Currently all this stuff is either handled via REST calls or directly from within a Javascript shell.

Kind regards
  Frank

Ramakrishna Mallireddy

unread,
Apr 14, 2014, 8:34:41 AM4/14/14
to aran...@googlegroups.com
Can you kindly provide a link / doc / location[ I have the 1.4.14 source] of the current integration setup regarding AQL backend support implementation.

Thanks
RK


To unsubscribe from this group and all its topics, send an email to arangodb+u...@googlegroups.com.

Frank Celler

unread,
Apr 14, 2014, 8:48:11 AM4/14/14
to aran...@googlegroups.com
The REST interface for AQL is described here:

  https://www.arangodb.org/manuals/1/HttpCursor.html
  https://www.arangodb.org/manuals/1/HttpQuery.html

The single most important function call is

  POST /_api/cursor

The implementation of this call can be found here

  js/actions/api-cursor.js

The function uses the Javascript function

  post_api_cursor

which calls the C++ function

  JS_RunAhuactl

defined in

  arangod//V8Server/v8-vocbase.cpp

Is that the information, you were looking for?

regards
  Frank

Ramakrishna Mallireddy

unread,
Apr 14, 2014, 8:53:31 AM4/14/14
to aran...@googlegroups.com
Is that the information, you were looking for?
Yes.

I will look into it and I will comeback if I need any help, Thank once again for your quick response.

Thanks
RK


To unsubscribe from this group and all its topics, send an email to arangodb+u...@googlegroups.com.

Frank Gerhardt

unread,
Oct 6, 2016, 8:06:31 PM10/6/16
to ArangoDB
Here is my feature request for that https://github.com/arangodb/arangodb/issues/2090

Frank

Wilfried Gösgens

unread,
Oct 7, 2016, 7:36:07 AM10/7/16
to ArangoDB
Hi,

Can you elaborate with a little more detail what you're trying to achieve with an arangodb on an android?

cheers,
Willi

Frank Gerhardt

unread,
Oct 8, 2016, 8:38:32 AM10/8/16
to aran...@googlegroups.com

I just added this comment to the issue:


(Background: CouchDB is the server side database written in Erlang and
PouchDB is the API compatible syncs-with-CouchDB database written in
JavaScript for embedding into web sites, offline web apps,
cross-platform mobile apps (e.g. with Cordova).)

A mobile version of ArangoDB, for the sake of my argument called
ArangoPouch, would be an API compatible and syncs-with-the-real-ArangoDB
version written in some language that works well on mobile OSes like
Android and iOS.

The use case is to use ArangoDB on the server and "ArangoPouch" as the
client database on a mobile device. When online, the user can sync the
client database with the server. When offline the user can work on the
local ArangoPouch and sync later.

Features can be more lightweight. E.g. on a mobile device there is only
one user and parallelism is limited.


Frank.
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "ArangoDB" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/arangodb/DVceX9vmSiY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> arangodb+u...@googlegroups.com
> <mailto:arangodb+u...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
I jI

--
Viele Grüße,
Dr. Frank Gerhardt
----
Gerhardt Informatics Kft.
Adam u. 9, 6753 Szeged, Hungary
Registergericht/Domicile and Court of Registry: Szeged, Hungary
HRB-Nr./Commercial Registery No.: 06-09-010204
Umsatzsteuer-Id/VAT registration number: HU 13592417
Geschäftsführer/Managing Directors: Borbala Gerhardt, Szilvia Toth

Kontakt in Deutschland:
+49-177-757 8658, Orplidstr. 17, 70597 Stuttgart

http://www.GerhardtInformatics.com
--
SENS-Experte http://www.SoftwareExperts.de

Brad Jones

unread,
Oct 8, 2016, 9:40:08 AM10/8/16
to ArangoDB
Are you aware of Couchbase? http://www.couchbase.com/  ... it incorporates both a key value and document store so in that sense it is multi-model. The upcoming Couchbase Mobile 1.4 (and 1.5) seem particularly interesting.

Frank Gerhardt

unread,
Oct 8, 2016, 10:49:41 AM10/8/16
to aran...@googlegroups.com
On 10/08/2016 03:40 PM, Brad Jones wrote:
> Are you aware of Couchbase? http://www.couchbase.com/ ... it
> incorporates both a key value and document store so in that sense it is
> multi-model. The upcoming Couchbase Mobile 1.4 (and 1.5) seem
> particularly interesting.

I personally don't like Couchbase but having a server edition and a
mobile edition is great not that we all have such capable smartphones.

I would like to see a mobile edition of ArangoDB very much. See my
feature request https://github.com/arangodb/arangodb/issues/2090

Frank

Jacob Ferrero

unread,
Feb 24, 2020, 8:07:04 PM2/24/20
to ArangoDB
I'm currently using ObjectBox but cannot get past the fact that it doesn't do UPSERT.  This is causing me to have to have to run a delete for anything matching a set of IDs, and then doing and insert.  I would LOVE to have Arango on mobile way too much :)
Reply all
Reply to author
Forward
0 new messages