SlideShare une entreprise Scribd logo
1  sur  38
Télécharger pour lire hors ligne
N            SQL
                                 Pere Urbón-Bayes
                                  Moviepilot Gmbh
                                     @purbon
                                purbon@purbon.com




dijous 30 de juny de 2011
We’re going to talk
                                    about?

                            Were we are, and where do we come from?

                            NoSQL. { “motivation” : “use cases” }

                            Graph databases.

                            ....




dijous 30 de juny de 2011
{

                            "if_you":{

                                 "are_the_master_of": [ "movies", "data analytics", "ruby", "git", "nosql" ],

                                 "love":"recommendation systems",

                                 "would_love_to_know_about":"graph_databases",

                                 "believe_in":"open source"

                            },
                                                                                  Moviepilot is a
                            "join_us":"true",
                                                                              leading provider and
                            "contact_with":"jobs at moviepilot.com"
                                                                              discovery service for
                       }
                                                                                movies and series
                                                                                 based in Berlin!

dijous 30 de juny de 2011
Come and Going
                                                History
                            1960 Navigational
                            Databases

                            1970 Relational Databases.

                              Edgar Codd Algebra.

                            1970 ends, SQL DBMS.

                              SQL, DB2, Ingres,
                              PostgreSQL, Sybase,



dijous 30 de juny de 2011
dijous 30 de juny de 2011
dijous 30 de juny de 2011
Where are we now?
                                                                                                 Is every
                                                                                              thing related?



                                                                               Semantic Web
                                                   Business Intelligence

                                                       Tagging     Folksonomies
                                           Social networks       Linked Data
                                                      RDF
                                    RDMS   Blogs

                       Text Files


                    1990                   2000                            2010                            2030




dijous 30 de juny de 2011
Where are we now?




                      1980
                               1990
                                      2000
                                             2010
                                                    2020


dijous 30 de juny de 2011
How are our apps...?

                            Data warehousing and Business Intelligence.

                            Stream processing.

                            Text search.

                            Scientific processing.

                            Semi-(un)-structured data.



dijous 30 de juny de 2011
How are our apps...?
                            Need to scale    Performance,
                            horizontally.    Performance,
                                             Performance.
                            Partition and
                            replication.     Flexibility.

                            OLTP and OLAP.   Big even Huge
                                             datasets.
                            Web 2.0.
                                             .....?




dijous 30 de juny de 2011
N                  SQL
                            select fun, profit from real_world where relational=false and barcelona=true;




                             Carlo Strozzi, 1998.

                             Eric Evans (Rackspace) and Johan Oskarsson
                             (last.fm), early 2009.

                              no:sql(east) 2009, no:sql(eu) 2010.




dijous 30 de juny de 2011
N                  SQL
                            select fun, profit from real_world where relational=false and barcelona=true;




                             Ability to scale                              Access throw
                             horizontally.                                 different end points.

                             Replication and                               Dynamic schema
                             distribution.                                 environment.

                             Weaker concurrency                            Leave more business
                             model.                                        to the app side.

                             Smart use of
                             resources.


dijous 30 de juny de 2011
dijous 30 de juny de 2011
Dismantle
                            Store

                                            Rebuild
                                    Enjoy                          Brick


                                                                  Window


                                                                   Roof

                Unstructured                          Structured

                                     Unstructured?
dijous 30 de juny de 2011
ACID
                            select fun, profit from real_world where relational=false and barcelona=true;




                                    Atomicity
 Helps                                  All operations are executed or none is.
 Understand data.                   Consistency
 Persistence guaranteed.
                                        Data is consistent after the transaction.
 Hurts                              Isolation
 Horizontal scale.
 High Availability.                     Transactions are independent.
                                    Durability
                                        Changes persist, event if failures.


dijous 30 de juny de 2011
“There is a magic bullet!
            It's called relaxing the requirements.”
                                   - Evan Weaver, @evan




dijous 30 de juny de 2011
CAP
                            select fun, profit from real_world where relational=false and barcelona=true;




                            Consistency                                            mysql
         Each client has the same
                   view.                                                     C                  A
                            Availability                         redis
                                                                                       P              riak
            All client can read and
                      write.

             Partition Tolerance
     Works well across different                                             Only Two!!!!
        network partitions.
