Suche senden
Hochladen
Intro to CouchDB
•
Als PPTX, PDF herunterladen
•
0 gefällt mir
•
591 views
B
benaldred
Folgen
A quick introduction to CouchDB and CouchRest done at nwrug.org
Weniger lesen
Mehr lesen
Technologie
Business
Diashow-Anzeige
Melden
Teilen
Diashow-Anzeige
Melden
Teilen
1 von 38
Jetzt herunterladen
Empfohlen
CouchApp - Build scalable web applications and relax
CouchApp - Build scalable web applications and relax
openForce Information Technology GesmbH
node.js - Fast event based web application development
node.js - Fast event based web application development
openForce Information Technology GesmbH
MongoDB San Francisco DrupalCon 2010
MongoDB San Francisco DrupalCon 2010
Karoly Negyesi
Node.js Lightning Talk
Node.js Lightning Talk
CodeSlice
Caching Data For Performance
Caching Data For Performance
Dave Ross
Cache all the things #DCLondon
Cache all the things #DCLondon
digital006
იოსებ ძმანაშვილი Node.js
იოსებ ძმანაშვილი Node.js
unihack
What is AWS S3?
What is AWS S3?
AWS Tutor
Empfohlen
CouchApp - Build scalable web applications and relax
CouchApp - Build scalable web applications and relax
openForce Information Technology GesmbH
node.js - Fast event based web application development
node.js - Fast event based web application development
openForce Information Technology GesmbH
MongoDB San Francisco DrupalCon 2010
MongoDB San Francisco DrupalCon 2010
Karoly Negyesi
Node.js Lightning Talk
Node.js Lightning Talk
CodeSlice
Caching Data For Performance
Caching Data For Performance
Dave Ross
Cache all the things #DCLondon
Cache all the things #DCLondon
digital006
იოსებ ძმანაშვილი Node.js
იოსებ ძმანაშვილი Node.js
unihack
What is AWS S3?
What is AWS S3?
AWS Tutor
Optimize drupal
Optimize drupal
Le Thanh Sang
CouchDB and Rails on the Cloud
CouchDB and Rails on the Cloud
rockyjaiswal
Scaling Rails Sites by default
Scaling Rails Sites by default
Yi-Ting Cheng
Variations on a Theme
Variations on a Theme
Commercial Progression
Big Frontends Made Simple
Big Frontends Made Simple
Nico Hagenburger
Phorum MySQL tricks
Phorum MySQL tricks
guestd34230
3 Steps to Make Better & Faster Frontends
3 Steps to Make Better & Faster Frontends
Nico Hagenburger
3 ways-to-create-sprites-in-rails
3 ways-to-create-sprites-in-rails
Nico Hagenburger
Amazon S3 storage engine plugin for MySQL
Amazon S3 storage engine plugin for MySQL
Kapil Mohan
Server-Side JavaScript with jQuery and AOLserver
Server-Side JavaScript with jQuery and AOLserver
Dossy Shiobara
Drupal feature proposal: two new stream-wrappers
Drupal feature proposal: two new stream-wrappers
Marcus Deglos
Performace optimizations and frontend happiness
Performace optimizations and frontend happiness
nuria_ruiz
A practical 10m intro to PHP on Heroku
A practical 10m intro to PHP on Heroku
Olivier Garcia
all data everywhere
all data everywhere
sarahnovotny
Autovacuum, explained for engineers, new improved version PGConf.eu 2015 Vienna
Autovacuum, explained for engineers, new improved version PGConf.eu 2015 Vienna
PostgreSQL-Consulting
Dmp hadoop getting_start
Dmp hadoop getting_start
Gim GyungJin
Scaling my sql_in_3d
Scaling my sql_in_3d
sarahnovotny
A faster web
A faster web
Bakani Pilime
Web crawl with Elixir
Web crawl with Elixir
이재철
Web Optimization Level: Paranoid
Web Optimization Level: Paranoid
robin_sy
Introducing CouchDB
Introducing CouchDB
Hatem Ben Yacoub
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
JAX London
Weitere ähnliche Inhalte
Was ist angesagt?
Optimize drupal
Optimize drupal
Le Thanh Sang
CouchDB and Rails on the Cloud
CouchDB and Rails on the Cloud
rockyjaiswal
Scaling Rails Sites by default
Scaling Rails Sites by default
Yi-Ting Cheng
Variations on a Theme
Variations on a Theme
Commercial Progression
Big Frontends Made Simple
Big Frontends Made Simple
Nico Hagenburger
Phorum MySQL tricks
Phorum MySQL tricks
guestd34230
3 Steps to Make Better & Faster Frontends
3 Steps to Make Better & Faster Frontends
Nico Hagenburger
3 ways-to-create-sprites-in-rails
3 ways-to-create-sprites-in-rails
Nico Hagenburger
Amazon S3 storage engine plugin for MySQL
Amazon S3 storage engine plugin for MySQL
Kapil Mohan
Server-Side JavaScript with jQuery and AOLserver
Server-Side JavaScript with jQuery and AOLserver
Dossy Shiobara
Drupal feature proposal: two new stream-wrappers
Drupal feature proposal: two new stream-wrappers
Marcus Deglos
Performace optimizations and frontend happiness
Performace optimizations and frontend happiness
nuria_ruiz
A practical 10m intro to PHP on Heroku
A practical 10m intro to PHP on Heroku
Olivier Garcia
all data everywhere
all data everywhere
sarahnovotny
Autovacuum, explained for engineers, new improved version PGConf.eu 2015 Vienna
Autovacuum, explained for engineers, new improved version PGConf.eu 2015 Vienna
PostgreSQL-Consulting
Dmp hadoop getting_start
Dmp hadoop getting_start
Gim GyungJin
Scaling my sql_in_3d
Scaling my sql_in_3d
sarahnovotny
A faster web
A faster web
Bakani Pilime
Web crawl with Elixir
Web crawl with Elixir
이재철
Web Optimization Level: Paranoid
Web Optimization Level: Paranoid
robin_sy
Was ist angesagt?
(20)
Optimize drupal
Optimize drupal
CouchDB and Rails on the Cloud
CouchDB and Rails on the Cloud
Scaling Rails Sites by default
Scaling Rails Sites by default
Variations on a Theme
Variations on a Theme
Big Frontends Made Simple
Big Frontends Made Simple
Phorum MySQL tricks
Phorum MySQL tricks
3 Steps to Make Better & Faster Frontends
3 Steps to Make Better & Faster Frontends
3 ways-to-create-sprites-in-rails
3 ways-to-create-sprites-in-rails
Amazon S3 storage engine plugin for MySQL
Amazon S3 storage engine plugin for MySQL
Server-Side JavaScript with jQuery and AOLserver
Server-Side JavaScript with jQuery and AOLserver
Drupal feature proposal: two new stream-wrappers
Drupal feature proposal: two new stream-wrappers
Performace optimizations and frontend happiness
Performace optimizations and frontend happiness
A practical 10m intro to PHP on Heroku
A practical 10m intro to PHP on Heroku
all data everywhere
all data everywhere
Autovacuum, explained for engineers, new improved version PGConf.eu 2015 Vienna
Autovacuum, explained for engineers, new improved version PGConf.eu 2015 Vienna
Dmp hadoop getting_start
Dmp hadoop getting_start
Scaling my sql_in_3d
Scaling my sql_in_3d
A faster web
A faster web
Web crawl with Elixir
Web crawl with Elixir
Web Optimization Level: Paranoid
Web Optimization Level: Paranoid
Ähnlich wie Intro to CouchDB
Introducing CouchDB
Introducing CouchDB
Hatem Ben Yacoub
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
JAX London
CouchDB
CouchDB
codebits
Umleitung: a tiny mochiweb/CouchDB app
Umleitung: a tiny mochiweb/CouchDB app
Lenz Gschwendtner
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
Codemotion
Couch db and_the_web
Couch db and_the_web
Knut O. Hellan
루비가 얼랭에 빠진 날
루비가 얼랭에 빠진 날
Sukjoon Kim
Developing node-mdb: a Node.js - based clone of SimpleDB
Developing node-mdb: a Node.js - based clone of SimpleDB
Rob Tweed
Building Ruby on Rails apps on Windows Azure (MIX 2010 at Last Vegas))
Building Ruby on Rails apps on Windows Azure (MIX 2010 at Last Vegas))
Sriram Krishnan
Introduction to couch_db
Introduction to couch_db
Romain Testard
Ruby off Rails---rack, sinatra and sequel
Ruby off Rails---rack, sinatra and sequel
Jiang Wu
Presentation of JSConf.eu
Presentation of JSConf.eu
Fredrik Wendt
OWB11gR2 - Extending ETL
OWB11gR2 - Extending ETL
Suraj Bang
SINATRA + HAML + TWITTER
SINATRA + HAML + TWITTER
Elber Ribeiro
Cape Cod Web Technology Meetup - 2
Cape Cod Web Technology Meetup - 2
Asher Martin
Couchdb: No SQL? No driver? No problem
Couchdb: No SQL? No driver? No problem
delagoya
Deploy Rails Application by Capistrano
Deploy Rails Application by Capistrano
Tasawr Interactive
Grails Introduction - IJTC 2007
Grails Introduction - IJTC 2007
Guillaume Laforge
Get Soaked - An In Depth Look At PHP Streams
Get Soaked - An In Depth Look At PHP Streams
Davey Shafik
Quick trip around the Cosmos - Things every astronaut supposed to know
Quick trip around the Cosmos - Things every astronaut supposed to know
Rafał Hryniewski
Ähnlich wie Intro to CouchDB
(20)
Introducing CouchDB
Introducing CouchDB
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
CouchDB
CouchDB
Umleitung: a tiny mochiweb/CouchDB app
Umleitung: a tiny mochiweb/CouchDB app
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
Couch db and_the_web
Couch db and_the_web
루비가 얼랭에 빠진 날
루비가 얼랭에 빠진 날
Developing node-mdb: a Node.js - based clone of SimpleDB
Developing node-mdb: a Node.js - based clone of SimpleDB
Building Ruby on Rails apps on Windows Azure (MIX 2010 at Last Vegas))
Building Ruby on Rails apps on Windows Azure (MIX 2010 at Last Vegas))
Introduction to couch_db
Introduction to couch_db
Ruby off Rails---rack, sinatra and sequel
Ruby off Rails---rack, sinatra and sequel
Presentation of JSConf.eu
Presentation of JSConf.eu
OWB11gR2 - Extending ETL
OWB11gR2 - Extending ETL
SINATRA + HAML + TWITTER
SINATRA + HAML + TWITTER
Cape Cod Web Technology Meetup - 2
Cape Cod Web Technology Meetup - 2
Couchdb: No SQL? No driver? No problem
Couchdb: No SQL? No driver? No problem
Deploy Rails Application by Capistrano
Deploy Rails Application by Capistrano
Grails Introduction - IJTC 2007
Grails Introduction - IJTC 2007
Get Soaked - An In Depth Look At PHP Streams
Get Soaked - An In Depth Look At PHP Streams
Quick trip around the Cosmos - Things every astronaut supposed to know
Quick trip around the Cosmos - Things every astronaut supposed to know
Kürzlich hochgeladen
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Andrey Devyatkin
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
The Digital Insurer
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Principled Technologies
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
Boston Institute of Analytics
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
apidays
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Khem
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
SynarionITSolutions
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
The Digital Insurer
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Kürzlich hochgeladen
(20)
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Intro to CouchDB
1.
Intro to CouchDB
Ben Aldred http://geekmade.co.uk @benaldred
2.
3.
4.
Apache (so it
must be good, right?)
5.
Document orientated Database
6.
CouchDB aims to
solve problems
7.
Scaling
8.
Storing Data
9.
How?
10.
CouchDB Scales just
like rails!
11.
Non-locking Multiversion concurrency
control (MVCC)
12.
Replication
13.
New way to
model data
14.
Case Study: Invoices
15.
JSON {
"_id":"hello-world", "_rev":"AE19EBC7654", "title":"Hello World", "body":"content...", "date":"2009/12/25 15:52:20" }
16.
JSON {
"_id":"hello-world", "_rev":"AE19EBC7654", "title":"Hello World", "body":"content...", "date":"2009/12/25 15:52:20" }
17.
JSON {
"_id":"hello-world", "_rev":"AE19EBC7654", "title":"Hello World", "body":"content...", "date":"2009/12/25 15:52:20" }
18.
HTTP REST API
Create: PUT /:db Read: GET /:db/:docid Update: PUT /:db/:docid Delete: DELETE /:db/:docid
19.
Views
20.
Map function(doc) {
if(doc.date && doc.title) { emit(doc.date, doc.title); } } key | value ------------------------------------- "2009/12/25 15:52:20" | "Hello World"
21.
Query the View
http://localhost:5984/mydb/_design/post/_view/foo
22.
Query the View
http://localhost:5984/mydb/_design/post/_view/foo
23.
Demo
24.
When to use
CouchDB
25.
When you need
to scale
26.
When availibility is
more important than consistency
27.
When not to
use it
28.
You want to
leaverage the power of an ORM
29.
CouchDB + Ruby
30.
CouchRest
31.
Core couch =
CouchRest.new("http://127.0.0.1:5984") db = couch.database!('NWRUG') db.save_doc({ 'title' => 'Intro to CouchDB', 'speaker' => 'Ben Aldred', 'location' => 'BBC', 'tags' => ['couchdb', 'ruby'] })
32.
More class Presentation
< CouchRest::ExtendedDocument include ::CouchRest::Validation property :title property :speaker property :location validates_present :title end
33.
More Presentation.first Presentation.all
Presentation.by_title(:key => 'Ben Aldred') Presentation.get('intro_to_couchdb')
34.
More property :questions,
:cast_as => ['Question'] property :speaker, :cast_as => 'Person' property :started_at, :cast_as => 'Time'
35.
More view_by :started_at,
:descending => true view_by :speaker, :title
36.
More view_by :name,
:map => "function(doc) { if(doc.date && doc.title) { emit(doc.date, doc.title); } }"
37.
Loads More but
I have not got time
38.
39.
http://github.com/jchris/couchrest
40.
http://couch.io
41.
http://labs.mudynamics.com/wp-content/uploads/2009/04/icouch.html
42.
http://geekmade.co.uk
Jetzt herunterladen