Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The real-time Barcelona urban mobility with NoS...

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →
Avatar for mpous mpous
October 11, 2012

The real-time Barcelona urban mobility with NoSQL technologies

The real-time Barcelona urban mobility with NoSQL technologies slides presented at the NoSQL matters Barcelona 2012.

Authors: Marc Pous, Daniel Villatoro, F.Xavier Mercadal & Arol Viñolas at Barcelona Digital Technology Center.

Avatar for mpous

mpous

October 11, 2012

Other Decks in Technology

Transcript

  1. The real-time Barcelona urban mobility ( with NoSQL technologies )

    NoSQL matters Barcelona 2012 Marc Pous, Daniel Villatoro, F. Xavier Mercadal and Arol Viñoles
  2. The TweetBeat of the City: Microblogging Used for Discovering Behavioural

    Patterns during the MWC 2012 D. Villatoro, J. Serna, V. Rodríguez and M. Torrent
  3. [{"user_id": "16c92e53509a2aac345ddf2b1846d81 042f69820", "latitude", "41.385735", "longitude": "2.136139", "altitude": "65.00", "timestamp":

    "Oct 6, 2012, 11: 30:53 AM GMT 02:00"}] [{"user":"F.Xavier Mercadal Mir","question":" 4fd7155aa513f2a4caaa2f0d","answer":"","score":0,"time": 20,"correct":false,"timestamp":"2012-10-06T09:31:19.000 Z","_id":"506ffa23ab1c33182e000278"}]
  4. { loc : { lat : 40.413895, lon : 2.176494

    }} > db.moves.ensureIndex ( { loc : "2d" } ) > db.moves.find ( { loc : { $near : [ 40.413987, 2.17.6499 ] } } )
  5. Conclusions • Social Media sources can serve as a social

    sensing platform. • Citizens as sensors. • Real-time monitoring of the Barcelona mobility network. • New route optimizers.
  6. Why NoSQL matters? • Hadoop + Mahout for big data

    and batch processes. • MongoDB for document storage and GeoSpatial Indexing (2D). • REDIS for cache and save HTTP requests. • Neo4j for graphs and operations.