dijous 30 de juny de 2011
“You have database problem. You
           research blog and HN. You start use
           NoSQL product. Now you not
           know anymore if you have problem.”
                            - Devops BORAT, @devops_borat




dijous 30 de juny de 2011
NoSQL systems.
                            select fun, profit from real_world where relational=false and barcelona=true;




                             Most commons                                  Other systems

                                  Column DBs.                                   XML Databases

                                  Document DBs.                                 Grid Databases.

                                  Key-Value DBs.                                RDF.

                                  Graph DBs.                                    ....

                                  Object DBs.


dijous 30 de juny de 2011
Column Databases
                            select fun, profit from real_world where relational=false and barcelona=true;



                             Is a DBMS that stores its content by column
                             rather than by row. This has advantages for
                             data warehouses.

                             More efficient with Aggregates and if data is
                             column oriented.

                             Suited for OLAP and not much for OLTP.

                             First implementations, early 1970.



dijous 30 de juny de 2011
Apache Cassandra
                            select fun, profit from real_world where relational=false and barcelona=true;



                             Designed to handle very large data spread
                             across multiple commodity servers.

                             High Availability with no SPOF.

                             Born at Facebook, to power Inbox Search.

                             Hybrid system, between column and rows.

                             Initial Release 2008. Version 0.8.1 28/06/11.



dijous 30 de juny de 2011
Key-Value Databases
                            select fun, profit from real_world where relational=false and barcelona=true;



                             Allow the use to store key-value pairs, where
                             the key usually consist of a string, and the
                             value is a simple primitive.

                             Suited for use cases where properties and
                             values are enough, ex: profiles, logs, etc...

                             Eventually consistent, hierarchy, multivalued,
                             etc..

                             First implementations, around 1980.

dijous 30 de juny de 2011
Redis.io
                            select fun, profit from real_world where relational=false and barcelona=true;



                              Open-source, networked, in-memory,
                             persistent, journaled, key-value datastore.

                             Binding for the major languages.

                             The data structure storage system.

                             Master-Slave replication. High performance.

                             Initial Release 2009. Version 2.2.7 11/05/11



dijous 30 de juny de 2011
Document Databases
                            select fun, profit from real_world where relational=false and barcelona=true;



                             Is a DBMS where the default unit of store is
                             a document. XML, JSON, YAML, .....

                             More complex than Key-Value store.

                             Suited for multi document apps. News, CVs,...

                             Eventual consistency, limited Atomicity and
                             Isolation.

                             One of the first, Lotus Notes, 1989.


dijous 30 de juny de 2011
OrientDB
                            select fun, profit from real_world where relational=false and barcelona=true;



                             Open source database written in Java.

                             Schema-[full,less,mix] modes.

                             Support SQL, ACID compliant, HTTP, Rest and
                             JSON. Distributed and scalable.

                             Light and embeddable. Binding most langs.

                             Initial Release 2010, Version 1.0rc2 17/06/11



dijous 30 de juny de 2011
Graph Databases
                            select fun, profit from real_world where relational=false and barcelona=true;



                             Is a database that uses graph structures
                             with nodes, edges, and properties.

                             Suited for associative datasets, map object
                             oriented app structure. Avoid expensive joins.

                             Are powerful for graph-like operations, like
                             shortest path, communities, etc.

                             First implementations around 2007.



dijous 30 de juny de 2011
Graph Databases




dijous 30 de juny de 2011
What is a graph?

                            Graph G(V,E) where V = {v1,v2,...,vN) and E =
                            {E1,E2,...,EN)

                               Directed / Undirected

                               Mixed

                               Multigraph

                               Weighted



dijous 30 de juny de 2011
dijous 30 de juny de 2011
Graph Databases
                            The Property Graph
                       Abstractions

                             Nodes and Relationships.

                             Properties on both.

                       John smith liked http://www.example.com at 01/10/11




dijous 30 de juny de 2011
Graph Databases
                                   Applications
                            Task planning         Dependency analysis

                            Scheduling            Impact analysis

                            Process assignation   Network flow

                            Routing                  Traffic analysis and
                                                     optimization
                            Logistics
                                                     Delivery
                            League planning          optimization

                            Pattern Recognition   Optimization of tasks


dijous 30 de juny de 2011
Graph Databases
                                 Applications
                            Recommendations      Walks

                              Heuristics         Search
                              (PageRank)         algorithms

                                                 Shooting stars
                              Local
                                                 K-nearest
                                Shortest Paths
                                                 neighbors
                                Hammock
                                Functions


