Suche senden
Hochladen
Riak Intro at Munich Node.js
•
1 gefällt mir
•
1,897 views
Philipp Fehre
Folgen
Introduction to Riak, riak-js and MapReduce at Munich node.js user group
Weniger lesen
Mehr lesen
Technologie
Melden
Teilen
Melden
Teilen
1 von 42
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Building a Cloud API Server using Play(SCALA) & Riak
Building a Cloud API Server using Play(SCALA) & Riak
RajthilakMCA
Solutions for bi-directional Integration between Oracle RDMBS & Apache Kafka
Solutions for bi-directional Integration between Oracle RDMBS & Apache Kafka
Guido Schmutz
ELK introduction
ELK introduction
Waldemar Neto
elk_stack_alexander_szalonnas
elk_stack_alexander_szalonnas
Alexander Szalonnas
Elastic - ELK, Logstash & Kibana
Elastic - ELK, Logstash & Kibana
SpringPeople
Elk
Elk
Caleb Wang
Data Analytics Service Company and Its Ruby Usage
Data Analytics Service Company and Its Ruby Usage
SATOSHI TAGOMORI
Shipping & Visualize Your Data With ELK
Shipping & Visualize Your Data With ELK
Adam Chen
Empfohlen
Building a Cloud API Server using Play(SCALA) & Riak
Building a Cloud API Server using Play(SCALA) & Riak
RajthilakMCA
Solutions for bi-directional Integration between Oracle RDMBS & Apache Kafka
Solutions for bi-directional Integration between Oracle RDMBS & Apache Kafka
Guido Schmutz
ELK introduction
ELK introduction
Waldemar Neto
elk_stack_alexander_szalonnas
elk_stack_alexander_szalonnas
Alexander Szalonnas
Elastic - ELK, Logstash & Kibana
Elastic - ELK, Logstash & Kibana
SpringPeople
Elk
Elk
Caleb Wang
Data Analytics Service Company and Its Ruby Usage
Data Analytics Service Company and Its Ruby Usage
SATOSHI TAGOMORI
Shipping & Visualize Your Data With ELK
Shipping & Visualize Your Data With ELK
Adam Chen
Os riak1-pdf
Os riak1-pdf
Nguyen Thuy
Open Source Logging and Monitoring Tools
Open Source Logging and Monitoring Tools
Phase2
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
ForgeRock
Real-time data analysis using ELK
Real-time data analysis using ELK
Jettro Coenradie
Kafka Summit NYC 2017 - Singe Message Transforms are not the Transformations ...
Kafka Summit NYC 2017 - Singe Message Transforms are not the Transformations ...
confluent
Logging logs with Logstash - Devops MK 10-02-2016
Logging logs with Logstash - Devops MK 10-02-2016
Steve Howe
Analyse your SEO Data with R and Kibana
Analyse your SEO Data with R and Kibana
Vincent Terrasi
Rethinking Syncing at AltConf 2019
Rethinking Syncing at AltConf 2019
Joe Keeley
Altitude NY 2018: Programming the edge workshop
Altitude NY 2018: Programming the edge workshop
Fastly
05 integrate redis
05 integrate redis
Erhwen Kuo
ELK Stack
ELK Stack
Phuc Nguyen
Attack monitoring using ElasticSearch Logstash and Kibana
Attack monitoring using ElasticSearch Logstash and Kibana
Prajal Kulkarni
FlutterでGraphQLを扱う
FlutterでGraphQLを扱う
IgaHironobu
Altitude NY 2018: Leveraging Log Streaming to Build the Best Dashboards, Ever
Altitude NY 2018: Leveraging Log Streaming to Build the Best Dashboards, Ever
Fastly
'Scalable Logging and Analytics with LogStash'
'Scalable Logging and Analytics with LogStash'
Cloud Elements
Synchronous Commands over Apache Kafka (Neil Buesing, Object Partners, Inc) K...
Synchronous Commands over Apache Kafka (Neil Buesing, Object Partners, Inc) K...
confluent
Side by Side with Elasticsearch & Solr, Part 2
Side by Side with Elasticsearch & Solr, Part 2
Sematext Group, Inc.
PUT Knowledge BUCKET Brain KEY Riak
PUT Knowledge BUCKET Brain KEY Riak
Philipp Fehre
Resilient Applications with Akka Persistence - Scaladays 2014
Resilient Applications with Akka Persistence - Scaladays 2014
Björn Antonsson
Introduction to ELK
Introduction to ELK
Harshakumar Ummerpillai
Hugfr SPARK & RIAK -20160114_hug_france
Hugfr SPARK & RIAK -20160114_hug_france
Modern Data Stack France
Relational Databases to Riak
Relational Databases to Riak
Basho Technologies
Weitere ähnliche Inhalte
Was ist angesagt?
Os riak1-pdf
Os riak1-pdf
Nguyen Thuy
Open Source Logging and Monitoring Tools
Open Source Logging and Monitoring Tools
Phase2
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
ForgeRock
Real-time data analysis using ELK
Real-time data analysis using ELK
Jettro Coenradie
Kafka Summit NYC 2017 - Singe Message Transforms are not the Transformations ...
Kafka Summit NYC 2017 - Singe Message Transforms are not the Transformations ...
confluent
Logging logs with Logstash - Devops MK 10-02-2016
Logging logs with Logstash - Devops MK 10-02-2016
Steve Howe
Analyse your SEO Data with R and Kibana
Analyse your SEO Data with R and Kibana
Vincent Terrasi
Rethinking Syncing at AltConf 2019
Rethinking Syncing at AltConf 2019
Joe Keeley
Altitude NY 2018: Programming the edge workshop
Altitude NY 2018: Programming the edge workshop
Fastly
05 integrate redis
05 integrate redis
Erhwen Kuo
ELK Stack
ELK Stack
Phuc Nguyen
Attack monitoring using ElasticSearch Logstash and Kibana
Attack monitoring using ElasticSearch Logstash and Kibana
Prajal Kulkarni
FlutterでGraphQLを扱う
FlutterでGraphQLを扱う
IgaHironobu
Altitude NY 2018: Leveraging Log Streaming to Build the Best Dashboards, Ever
Altitude NY 2018: Leveraging Log Streaming to Build the Best Dashboards, Ever
Fastly
'Scalable Logging and Analytics with LogStash'
'Scalable Logging and Analytics with LogStash'
Cloud Elements
Synchronous Commands over Apache Kafka (Neil Buesing, Object Partners, Inc) K...
Synchronous Commands over Apache Kafka (Neil Buesing, Object Partners, Inc) K...
confluent
Side by Side with Elasticsearch & Solr, Part 2
Side by Side with Elasticsearch & Solr, Part 2
Sematext Group, Inc.
PUT Knowledge BUCKET Brain KEY Riak
PUT Knowledge BUCKET Brain KEY Riak
Philipp Fehre
Resilient Applications with Akka Persistence - Scaladays 2014
Resilient Applications with Akka Persistence - Scaladays 2014
Björn Antonsson
Introduction to ELK
Introduction to ELK
Harshakumar Ummerpillai
Was ist angesagt?
(20)
Os riak1-pdf
Os riak1-pdf
Open Source Logging and Monitoring Tools
Open Source Logging and Monitoring Tools
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
Real-time data analysis using ELK
Real-time data analysis using ELK
Kafka Summit NYC 2017 - Singe Message Transforms are not the Transformations ...
Kafka Summit NYC 2017 - Singe Message Transforms are not the Transformations ...
Logging logs with Logstash - Devops MK 10-02-2016
Logging logs with Logstash - Devops MK 10-02-2016
Analyse your SEO Data with R and Kibana
Analyse your SEO Data with R and Kibana
Rethinking Syncing at AltConf 2019
Rethinking Syncing at AltConf 2019
Altitude NY 2018: Programming the edge workshop
Altitude NY 2018: Programming the edge workshop
05 integrate redis
05 integrate redis
ELK Stack
ELK Stack
Attack monitoring using ElasticSearch Logstash and Kibana
Attack monitoring using ElasticSearch Logstash and Kibana
FlutterでGraphQLを扱う
FlutterでGraphQLを扱う
Altitude NY 2018: Leveraging Log Streaming to Build the Best Dashboards, Ever
Altitude NY 2018: Leveraging Log Streaming to Build the Best Dashboards, Ever
'Scalable Logging and Analytics with LogStash'
'Scalable Logging and Analytics with LogStash'
Synchronous Commands over Apache Kafka (Neil Buesing, Object Partners, Inc) K...
Synchronous Commands over Apache Kafka (Neil Buesing, Object Partners, Inc) K...
Side by Side with Elasticsearch & Solr, Part 2
Side by Side with Elasticsearch & Solr, Part 2
PUT Knowledge BUCKET Brain KEY Riak
PUT Knowledge BUCKET Brain KEY Riak
Resilient Applications with Akka Persistence - Scaladays 2014
Resilient Applications with Akka Persistence - Scaladays 2014
Introduction to ELK
Introduction to ELK
Ähnlich wie Riak Intro at Munich Node.js
Hugfr SPARK & RIAK -20160114_hug_france
Hugfr SPARK & RIAK -20160114_hug_france
Modern Data Stack France
Relational Databases to Riak
Relational Databases to Riak
Basho Technologies
Rack
Rack
shen liu
Riak with Rails
Riak with Rails
Sean Cribbs
Scalable network applications, event-driven - Node JS
Scalable network applications, event-driven - Node JS
Cosmin Mereuta
Adriano Di Luzio - Davvy - PyconSEI Talk
Adriano Di Luzio - Davvy - PyconSEI Talk
aldur999
Intro to Rack
Intro to Rack
Rubyc Slides
Web api
Web api
Sudhakar Sharma
Automate your automation with Rudder’s API! \o/
Automate your automation with Rudder’s API! \o/
RUDDER
Getting Started With The Talis Platform
Getting Started With The Talis Platform
Leigh Dodds
StackMate - CloudFormation for CloudStack
StackMate - CloudFormation for CloudStack
Chiradeep Vittal
Couchdb: No SQL? No driver? No problem
Couchdb: No SQL? No driver? No problem
delagoya
Sinatra
Sinatra
kevinreiss
Using and scaling Rack and Rack-based middleware
Using and scaling Rack and Rack-based middleware
Alona Mekhovova
Coding with Riak (from Velocity 2015)
Coding with Riak (from Velocity 2015)
Basho Technologies
Play Framework: async I/O with Java and Scala
Play Framework: async I/O with Java and Scala
Yevgeniy Brikman
Michael Hackstein - Polyglot Persistence & Multi-Model NoSQL Databases - NoSQ...
Michael Hackstein - Polyglot Persistence & Multi-Model NoSQL Databases - NoSQ...
NoSQLmatters
RoR guide_p1
RoR guide_p1
Brady Cheng
The Site is the API
The Site is the API
Nathan Yergler
Rack
Rack
Sarah Allen
Ähnlich wie Riak Intro at Munich Node.js
(20)
Hugfr SPARK & RIAK -20160114_hug_france
Hugfr SPARK & RIAK -20160114_hug_france
Relational Databases to Riak
Relational Databases to Riak
Rack
Rack
Riak with Rails
Riak with Rails
Scalable network applications, event-driven - Node JS
Scalable network applications, event-driven - Node JS
Adriano Di Luzio - Davvy - PyconSEI Talk
Adriano Di Luzio - Davvy - PyconSEI Talk
Intro to Rack
Intro to Rack
Web api
Web api
Automate your automation with Rudder’s API! \o/
Automate your automation with Rudder’s API! \o/
Getting Started With The Talis Platform
Getting Started With The Talis Platform
StackMate - CloudFormation for CloudStack
StackMate - CloudFormation for CloudStack
Couchdb: No SQL? No driver? No problem
Couchdb: No SQL? No driver? No problem
Sinatra
Sinatra
Using and scaling Rack and Rack-based middleware
Using and scaling Rack and Rack-based middleware
Coding with Riak (from Velocity 2015)
Coding with Riak (from Velocity 2015)
Play Framework: async I/O with Java and Scala
Play Framework: async I/O with Java and Scala
Michael Hackstein - Polyglot Persistence & Multi-Model NoSQL Databases - NoSQ...
Michael Hackstein - Polyglot Persistence & Multi-Model NoSQL Databases - NoSQ...
RoR guide_p1
RoR guide_p1
The Site is the API
The Site is the API
Rack
Rack
Mehr von Philipp Fehre
node.js and native code extensions by example
node.js and native code extensions by example
Philipp Fehre
Jruby a Pi and a database
Jruby a Pi and a database
Philipp Fehre
Couchbase Mobile on Android
Couchbase Mobile on Android
Philipp Fehre
From 0 to syncing
From 0 to syncing
Philipp Fehre
Node.js and couchbase Full Stack JSON - Munich NoSQL
Node.js and couchbase Full Stack JSON - Munich NoSQL
Philipp Fehre
You got schema in my json
You got schema in my json
Philipp Fehre
What is new in Riak 2.0
What is new in Riak 2.0
Philipp Fehre
Ember background basics
Ember background basics
Philipp Fehre
Ember learn from Riak Control
Ember learn from Riak Control
Philipp Fehre
Testing tdd jasmine
Testing tdd jasmine
Philipp Fehre
Testing tdd dom
Testing tdd dom
Philipp Fehre
Something about node basics
Something about node basics
Philipp Fehre
A little more advanced node
A little more advanced node
Philipp Fehre
Something about node in the realworld
Something about node in the realworld
Philipp Fehre
Campfire bot lightning talk
Campfire bot lightning talk
Philipp Fehre
Lighting fast rails with zeus
Lighting fast rails with zeus
Philipp Fehre
JavaScript frontend testing from failure to good to great
JavaScript frontend testing from failure to good to great
Philipp Fehre
Network with node
Network with node
Philipp Fehre
Mehr von Philipp Fehre
(18)
node.js and native code extensions by example
node.js and native code extensions by example
Jruby a Pi and a database
Jruby a Pi and a database
Couchbase Mobile on Android
Couchbase Mobile on Android
From 0 to syncing
From 0 to syncing
Node.js and couchbase Full Stack JSON - Munich NoSQL
Node.js and couchbase Full Stack JSON - Munich NoSQL
You got schema in my json
You got schema in my json
What is new in Riak 2.0
What is new in Riak 2.0
Ember background basics
Ember background basics
Ember learn from Riak Control
Ember learn from Riak Control
Testing tdd jasmine
Testing tdd jasmine
Testing tdd dom
Testing tdd dom
Something about node basics
Something about node basics
A little more advanced node
A little more advanced node
Something about node in the realworld
Something about node in the realworld
Campfire bot lightning talk
Campfire bot lightning talk
Lighting fast rails with zeus
Lighting fast rails with zeus
JavaScript frontend testing from failure to good to great
JavaScript frontend testing from failure to good to great
Network with node
Network with node
Kürzlich hochgeladen
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
LoriGlavin3
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Manik S Magar
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
MounikaPolabathina
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
hariprasad279825
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
Nathaniel Shimoni
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
DianaGray10
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
ScyllaDB
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
mohitsingh558521
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
Raghuram Pandurangan
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
LoriGlavin3
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
LoriGlavin3
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Databarracks
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Alan Dix
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
LoriGlavin3
Kürzlich hochgeladen
(20)
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
How to write a Business Continuity Plan
How to write a Business Continuity Plan
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Riak Intro at Munich Node.js
1.
Riak and Node.js:
Best served with HTTP Philipp Fehre https://github.com/sideshowcoder
2.
3.
What is Riak? A
Key Value store A Dynamo store!
4.
Distributed
5.
6.
7.
Replicated
8.
9.
Fault tolerant
10.
11.
12.
13.
Scaling Basically means add
more machines
14.
Gains more storage more throughput lower
latency
15.
And it is
Web friendly HTTP Interface Value is irrelevant so you can store JSON Support for JavaScript functions
16.
When to use
Riak
17.
18.
Data Organization keys identify
objects objects have metadata objects are grouped into buckets
19.
More Data Features Links Secoundary
indexes Timeouts
20.
HTTP Riak understands simple
HTTP
21.
Create some data curl
-v -XPUT http://localhost:8098/riak/test/doc -H "Content-Type: application/json" -d '{"bar":"baz"}'
22.
Query by key curl
-v http://localhost:8098/riak/test/doc
23.
Everything can be
done via HTTP
24.
like setting properties
of the bucket curl -v -XPUT -H "Content-Type: application/json" -d '{"props":{"n_val":5}}'
25.
or MapReduce curl -XPOST
http://localhost:8098/mapred -H 'Content-Type: application/json' -d '{ "inputs":"training", "query":[{"map":{"language":"javascript", "source":"function(riakObject) { var val = riakObject.values[0].data.match(/pizza/g); return [[riakObject.key, (val ? val.length : 0)]]; }"}}]}'
26.
Ok but we
do JavaScript
27.
... or more
like Node
28.
Using Riak from
Node
29.
JavaScript all the
way down if you want it to be!
30.
The Client var db
= require("riak-js").getClient()
31.
Store an Object var
obj = { val: "foo", bar: true } db.save("foos", "foo_1", obj, {}, function(err) { if(!err) console.log("stored") })
32.
Retrieve an Object db.get("foos",
"foo_1", function(err, data, meta) { if(!err) { console.log(data) console.log(meta) } })
33.
Map and Reduce "MapReduce
is a programming model for processing large data sets with a parallel, distributed algorithm on a cluster" -Wikipedia
34.
35.
Riak MapReduce Queries provide
a set of keys provide a map function provide a reduce function
36.
Select Keys db.mapreduce.add("foos")
37.
var key_filter =
[["tokenize", "_", 1], ["to_lower"], ["matches", "foo"]] db.mapreduce.add({ bucket: "foos", key_filters: key_filter })
38.
Map a buildin db.mapreduce .add("foos") .map({
name: 'Riak.mapValueJson', keep: true }) .run()
39.
Map custom function var
func = function(v, _keyData, arg) { var v = Riak.mapValuesJson(v)[0]; (v.val === "foo") ? return [v] : return []; } db.mapreduce.add("foos").map(func).run()
40.
Reduce with custom var
func = function(values) { return [ values.length ] } db.mapreduce... .reduce(func) .run()
41.
A little more
complex function(values) { return values.reduce(function(acc, v) { if(v.bar) { var curr = acc["bar"] || 0 acc["bar"] = curr + 1 } return acc; }) }
42.
Questions · Usergroup: www.meetup.com/Riak-Munchen/ ·
More on the basics: littleriakbook.com
Jetzt herunterladen