SlideShare uma empresa Scribd logo
1 de 50
Baixar para ler offline
Alternative Databases
         Scott MacVicar
         php|tek 2009




Wednesday, 27 May 2009
Who are you?




Wednesday, 27 May 2009
History Lesson




Wednesday, 27 May 2009
First Data
         Storage




Wednesday, 27 May 2009
Relational
                         Databases FTW!




         Relational Database is Born
Wednesday, 27 May 2009
Parts of a RDBMS?
                          Maths        SQL

                         Relation      Table

                         Derived
                                     Result Set
                         Relation

                          Tuple        Row

                         Attribute    Column

                         Domain        Type
Wednesday, 27 May 2009
SQL Purpose


              Retrieval
              Manipulation
              Transactions




Wednesday, 27 May 2009
SQL Fails


              Complex Specification
              Join Fails
              Where clause




Wednesday, 27 May 2009
RDBMS through the Ages




Wednesday, 27 May 2009
RDBMs suck

              Adding fields is hard
              Complex
              Copying / Backup database
              Performance




Wednesday, 27 May 2009
Scaling?
                     Master     Master     Master
                    Database   Database   Database




                         App    App         App




Wednesday, 27 May 2009
Scaling?
                     Slave      Master     Slave
                    Database   Database   Database




                         App    App         App




Wednesday, 27 May 2009
“Write consistency is the reason RDBMS are
                     imploding under their own weight.”




Wednesday, 27 May 2009
Why do we use a RDBMs?




Wednesday, 27 May 2009
RDBMS Hangups




Wednesday, 27 May 2009
Save     See




                         Secure   Share


Wednesday, 27 May 2009
Memcache + BerkleyDB =
                  MemcacheDB



