mission to mars - the red planet

Post on 20-Jun-2015

164 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

GEEK GIRL MEETUP – ENTER.SPACE 25-26 maj 2013 #GGM13 Presentation from the conference Graph Databases - How does it works? How should you do when you want to plan a mission to mars, store all data and all information. A fun short talk on how you can use a graph database.

TRANSCRIPT

Mission to Mars

!

@p3rnilla

THE RED PLANET

”In the last century, Neil Armstrong became the first person to walk on the Moon. In this century you may become the first person to walk on Mars...” - Franklyn M Branley !!

>>

Research

10 things you should know about Mars

!

1. Mars is the fourth planet from the sun

2. Mars is the seventh largest planet

3. Mars is a small rocky body

4. Mars's surface is closest to that of Earth of any of the planets

5. Mars may be the best hope for finding life away from Earth

6. Mars has inspired wild flights of imagination over the centuries

7. Mars has two tiny satellites which orbit very close to the surface

8. Mars has some remarkable geological characteristics

9. Mars has been visited by several probes

10. One day, humans will walk on Mars...

!!Time to plan the trip...

What do we needPeopleSpace Crew

Land Crew

Supply Maps/Navigation System

Time schedule

Spacecraft

$$Money

Astronauts

Engineers Managers

Doctors

operative personal

Admin personal

foodwater Test, test ,testWC

space suits

communication tools

documentation

Mars

Earth

stars

training

fuelSystem

Salaries

clothes

training program

<6 months - from Earth> mars

more research

mars rover

planning

prep timerecovering time Summary

sponsors

smart people

??? How do we store all the

this information in a good way - so we easily can find

it after 5 years ???

!

Let’s do it again

??? How do we store all the

this information in a good way - so we easily can find

it after 5 years ???

!

WÄÄÄÄÄ

SO MUCH DATA

SQL (Structured Query Language)

NoSQL (Not only SQL)

Relational Database (MySQL)

Document-Oriented Database (MongoDB)Column Oriented (Cassandra)

Key Value Stores (Redis, Riak)

Graph Database (Neo4j)

Let’s try it with a graph database...

Modeling the data

to

participate_in

fly

control

works_

in

works_at

look_after

look_after

works_at

works_at

part_o

f

Mars

Mission_To_Mars

Astronaut Pernilla

Spaceship

control_tower

Admin Stina

Manager Lisa

Doctor

Michaela

NASA

Headquarter

to

participate_in

fly

control

works_

in

works_at

look_after

look_after

works_at

works_at

part_o

f

Mars

Mission_To_Mars

Astronaut Pernilla

Spaceship

control_tower

Admin Stina

Manager Lisa

Doctor

Michaela

NASA

Headquarter

A graph database =

Nodes and relationships

Nodes RelationshipsMars

Pernilla AstronautAnna Manager

Michaela DoctorLisa Admin

Stina Engineer

Supply

SpaceshipNASAControl Tower

Mission_to_Mars

Money

goes_into

builtdesignfly

works_in

look_after

works_at

participate_in

to

manage

pay_mission

Cypher - a graph query language

๏a pattern-matching query language

๏declarative grammar with clauses (like SQL)

๏aggregation, ordering, limits

๏create, read, update, delete, match

// create a node create (astronaut:Astronaut {name:"Pernilla", age: 28}),(target:Planet {planet:"Mars"}),

(mission:Mission {mission:"Mission to Mars"});

// find nodes match to node 1,2,3 MATCH (astronaut)-[:PARTICIPATES_IN] ->(mission)-[:TO]->(Planet:planet) where planet.planet = "Mars" RETURN astronaut.name

Demo !

http://docs.neo4j.org/chunked/snapshot/cypherdoc-create-nodes-and-relationships.html

THANKS! !

Questions?

top related