dijous 30 de juny de 2011
Graph Databases
                                  Applications
                            Semantic web        Link analysis

                            RDF (OWL) Store     Structure mining

                            RDF-Sail

                            SPARQL

                            Linked data (Open
                            Data)




dijous 30 de juny de 2011
Graph Databases
                                    Vendors
                            Neo4J: Open source    Sones: SaaS dot Net
                            database NoSQL        Graph database.
                            graph.
                                                  OrientDB: The
                            HyperGraphDB: An IA   Document-GraphDB.
                            and semantic web
                            graph database.       FlockDB: The twitter
                                                  graphdb.
                            Infogrid: The
                            Internet Graph        Pregel: Graph
                            database.             Processing at Google.


dijous 30 de juny de 2011
dijous 30 de juny de 2011
dijous 30 de juny de 2011
Demo time




dijous 30 de juny de 2011
Thanks!
                            Questions?
                             Pere Urbón-Bayes
                              Moviepilot Gmbh
                                 @purbon
                            purbon@purbon.com




dijous 30 de juny de 2011

Contenu connexe

Tendances

An efficient data mining framework on hadoop using java persistence api
An efficient data mining framework on hadoop using java persistence apiAn efficient data mining framework on hadoop using java persistence api
An efficient data mining framework on hadoop using java persistence apiJoão Gabriel Lima
 
NOSQL overview and intro to graph databases with Neo4j (Geeknight May 2010)
NOSQL overview and intro to graph databases with Neo4j (Geeknight May 2010)NOSQL overview and intro to graph databases with Neo4j (Geeknight May 2010)
NOSQL overview and intro to graph databases with Neo4j (Geeknight May 2010)Emil Eifrem
 
Data Integration at the Ontology Engineering Group
Data Integration at the Ontology Engineering GroupData Integration at the Ontology Engineering Group
Data Integration at the Ontology Engineering GroupOscar Corcho
 
Efficient Tabling of Structured Data Using Indexing and Program Transformation
Efficient Tabling of Structured Data Using Indexing and Program TransformationEfficient Tabling of Structured Data Using Indexing and Program Transformation
Efficient Tabling of Structured Data Using Indexing and Program TransformationChristian Have
 
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...Gezim Sejdiu
 
Semantic Web and Related Work at W3C
Semantic Web and Related Work at W3CSemantic Web and Related Work at W3C
Semantic Web and Related Work at W3CIvan Herman
 
An Algorithm for Bayesian Network Construction from Data
An Algorithm for Bayesian Network Construction from DataAn Algorithm for Bayesian Network Construction from Data
An Algorithm for Bayesian Network Construction from Databutest
 
Looking into the past - feature extraction from historic maps using Python, O...
Looking into the past - feature extraction from historic maps using Python, O...Looking into the past - feature extraction from historic maps using Python, O...
Looking into the past - feature extraction from historic maps using Python, O...James Crone
 
Small, Medium and Big Data
Small, Medium and Big DataSmall, Medium and Big Data
Small, Medium and Big DataPierre De Wilde
 
Simulation Informatics
Simulation InformaticsSimulation Informatics
Simulation InformaticsDavid Gleich
 

Tendances (11)

An efficient data mining framework on hadoop using java persistence api
An efficient data mining framework on hadoop using java persistence apiAn efficient data mining framework on hadoop using java persistence api
An efficient data mining framework on hadoop using java persistence api
 
NOSQL overview and intro to graph databases with Neo4j (Geeknight May 2010)
NOSQL overview and intro to graph databases with Neo4j (Geeknight May 2010)NOSQL overview and intro to graph databases with Neo4j (Geeknight May 2010)
NOSQL overview and intro to graph databases with Neo4j (Geeknight May 2010)
 
Data Integration at the Ontology Engineering Group
Data Integration at the Ontology Engineering GroupData Integration at the Ontology Engineering Group
Data Integration at the Ontology Engineering Group
 
Efficient Tabling of Structured Data Using Indexing and Program Transformation
Efficient Tabling of Structured Data Using Indexing and Program TransformationEfficient Tabling of Structured Data Using Indexing and Program Transformation
Efficient Tabling of Structured Data Using Indexing and Program Transformation
 
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
 
