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

Ducksboard's architecture, a real-time online d...

Ducksboard's architecture, a real-time online dashboard

A talk on how Ducksboard has been designed and built to enable real-time metrics updates coming from different web services.

Aitor Guevara

July 19, 2012
Tweet

More Decks by Aitor Guevara

Other Decks in Technology

Transcript

  1. Marta Online marketing sovereign David Django master of everything Pepe

    Backend architect of forever Javi Frontend ruler of tomorrow
  2. jan 2011 here we go! jun 2011 public beta jan

    2012 launch mar 2012 seed round
  3. On deferreds from twisted.internet import reactor from twisted.web.client import Agent

    def _got_response(response): print(response.code, response.phrase) reactor.stop() agent = Agent(reactor) d = agent.request('GET', 'http://www.google.com/') d.addCallback(_got_response) reactor.run()
  4. Parser 1 / metric / user config stored in PostgreSQL

    consumes many API kinds data sent to Gateway
  5. API data read API (HTTP + Websocket) historic data from

    PostgreSQL real-time data from RabbitMQ
  6. On Backbone 1 model / entity n views / model

    (main, settings) jQuery templates (tmplItem())