Feedback for upcoming talk about graph dbs and Cayley

142 views
Skip to first unread message

oren

unread,
Mar 7, 2016, 4:38:24 AM3/7/16
to cayley-users
The slides (work in progress) can be found here: http://oren.github.io/adventure-graphs
Any feedback or even PRs are welcome (the html for the slides is https://github.com/oren/adventure-graphs/blob/master/slides/index.html).
I would like to demonstrate more Cayley examples, so anything that you think I should add is welcome!

One part that I'll add later is the different options of deploying/setting up Cayley.
Here is what I have in my mind regarding that section:
First I should explain the difference between local and remote backends. I should mention that Cayley can fit 130 million quads on a 20GB harddrive.
Than explain that if there is a need for HA or very big storage (billions of quads) they should choose a backend that provide HA like PostgreSQL.
In that case they will need a load balancer in front of at least two hosts. in each of those hosts Cayley will be installed and connected to the PostgreSQL.
If there is no need for HA or big storage, a local backend like Bolt is a great option. Now they have two options to choose from:
1. Writing an HTTP service in Go and import Cayley as a Go package. The web service will hold any logic that the app needs (like auth etc).
2. Writing an HTTP service in any server-side language and on the same host installing Cayley and running it's HTTP server. A request will hit the HTTP service which will send it to Cayley on localhost.
In the 'local' approach, they will have to take care of a failure. one option is to setup a host with recent backup that is ready to be active in case the current host is not available from some reason.
In order to do that they'll have to look at the documentation of the backend (like Bolt) to understand how back the data to a remote server on a given interval.
Also, flow charts are easy to remember so I might use one to explain the above options.
I will also explain what 'single master replication' and multi-master election mean since I heard that they are in the pipeline for Cayley.

Please correct any of the above and suggest anything you think I should talk about. 

Thanks!

oren

unread,
Mar 7, 2016, 4:44:10 AM3/7/16
to cayley-users
Also, if anyone is using Cayley (production or very soon in production) and is allowed to share it, please let me know the company and what is the usecase. I only know about CoreOS but not sure about it's usage there. I would like to mention those companies if possible so people will be less scared to give it a try since it's the newest out of the dbs I am going to talk about (Neo4j and Titan).

oren

unread,
Apr 8, 2016, 4:33:05 AM4/8/16
to cayley-users
Video and slides of the talk - https://oren.github.io/talks/graphs.html

Navpreet Singh

unread,
May 1, 2016, 2:10:01 PM5/1/16
to cayley-users
Hi Oren
Is there any way to set the limit a cayley can send or process the data, as if i run g.V().All() to fetch all data[ total records > 4 lakhs ] at once then cayley process id dies. So that if some one run heavy query it should return recovery conflict error or some other error rather that the query kills the cayley proces id.
Reply all
Reply to author
Forward
0 new messages