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

River JS

Andy Kent
February 23, 2012

River JS

A talk about the River Node module. https://github.com/andykent/river
Presented at LNUG Feb 2012 meetup.

Andy Kent

February 23, 2012
Tweet

More Decks by Andy Kent

Other Decks in Programming

Transcript

  1. SELECT source, COUNT(1) AS i FROM tweets.win:length(1000) GROUP BY source

    HAVING i > 10 PARSED QUERY QUERY PLAN COMPILED QUERY
  2. SELECT source, COUNT(1) AS i FROM tweets.win:length(1000) GROUP BY source

    HAVING i > 10 PARSED QUERY QUERY PLAN MINIFICATION LENGTH BASED REPLAY AGGREGATION PROJECTION FILTER STREAM SELECTION COMPILED QUERY
  3. RATE LIMITING SELECT accounts.email AS contact_email, FLOOR(COUNT(1)/60) AS req_sec FROM

    requests.win:time(60) JOIN accounts ON requests.token = accounts.token GROUP BY requests.token HAVING req_count > 2