Enviar pesquisa
Carregar
Riak Intro at Munich Node.js
•
1 gostou
•
1,897 visualizações
Philipp Fehre
Seguir
Introduction to Riak, riak-js and MapReduce at Munich node.js user group
Leia menos
Leia mais
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 42
Baixar agora
Baixar para ler offline
Recomendados
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
Recomendados
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
Mais conteúdo relacionado
Mais procurados
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
Mais procurados
(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
Semelhante a 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
Semelhante a 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
Mais de 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
Mais de 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
Último
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
Sandro Moreira
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
danishmna97
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
apidays
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
MadyBayot
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
DianaGray10
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Orbitshub
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
apidays
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
The Digital Insurer
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Edi Saputra
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
Overkill Security
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
Último
(20)
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
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
Baixar agora