These are chat archives for dgraph-io/dgraph

5th
Feb 2016
Ashwin Ramesh
@ashwin95r
Feb 05 2016 03:51
Hey @manishrjain , I've made the required changes
Karthic Rao
@hackintoshrao
Feb 05 2016 05:12
Hello @manishrjain
Manish R Jain
@manishrjain
Feb 05 2016 05:23
Hey @ashwin95r , go ahead and merge it.
Welcome @hackintoshrao!
Btw @ashwin95r, you should acknowledge all the comments, otherwise reviewable.io thinks they aren’t done yet.
Ashwin Ramesh
@ashwin95r
Feb 05 2016 06:15
I did acknowledge them
should I click on Done for each comment? or just acknowledge is enough?
Manish R Jain
@manishrjain
Feb 05 2016 06:31
TBH, I’m not sure. Acknowledge should be enough.
Karthic Rao
@hackintoshrao
Feb 05 2016 07:59
Trying to understand more about social sensor
interesting
This needs me to also install Neo4j, OrientDb and Titan too on my system to actually witness the tests on them
Karthic Rao
@hackintoshrao
Feb 05 2016 08:05
I had used Neo4j for 5-6 months in the past. Here is the article I had written back in august 2014 on setting up Neo4J http://hackintoshrao.com/2014/08/12/installingsetting-up-neo4jcipher-query-terminal-in-ubuntu/
Will also do a write up on setting up dgraph
I recently started using Macbook Pro for development , but I do have a VM with Linux
Is it fine to use OS X for Dgraph development ?
I hope there isn't anything that's operating system specific
Manish R Jain
@manishrjain
Feb 05 2016 09:38
OS X should be okay for DGraph. I’ve largely been using Ubuntu, so has @ashwin95r.
But, it runs well on Docker, which runs well on OS X.
I hope there’s a way in socialsensor to run only Neo4j.
Getting all of them to run seems like a big time sink.
Karthic Rao
@hackintoshrao
Feb 05 2016 09:40
Yes, Atleast one would be great to just see how socialsensor work
I think Neo4j is a good candidate to test socialsensor before trying it out on Dgraph
I need to also understand some fundamentals on working with Dgraph
Manish R Jain
@manishrjain
Feb 05 2016 09:42
Yeah, makes sense.
Roger Qiu
@CMCDragonkai
Feb 05 2016 09:57
Is there any plans for append-only mutations? Incremental rollbacks?
Manish R Jain
@manishrjain
Feb 05 2016 10:02
Hey @CMCDragonkai, can you elaborate on append only mutations?
Are you talking about versioning? Because, any edge which doesn’t currently exist is technically an ADD operation on the graph.
Things never get deleted, instead mutations are appended. So you can always retrieve things from the past.
You get to do time traveling on your DB.
Manish R Jain
@manishrjain
Feb 05 2016 11:14
DGraph doesn’t do time series — that’d be very inefficient for graph operations.
Roger Qiu
@CMCDragonkai
Feb 05 2016 11:16
Also known as "immutable databases"
That's one of the usecases, but not necessarily. I don't think people were thinking time series when creating this concept. There were already time series databases before this concept came to light.
Manish R Jain
@manishrjain
Feb 05 2016 11:21
I understand what you mean. In such a system, you never really delete anything, things are only marked as deleted.
You should look at gocrud
It does versioning and retention.
both of them rely on doing append only operations, and then reading all the deltas to generate the final state on a read request.
So, you can technically get the state of the whole system at any given timestamp.
I’ve ruled such a system out for DGraph.
@CMCDragonkai ^
Timeseries requires such a system as well — of course it could be a lot simpler, if you only deal with SET operations —but still.
Joao Martins
@jcmartins
Feb 05 2016 13:03
@manishrjain Why dgraph don't check a duplicate register when import/load a file?
Manish R Jain
@manishrjain
Feb 05 2016 21:10
@jcmartins — When the loader loads an RDF file, duplicate RDFs which have already been imported produce no change to the db’s data.
What was your experience?