Big dataanalyticsbeyondhadoop public_20_june_2013
Big dataanalyticsbeyondhadoop public_20_june_2013Big dataanalyticsbeyondhadoop public_20_june_2013
Big dataanalyticsbeyondhadoop public_20_june_2013
 
Semantic Web and Related Work at W3C
Semantic Web and Related Work at W3CSemantic Web and Related Work at W3C
Semantic Web and Related Work at W3C
 
An Algorithm for Bayesian Network Construction from Data
An Algorithm for Bayesian Network Construction from DataAn Algorithm for Bayesian Network Construction from Data
An Algorithm for Bayesian Network Construction from Data
 
Looking into the past - feature extraction from historic maps using Python, O...
Looking into the past - feature extraction from historic maps using Python, O...Looking into the past - feature extraction from historic maps using Python, O...
Looking into the past - feature extraction from historic maps using Python, O...
 
Small, Medium and Big Data
Small, Medium and Big DataSmall, Medium and Big Data
Small, Medium and Big Data
 
Simulation Informatics
Simulation InformaticsSimulation Informatics
Simulation Informatics
 

En vedette

GraphDevRoom Call for Sponsors
GraphDevRoom Call for SponsorsGraphDevRoom Call for Sponsors
GraphDevRoom Call for SponsorsPere Urbón-Bayes
 
Graph-Based Source Code Analysis of JavaScript Repositories
Graph-Based Source Code Analysis of JavaScript Repositories Graph-Based Source Code Analysis of JavaScript Repositories
Graph-Based Source Code Analysis of JavaScript Repositories Dániel Stein
 
Graph Databases: Trends in the Web of Data
Graph Databases: Trends in the Web of DataGraph Databases: Trends in the Web of Data
Graph Databases: Trends in the Web of DataMarko Rodriguez
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph DatabasesMax De Marzi
 
21 Hidden LinkedIn Hacks Revealed
21 Hidden LinkedIn Hacks Revealed21 Hidden LinkedIn Hacks Revealed
21 Hidden LinkedIn Hacks RevealedEmma Brudner
 
15 Tips for Compelling Company Updates on LinkedIn
15 Tips for Compelling Company Updates on LinkedIn15 Tips for Compelling Company Updates on LinkedIn
15 Tips for Compelling Company Updates on LinkedInLinkedIn
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheLeslie Samuel
 

En vedette (10)

Cooking Software101
Cooking Software101Cooking Software101
Cooking Software101
 
GraphDevRoom Call for Sponsors
GraphDevRoom Call for SponsorsGraphDevRoom Call for Sponsors
GraphDevRoom Call for Sponsors
 
Graph-Based Source Code Analysis of JavaScript Repositories
Graph-Based Source Code Analysis of JavaScript Repositories Graph-Based Source Code Analysis of JavaScript Repositories
Graph-Based Source Code Analysis of JavaScript Repositories
 
Graph Databases: Trends in the Web of Data
Graph Databases: Trends in the Web of DataGraph Databases: Trends in the Web of Data
Graph Databases: Trends in the Web of Data
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph Databases
 
How to Create a Twitter Cover Photo in PowerPoint [Tutorial]
How to Create a Twitter Cover Photo in PowerPoint [Tutorial]How to Create a Twitter Cover Photo in PowerPoint [Tutorial]
How to Create a Twitter Cover Photo in PowerPoint [Tutorial]
 
5 Things You Should Be Doing on LinkedIn
5 Things You Should Be Doing on LinkedIn5 Things You Should Be Doing on LinkedIn
5 Things You Should Be Doing on LinkedIn
 
21 Hidden LinkedIn Hacks Revealed
21 Hidden LinkedIn Hacks Revealed21 Hidden LinkedIn Hacks Revealed
21 Hidden LinkedIn Hacks Revealed
 
15 Tips for Compelling Company Updates on LinkedIn
15 Tips for Compelling Company Updates on LinkedIn15 Tips for Compelling Company Updates on LinkedIn
15 Tips for Compelling Company Updates on LinkedIn
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
 

Similaire à Try NoSQL it doesn't hurts and is fun

Semantically-aware Networks and Services for Training and Knowledge Managemen...
Semantically-aware Networks and Services for Training and Knowledge Managemen...Semantically-aware Networks and Services for Training and Knowledge Managemen...
Semantically-aware Networks and Services for Training and Knowledge Managemen...Gilbert Paquette
 