Wednesday, 27 May 2009
MemcacheDB


              Memcache isn’t persistent :(
              Memcache dependency




Wednesday, 27 May 2009
MemcacheDB

              Simple Protocol
              Tried and tested DB
              Transactions
              Replication




Wednesday, 27 May 2009
Using MemcacheDB




Wednesday, 27 May 2009
MemcacheDB

                         Save     ✔


                          See     ✔


                         Secure   ✖


                         Share    ✔



Wednesday, 27 May 2009
Tokyo Cabinet

              Collection of types
              Created for mixi.jp (Facebook of Japan)
              Common API
              New in PHP6, maybe PHP 5.3.1




Wednesday, 27 May 2009
Tokyo Hash Database


              Constant time for most operations
              Second Hash for collisions
              Key values stored in a bucket array




Wednesday, 27 May 2009
Buckets!


                         Key   Value
                         Key   Value
                         Key   Value
                         Key   Value
                         Key   Value
                         Key   Value

Wednesday, 27 May 2009
Tokyo Cabinet Hash




Wednesday, 27 May 2009
B+ Tree


              Ordered Access
              Multiple Keys
              Cursor




Wednesday, 27 May 2009
Fixed-Length


              Access by numeric key
              No keys stored
              Fast




Wednesday, 27 May 2009
Fixed-Length
  0
            value        value   value   value   value   value   value
  8
            value        value   value   value   value   value   value
16
            value        value   value   value   value   value   value
24
            value        value   value   value   value   value   value
32
            value        value   value   value   value   value   value
40

Wednesday, 27 May 2009
Table Database

              Schema-less
              Named Attributes
              Indexes
              Queries




Wednesday, 27 May 2009
Table Database


          Primary Key    name value name value name value

          Primary Key    name value name value name value

          Primary Key    name value name value name value




Wednesday, 27 May 2009
Tokyo Tyrant


              Network wrapper
              Speaks Memcache / HTTP




Wednesday, 27 May 2009
TokyoCabinet

                         Save     ✔


                          See     ✔


                         Secure   ✔


                         Share    ✖



Wednesday, 27 May 2009
CouchDB


              REST
              JavaScript
              Erlang




Wednesday, 27 May 2009
CouchDB

              Document Database
              Replication
              Map Reduce
              No Indexes




Wednesday, 27 May 2009
Database Access

              GET /_all_dbs
              PUT /somedatabase/
              DELETE /somedatabase/
              GET /somedatabase/




Wednesday, 27 May 2009
Document Access

              GET /somedatabase/_all_docs
              PUT /somedatabase/some_docid
              POST /somedatabase/
              DELETE /somedatabase/some_docid
              GET /somedatabase/some_docid




Wednesday, 27 May 2009
CouchDB Document




Wednesday, 27 May 2009
CouchDB Document




Wednesday, 27 May 2009
CouchDB Views




Wednesday, 27 May 2009
CouchDB Scaling


              Caching
              Clustering
              Layering




Wednesday, 27 May 2009
CouchDB Wrappers


              PHPillow - http://short.ie/buiqhu
              Phly_Couch - http://short.ie/pa47gp




Wednesday, 27 May 2009
CouchDB

                         Save     ✔


                          See     ✔


                         Secure   ✔


                         Share    ✔



Wednesday, 27 May 2009
Amazon SimpleDB



                         XML                 Rest


                               Application



Wednesday, 27 May 2009
Amazon SimpleDB


              Amazon Web Service
              Cloudy
              Rest / XML




Wednesday, 27 May 2009
SimpleDB


              1 billion attributes
              5 seconds execution
              1024 byte values




Wednesday, 27 May 2009
SimpleDB Set




Wednesday, 27 May 2009
SimpleDB Query




Wednesday, 27 May 2009
SimpleDB API


              Officially Amazon API - http://short.ie/apx6c3
              Tarzan-AWS - http://short.ie/54rucx




Wednesday, 27 May 2009
SimpleDB

                         Save     ✔


                          See     ✔


                         Secure   ✔


                         Share    ✔



Wednesday, 27 May 2009
Questions?

              http://talks.macvicar.net
              http://couchdb.apache.org
              http://aws.amazon.com
              http://memcachedb.org




Wednesday, 27 May 2009

Mais conteúdo relacionado

Semelhante a Alternative Databases

Caching, Memcached And Rails
Caching, Memcached And RailsCaching, Memcached And Rails
Caching, Memcached And Railsguestac752c
 
Object Oriented Css For High Performance Websites And Applications
Object Oriented Css For High Performance Websites And ApplicationsObject Oriented Css For High Performance Websites And Applications
Object Oriented Css For High Performance Websites And ApplicationsPerconaPerformance
 
Google Sites Lightning Talk
Google  Sites  Lightning  TalkGoogle  Sites  Lightning  Talk
Google Sites Lightning TalkColin Charles
 
intl me this, intl me that
intl me this, intl me thatintl me this, intl me that
intl me this, intl me thatAndrei Zmievski
 
Apple Store, London 2009 02 25
Apple Store, London 2009 02 25Apple Store, London 2009 02 25
Apple Store, London 2009 02 25ProjectWizards
 
Adobe Dreamweaver Developer Toolbox
Adobe Dreamweaver Developer ToolboxAdobe Dreamweaver Developer Toolbox
Adobe Dreamweaver Developer Toolboxkeiso watanabe
 
CLOUD LOCK-IN AND THE MYTH OF OPEN APIS at Structure 2012
CLOUD LOCK-IN AND THE MYTH OF OPEN APIS at Structure 2012CLOUD LOCK-IN AND THE MYTH OF OPEN APIS at Structure 2012
CLOUD LOCK-IN AND THE MYTH OF OPEN APIS at Structure 2012Gigaom
 
Scaling with Postgres
Scaling with PostgresScaling with Postgres
Scaling with Postgreselliando dias
 
Code Quality in Ruby and Java
Code Quality in Ruby and JavaCode Quality in Ruby and Java
Code Quality in Ruby and JavaSteve Hayes
 
Geek Meet: Web Typography and sIFR 3
Geek Meet: Web Typography and sIFR 3Geek Meet: Web Typography and sIFR 3
Geek Meet: Web Typography and sIFR 3Mark Wubben
 
BuddyPress - An Introduction
BuddyPress - An IntroductionBuddyPress - An Introduction
BuddyPress - An Introductionapeatling
 
Basic Wicket and Scala
Basic Wicket and ScalaBasic Wicket and Scala
Basic Wicket and Scalastuq
 
Howdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and ExceptableHowdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and ExceptableCommand Prompt., Inc
 
CouchDB to the Edge ApacheCon EU
CouchDB to the  Edge ApacheCon EUCouchDB to the  Edge ApacheCon EU
CouchDB to the Edge ApacheCon EUChris Anderson
 

Semelhante a Alternative Databases (18)

PHP 5.3 + Windows
PHP 5.3 + WindowsPHP 5.3 + Windows
PHP 5.3 + Windows
 
Caching, Memcached And Rails
Caching, Memcached And RailsCaching, Memcached And Rails
Caching, Memcached And Rails
 
Object Oriented Css For High Performance Websites And Applications
Object Oriented Css For High Performance Websites And ApplicationsObject Oriented Css For High Performance Websites And Applications
Object Oriented Css For High Performance Websites And Applications
 
Google Sites Lightning Talk
Google  Sites  Lightning  TalkGoogle  Sites  Lightning  Talk
Google Sites Lightning Talk
 
Orchestra
OrchestraOrchestra
Orchestra
 
intl me this, intl me that
intl me this, intl me thatintl me this, intl me that
intl me this, intl me that
 
Apple Store, London 2009 02 25
Apple Store, London 2009 02 25Apple Store, London 2009 02 25
Apple Store, London 2009 02 25
 
Adobe Dreamweaver Developer Toolbox
Adobe Dreamweaver Developer ToolboxAdobe Dreamweaver Developer Toolbox
Adobe Dreamweaver Developer Toolbox
 
CLOUD LOCK-IN AND THE MYTH OF OPEN APIS at Structure 2012
CLOUD LOCK-IN AND THE MYTH OF OPEN APIS at Structure 2012CLOUD LOCK-IN AND THE MYTH OF OPEN APIS at Structure 2012
CLOUD LOCK-IN AND THE MYTH OF OPEN APIS at Structure 2012
 
Scaling with Postgres
Scaling with PostgresScaling with Postgres
Scaling with Postgres
 
Code Quality in Ruby and Java
Code Quality in Ruby and JavaCode Quality in Ruby and Java
Code Quality in Ruby and Java
 
Geek Meet: Web Typography and sIFR 3
Geek Meet: Web Typography and sIFR 3Geek Meet: Web Typography and sIFR 3
Geek Meet: Web Typography and sIFR 3
 
Generic Editor
Generic EditorGeneric Editor
Generic Editor
 
BuddyPress - An Introduction
BuddyPress - An IntroductionBuddyPress - An Introduction
BuddyPress - An Introduction
 
Basic Wicket and Scala
Basic Wicket and ScalaBasic Wicket and Scala
Basic Wicket and Scala
 
Howdah
HowdahHowdah
Howdah
 
Howdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and ExceptableHowdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
 
CouchDB to the Edge ApacheCon EU
CouchDB to the  Edge ApacheCon EUCouchDB to the  Edge ApacheCon EU
CouchDB to the Edge ApacheCon EU
 

Último

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 

Último (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

Alternative Databases

  • 1. Alternative Databases Scott MacVicar php|tek 2009 Wednesday, 27 May 2009
  • 4. First Data Storage Wednesday, 27 May 2009
  • 5. Relational Databases FTW! Relational Database is Born Wednesday, 27 May 2009
  • 6. Parts of a RDBMS? Maths SQL Relation Table Derived Result Set Relation Tuple Row Attribute Column Domain Type Wednesday, 27 May 2009
  • 7. SQL Purpose Retrieval Manipulation Transactions Wednesday, 27 May 2009
  • 8. SQL Fails Complex Specification Join Fails Where clause Wednesday, 27 May 2009
  • 9. RDBMS through the Ages Wednesday, 27 May 2009
  • 10. RDBMs suck Adding fields is hard Complex Copying / Backup database Performance Wednesday, 27 May 2009
  • 11. Scaling? Master Master Master Database Database Database App App App Wednesday, 27 May 2009
  • 12. Scaling? Slave Master Slave Database Database Database App App App Wednesday, 27 May 2009
  • 13. “Write consistency is the reason RDBMS are imploding under their own weight.” Wednesday, 27 May 2009
  • 14. Why do we use a RDBMs? Wednesday, 27 May 2009
  • 16. Save See Secure Share Wednesday, 27 May 2009
  • 17. Memcache + BerkleyDB = MemcacheDB Wednesday, 27 May 2009
  • 18. MemcacheDB Memcache isn’t persistent :( Memcache dependency Wednesday, 27 May 2009
  • 19. MemcacheDB Simple Protocol Tried and tested DB Transactions Replication Wednesday, 27 May 2009
  • 21. MemcacheDB Save ✔ See ✔ Secure ✖ Share ✔ Wednesday, 27 May 2009
  • 22. Tokyo Cabinet Collection of types Created for mixi.jp (Facebook of Japan) Common API New in PHP6, maybe PHP 5.3.1 Wednesday, 27 May 2009
  • 23. Tokyo Hash Database Constant time for most operations Second Hash for collisions Key values stored in a bucket array Wednesday, 27 May 2009
  • 24. Buckets! Key Value Key Value Key Value Key Value Key Value Key Value Wednesday, 27 May 2009
  • 26. B+ Tree Ordered Access Multiple Keys Cursor Wednesday, 27 May 2009
  • 27. Fixed-Length Access by numeric key No keys stored Fast Wednesday, 27 May 2009
  • 28. Fixed-Length 0 value value value value value value value 8 value value value value value value value 16 value value value value value value value 24 value value value value value value value 32 value value value value value value value 40 Wednesday, 27 May 2009
  • 29. Table Database Schema-less Named Attributes Indexes Queries Wednesday, 27 May 2009
  • 30. Table Database Primary Key name value name value name value Primary Key name value name value name value Primary Key name value name value name value Wednesday, 27 May 2009
  • 31. Tokyo Tyrant Network wrapper Speaks Memcache / HTTP Wednesday, 27 May 2009
  • 32. TokyoCabinet Save ✔ See ✔ Secure ✔ Share ✖ Wednesday, 27 May 2009
  • 33. CouchDB REST JavaScript Erlang Wednesday, 27 May 2009
  • 34. CouchDB Document Database Replication Map Reduce No Indexes Wednesday, 27 May 2009
  • 35. Database Access GET /_all_dbs PUT /somedatabase/ DELETE /somedatabase/ GET /somedatabase/ Wednesday, 27 May 2009
  • 36. Document Access GET /somedatabase/_all_docs PUT /somedatabase/some_docid POST /somedatabase/ DELETE /somedatabase/some_docid GET /somedatabase/some_docid Wednesday, 27 May 2009
  • 40. CouchDB Scaling Caching Clustering Layering Wednesday, 27 May 2009
  • 41. CouchDB Wrappers PHPillow - http://short.ie/buiqhu Phly_Couch - http://short.ie/pa47gp Wednesday, 27 May 2009
  • 42. CouchDB Save ✔ See ✔ Secure ✔ Share ✔ Wednesday, 27 May 2009
  • 43. Amazon SimpleDB XML Rest Application Wednesday, 27 May 2009
  • 44. Amazon SimpleDB Amazon Web Service Cloudy Rest / XML Wednesday, 27 May 2009
  • 45. SimpleDB 1 billion attributes 5 seconds execution 1024 byte values Wednesday, 27 May 2009
  • 48. SimpleDB API Officially Amazon API - http://short.ie/apx6c3 Tarzan-AWS - http://short.ie/54rucx Wednesday, 27 May 2009
  • 49. SimpleDB Save ✔ See ✔ Secure ✔ Share ✔ Wednesday, 27 May 2009
  • 50. Questions? http://talks.macvicar.net http://couchdb.apache.org http://aws.amazon.com http://memcachedb.org Wednesday, 27 May 2009