Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Creek
Search
Andy Kent
October 22, 2011
Programming
1
71
Creek
Presentation given at LNUG discussing realtime aggregation over unbounded streams
Andy Kent
October 22, 2011
Tweet
Share
More Decks by Andy Kent
See All by Andy Kent
Coder Dojo London MIDI
andykent
2
71
Coder Dojo London Fireworks
andykent
0
110
River JS
andykent
2
640
Scalling Node to 50 Million Requests
andykent
5
290
Other Decks in Programming
See All in Programming
Azure OpenAI Serviceのプロンプトエンジニアリング入門
tomokusaba
3
890
MicrosoftのPlatform Engineeringガイドを読んで実際になにかやってみた
ymd65536
1
510
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
1k
雑に思考を整理する技術と効能
konifar
63
30k
CREってこういうこと? 体験入社 - 提案資料 - / what-is-cre-trial-employment
shinden
1
520
Sheets API使ってみた
toshi0383
2
160
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
4
390
Try creating your own orderedmap
kazamori
1
210
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
130
Netty Chicago Java User Group 2024-04-17
sullis
0
200
Amazon SQSコンシューマー疎結合への旅 - 出張! #DevelopersIO IT技術ブログの中の人が語る勉強会 #3
quiver
0
310
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
1k
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
649
58k
Producing Creativity
orderedlist
PRO
338
39k
Art, The Web, and Tiny UX
lynnandtonic
290
19k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Statistics for Hackers
jakevdp
790
220k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
13
8.3k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
A designer walks into a library…
pauljervisheath
201
23k
Testing 201, or: Great Expectations
jmmastey
30
6.4k
Atom: Resistance is Futile
akmur
260
25k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.7k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Transcript
REALTIME DATA ANALYSIS OVER UNBOUNDED STREAMS
REALTIME DATA ANALYSIS OVER UNBOUNDED STREAMS
REALTIME DATA ANALYSIS OVER UNBOUNDED STREAMS
REALTIME DATA ANALYSIS OVER UNBOUNDED STREAMS
WHEN YOU’VE GOT A HOSEPIPE WHAT YOU WANT IS A
CREEK
CREEK https://github.com/andykent/creek
AGGREGATORS count.alltime, count.timeboxed distinct.alltime, distinct.timeboxed max.alltime, max.timeboxed mean.alltime, mean.timeboxed min.alltime,
min.timeboxed sum.alltime, sum.timeboxed popular.timeboxed recent.limited
QUERY DSL track 'popular-words', aggregator: popular.timeboxed field: (o) -> o.text.toLowerCase().split('
') period: 60 precision: 5 top: 10
DEMO TIME!
ESPER
THE FUTURE...
RIVER river = require('river') ctx = river.createContext() ctx.addQuery "SELECT SUM(foo)
FROM my_stream", (newValues, oldValues) -> console.log(newValues, oldValues) c.push('my_stream', {foo:1, bar:2}) c.push('my_stream', {foo:3, bar:4}) https://github.com/forward/river
SQL-PARSER https://github.com/forward/sql-parser
PERSISTENCE
THE END