2010-06 - a smalltalk about salesforce.com with java architects at YaJuG
2010-06 - a smalltalk about salesforce.com with java architects at YaJuG2010-06 - a smalltalk about salesforce.com with java architects at YaJuG
2010-06 - a smalltalk about salesforce.com with java architects at YaJuGYves Leblond
 
Big Data [sorry] & Data Science: What Does a Data Scientist Do?
Big Data [sorry] & Data Science: What Does a Data Scientist Do?Big Data [sorry] & Data Science: What Does a Data Scientist Do?
Big Data [sorry] & Data Science: What Does a Data Scientist Do?Data Science London
 
Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...
Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...
Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...Charlie Berger
 
Applying Semantic Extensions And New Services To Drupal Sem Tech June 2010
Applying Semantic Extensions And New Services To Drupal   Sem Tech June 2010Applying Semantic Extensions And New Services To Drupal   Sem Tech June 2010
Applying Semantic Extensions And New Services To Drupal Sem Tech June 2010AI4BD GmbH
 
machine learning in the age of big data: new approaches and business applicat...
machine learning in the age of big data: new approaches and business applicat...machine learning in the age of big data: new approaches and business applicat...
machine learning in the age of big data: new approaches and business applicat...Armando Vieira
 
Towards Open Pervasive Displays (Keynote at UbiSummit, Helsinki, May 2011)
Towards Open Pervasive Displays (Keynote at UbiSummit, Helsinki, May 2011)Towards Open Pervasive Displays (Keynote at UbiSummit, Helsinki, May 2011)
Towards Open Pervasive Displays (Keynote at UbiSummit, Helsinki, May 2011)Adrian Friday
 
Towards Open Pervasive Displays (Keynote at Tekes UbiSummit, May 2011)
Towards Open Pervasive Displays (Keynote at Tekes UbiSummit, May 2011)Towards Open Pervasive Displays (Keynote at Tekes UbiSummit, May 2011)
Towards Open Pervasive Displays (Keynote at Tekes UbiSummit, May 2011)Adrian Friday
 
Virtual/Augmented reality, digital tools and superpowers for health applicati...
Virtual/Augmented reality, digital tools and superpowers for health applicati...Virtual/Augmented reality, digital tools and superpowers for health applicati...
Virtual/Augmented reality, digital tools and superpowers for health applicati...Boo Aguilar
 
Big Data Israel Meetup : Couchbase and Big Data
Big Data Israel Meetup : Couchbase and Big DataBig Data Israel Meetup : Couchbase and Big Data
Big Data Israel Meetup : Couchbase and Big DataTugdual Grall
 
Understanding the New World of Cognitive Computing
Understanding the New World of Cognitive ComputingUnderstanding the New World of Cognitive Computing
Understanding the New World of Cognitive ComputingDATAVERSITY
 
Desafios e Oportunidades derivados da Explosao de Dados (Big Data)
Desafios e Oportunidades derivados da Explosao de Dados (Big Data)Desafios e Oportunidades derivados da Explosao de Dados (Big Data)
Desafios e Oportunidades derivados da Explosao de Dados (Big Data)Francisco Pires
 
BDW17 London - Edward Kibardin - Mitie PLC - Learning and Topological Data A...
 BDW17 London - Edward Kibardin - Mitie PLC - Learning and Topological Data A... BDW17 London - Edward Kibardin - Mitie PLC - Learning and Topological Data A...
BDW17 London - Edward Kibardin - Mitie PLC - Learning and Topological Data A...Big Data Week
 
Complenet 2017
Complenet 2017Complenet 2017
Complenet 2017tnoulas
 
Unexperienced pasts
Unexperienced pastsUnexperienced pasts
Unexperienced pastsBuhwan Jeong
 
Adatao Live Demo at the First Spark Summit
Adatao Live Demo at the First Spark SummitAdatao Live Demo at the First Spark Summit
Adatao Live Demo at the First Spark SummitArimo, Inc.
 
Sharded By Business Line: Migrating to a Core Database using MongoDB and Solr
Sharded By Business Line: Migrating to a Core Database using MongoDB and SolrSharded By Business Line: Migrating to a Core Database using MongoDB and Solr
Sharded By Business Line: Migrating to a Core Database using MongoDB and SolrMongoDB
 

Similaire à Try NoSQL it doesn't hurts and is fun (20)

Semantically-aware Networks and Services for Training and Knowledge Managemen...
Semantically-aware Networks and Services for Training and Knowledge Managemen...Semantically-aware Networks and Services for Training and Knowledge Managemen...
Semantically-aware Networks and Services for Training and Knowledge Managemen...
 
2010-06 - a smalltalk about salesforce.com with java architects at YaJuG
2010-06 - a smalltalk about salesforce.com with java architects at YaJuG2010-06 - a smalltalk about salesforce.com with java architects at YaJuG
2010-06 - a smalltalk about salesforce.com with java architects at YaJuG
 
NYC Remapped
NYC RemappedNYC Remapped
NYC Remapped
 
Big Data [sorry] & Data Science: What Does a Data Scientist Do?
Big Data [sorry] & Data Science: What Does a Data Scientist Do?Big Data [sorry] & Data Science: What Does a Data Scientist Do?
Big Data [sorry] & Data Science: What Does a Data Scientist Do?
 
Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...
Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...
Oracle Machine Learning Overview and From Oracle Data Professional to Oracle ...
 
Applying Semantic Extensions And New Services To Drupal Sem Tech June 2010
Applying Semantic Extensions And New Services To Drupal   Sem Tech June 2010Applying Semantic Extensions And New Services To Drupal   Sem Tech June 2010
Applying Semantic Extensions And New Services To Drupal Sem Tech June 2010
 
Information Quality in the Web Era
Information Quality in the Web EraInformation Quality in the Web Era
Information Quality in the Web Era
 
Presentation at MTSR 2012
Presentation at MTSR 2012Presentation at MTSR 2012
Presentation at MTSR 2012
 
machine learning in the age of big data: new approaches and business applicat...
machine learning in the age of big data: new approaches and business applicat...machine learning in the age of big data: new approaches and business applicat...
machine learning in the age of big data: new approaches and business applicat...
 
Towards Open Pervasive Displays (Keynote at UbiSummit, Helsinki, May 2011)
Towards Open Pervasive Displays (Keynote at UbiSummit, Helsinki, May 2011)Towards Open Pervasive Displays (Keynote at UbiSummit, Helsinki, May 2011)
Towards Open Pervasive Displays (Keynote at UbiSummit, Helsinki, May 2011)
 
Towards Open Pervasive Displays (Keynote at Tekes UbiSummit, May 2011)
Towards Open Pervasive Displays (Keynote at Tekes UbiSummit, May 2011)Towards Open Pervasive Displays (Keynote at Tekes UbiSummit, May 2011)
Towards Open Pervasive Displays (Keynote at Tekes UbiSummit, May 2011)
 
Virtual/Augmented reality, digital tools and superpowers for health applicati...
Virtual/Augmented reality, digital tools and superpowers for health applicati...Virtual/Augmented reality, digital tools and superpowers for health applicati...
Virtual/Augmented reality, digital tools and superpowers for health applicati...
 
Big Data Israel Meetup : Couchbase and Big Data
Big Data Israel Meetup : Couchbase and Big DataBig Data Israel Meetup : Couchbase and Big Data
Big Data Israel Meetup : Couchbase and Big Data
 
Understanding the New World of Cognitive Computing
Understanding the New World of Cognitive ComputingUnderstanding the New World of Cognitive Computing
Understanding the New World of Cognitive Computing
 
Desafios e Oportunidades derivados da Explosao de Dados (Big Data)
Desafios e Oportunidades derivados da Explosao de Dados (Big Data)Desafios e Oportunidades derivados da Explosao de Dados (Big Data)
Desafios e Oportunidades derivados da Explosao de Dados (Big Data)
 
BDW17 London - Edward Kibardin - Mitie PLC - Learning and Topological Data A...
 BDW17 London - Edward Kibardin - Mitie PLC - Learning and Topological Data A... BDW17 London - Edward Kibardin - Mitie PLC - Learning and Topological Data A...
BDW17 London - Edward Kibardin - Mitie PLC - Learning and Topological Data A...
 
Complenet 2017
Complenet 2017Complenet 2017
Complenet 2017
 
Unexperienced pasts
Unexperienced pastsUnexperienced pasts
Unexperienced pasts
 
Adatao Live Demo at the First Spark Summit
Adatao Live Demo at the First Spark SummitAdatao Live Demo at the First Spark Summit
Adatao Live Demo at the First Spark Summit
 
Sharded By Business Line: Migrating to a Core Database using MongoDB and Solr
Sharded By Business Line: Migrating to a Core Database using MongoDB and SolrSharded By Business Line: Migrating to a Core Database using MongoDB and Solr
Sharded By Business Line: Migrating to a Core Database using MongoDB and Solr
 

Dernier

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Dernier (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Try NoSQL it doesn't hurts and is fun

  • 1. N SQL Pere Urbón-Bayes Moviepilot Gmbh @purbon purbon@purbon.com dijous 30 de juny de 2011
  • 2. We’re going to talk about? Were we are, and where do we come from? NoSQL. { “motivation” : “use cases” } Graph databases. .... dijous 30 de juny de 2011
  • 3. { "if_you":{ "are_the_master_of": [ "movies", "data analytics", "ruby", "git", "nosql" ], "love":"recommendation systems", "would_love_to_know_about":"graph_databases", "believe_in":"open source" }, Moviepilot is a "join_us":"true", leading provider and "contact_with":"jobs at moviepilot.com" discovery service for } movies and series based in Berlin! dijous 30 de juny de 2011
  • 4. Come and Going History 1960 Navigational Databases 1970 Relational Databases. Edgar Codd Algebra. 1970 ends, SQL DBMS. SQL, DB2, Ingres, PostgreSQL, Sybase, dijous 30 de juny de 2011
  • 5. dijous 30 de juny de 2011
  • 6. dijous 30 de juny de 2011
  • 7. Where are we now? Is every thing related? Semantic Web Business Intelligence Tagging Folksonomies Social networks Linked Data RDF RDMS Blogs Text Files 1990 2000 2010 2030 dijous 30 de juny de 2011
  • 8. Where are we now? 1980 1990 2000 2010 2020 dijous 30 de juny de 2011
  • 9. How are our apps...? Data warehousing and Business Intelligence. Stream processing. Text search. Scientific processing. Semi-(un)-structured data. dijous 30 de juny de 2011
  • 10. How are our apps...? Need to scale Performance, horizontally. Performance, Performance. Partition and replication. Flexibility. OLTP and OLAP. Big even Huge datasets. Web 2.0. .....? dijous 30 de juny de 2011
  • 11. N SQL select fun, profit from real_world where relational=false and barcelona=true; Carlo Strozzi, 1998. Eric Evans (Rackspace) and Johan Oskarsson (last.fm), early 2009. no:sql(east) 2009, no:sql(eu) 2010. dijous 30 de juny de 2011
  • 12. N SQL select fun, profit from real_world where relational=false and barcelona=true; Ability to scale Access throw horizontally. different end points. Replication and Dynamic schema distribution. environment. Weaker concurrency Leave more business model. to the app side. Smart use of resources. dijous 30 de juny de 2011
  • 13. dijous 30 de juny de 2011
  • 14. Dismantle Store Rebuild Enjoy Brick Window Roof Unstructured Structured Unstructured? dijous 30 de juny de 2011
  • 15. ACID select fun, profit from real_world where relational=false and barcelona=true; Atomicity Helps All operations are executed or none is. Understand data. Consistency Persistence guaranteed. Data is consistent after the transaction. Hurts Isolation Horizontal scale. High Availability. Transactions are independent. Durability Changes persist, event if failures. dijous 30 de juny de 2011
  • 16. “There is a magic bullet! It's called relaxing the requirements.” - Evan Weaver, @evan dijous 30 de juny de 2011
  • 17. CAP select fun, profit from real_world where relational=false and barcelona=true; Consistency mysql Each client has the same view. C A Availability redis P riak All client can read and write. Partition Tolerance Works well across different Only Two!!!! network partitions. dijous 30 de juny de 2011
  • 18. “You have database problem. You research blog and HN. You start use NoSQL product. Now you not know anymore if you have problem.” - Devops BORAT, @devops_borat dijous 30 de juny de 2011
  • 19. NoSQL systems. select fun, profit from real_world where relational=false and barcelona=true; Most commons Other systems Column DBs. XML Databases Document DBs. Grid Databases. Key-Value DBs. RDF. Graph DBs. .... Object DBs. dijous 30 de juny de 2011
  • 20. Column Databases select fun, profit from real_world where relational=false and barcelona=true; Is a DBMS that stores its content by column rather than by row. This has advantages for data warehouses. More efficient with Aggregates and if data is column oriented. Suited for OLAP and not much for OLTP. First implementations, early 1970. dijous 30 de juny de 2011
  • 21. Apache Cassandra select fun, profit from real_world where relational=false and barcelona=true; Designed to handle very large data spread across multiple commodity servers. High Availability with no SPOF. Born at Facebook, to power Inbox Search. Hybrid system, between column and rows. Initial Release 2008. Version 0.8.1 28/06/11. dijous 30 de juny de 2011
  • 22. Key-Value Databases select fun, profit from real_world where relational=false and barcelona=true; Allow the use to store key-value pairs, where the key usually consist of a string, and the value is a simple primitive. Suited for use cases where properties and values are enough, ex: profiles, logs, etc... Eventually consistent, hierarchy, multivalued, etc.. First implementations, around 1980. dijous 30 de juny de 2011
  • 23. Redis.io select fun, profit from real_world where relational=false and barcelona=true; Open-source, networked, in-memory, persistent, journaled, key-value datastore. Binding for the major languages. The data structure storage system. Master-Slave replication. High performance. Initial Release 2009. Version 2.2.7 11/05/11 dijous 30 de juny de 2011
  • 24. Document Databases select fun, profit from real_world where relational=false and barcelona=true; Is a DBMS where the default unit of store is a document. XML, JSON, YAML, ..... More complex than Key-Value store. Suited for multi document apps. News, CVs,... Eventual consistency, limited Atomicity and Isolation. One of the first, Lotus Notes, 1989. dijous 30 de juny de 2011
  • 25. OrientDB select fun, profit from real_world where relational=false and barcelona=true; Open source database written in Java. Schema-[full,less,mix] modes. Support SQL, ACID compliant, HTTP, Rest and JSON. Distributed and scalable. Light and embeddable. Binding most langs. Initial Release 2010, Version 1.0rc2 17/06/11 dijous 30 de juny de 2011
  • 26. Graph Databases select fun, profit from real_world where relational=false and barcelona=true; Is a database that uses graph structures with nodes, edges, and properties. Suited for associative datasets, map object oriented app structure. Avoid expensive joins. Are powerful for graph-like operations, like shortest path, communities, etc. First implementations around 2007. dijous 30 de juny de 2011
  • 27. Graph Databases dijous 30 de juny de 2011
  • 28. What is a graph? Graph G(V,E) where V = {v1,v2,...,vN) and E = {E1,E2,...,EN) Directed / Undirected Mixed Multigraph Weighted dijous 30 de juny de 2011
  • 29. dijous 30 de juny de 2011
  • 30. Graph Databases The Property Graph Abstractions Nodes and Relationships. Properties on both. John smith liked http://www.example.com at 01/10/11 dijous 30 de juny de 2011
  • 31. Graph Databases Applications Task planning Dependency analysis Scheduling Impact analysis Process assignation Network flow Routing Traffic analysis and optimization Logistics Delivery League planning optimization Pattern Recognition Optimization of tasks dijous 30 de juny de 2011
  • 32. Graph Databases Applications Recommendations Walks Heuristics Search (PageRank) algorithms Shooting stars Local K-nearest Shortest Paths neighbors Hammock Functions dijous 30 de juny de 2011
  • 33. Graph Databases Applications Semantic web Link analysis RDF (OWL) Store Structure mining RDF-Sail SPARQL Linked data (Open Data) dijous 30 de juny de 2011
  • 34. Graph Databases Vendors Neo4J: Open source Sones: SaaS dot Net database NoSQL Graph database. graph. OrientDB: The HyperGraphDB: An IA Document-GraphDB. and semantic web graph database. FlockDB: The twitter graphdb. Infogrid: The Internet Graph Pregel: Graph database. Processing at Google. dijous 30 de juny de 2011
  • 35. dijous 30 de juny de 2011
  • 36. dijous 30 de juny de 2011
  • 37. Demo time dijous 30 de juny de 2011
  • 38. Thanks! Questions? Pere Urbón-Bayes Moviepilot Gmbh @purbon purbon@purbon.com dijous 30 de juny de 2011