SlideShare uma empresa Scribd logo
1 de 14
Baixar para ler offline
Cybozu Labs, Inc.
  Kazuho Oku
 Oracle (RAC)                      

    force.com (Salesforce)
    GAE DataStore
    Kumofs, hBase, etc.

              Q. Oracle       ?


Nov 30 2009                                2
PHP RDBMS                  

        RDBMS
    OSS RDBMS                                           ?
         MySQL Cluster?
         Spider Storage Engine?
         Oracle OSS          ?
                                  KVS       RDBMS

         Salesforce   GAE DataStore         SQL-like

Nov 30 2009                                                  3
MySQL (InnoDB)                  

    SELECT
                   max. 40k QPS
               memcached   1/5

    
                     OS
                   KVS

    SQL                      ACID
    
    
Nov 30 2009                              4
 ACID
    
         
    
         
               
         
               

                  
Nov 30 2009            5
(SNS           )

    
    
         
    
          :
              (JOIN          )
    
                                 
Nov 30 2009                                6
Incline & Pacific                

    
         
         
         (eventual) consistency
    
         SPOF          Proxy-less   Daemon-less


              OSS RDBMS
Nov 30 2009                                        7
Incline –              

                 RDB Sharding
                  shard
                                    




                  
             
           


                        
               
           



                                                
              Incline               
Nov 30 2009                                             8
Incline –     

                      DDL

         
         DDL
                            shard

    ACID
    


Nov 30 2009                          9
Incline –                    (1)

                           JOIN

               uid:1-2000
              uid:2001-4000
              uid:4001-6000

                  tweet
                      tweet
                        tweet

               following
                  following
                     following

              followed_by
                followed_by
                followed_by
       ...
                timeline
                   timeline
                     timeline

                        queue
                      queue
                      queue



    when uid:123 tweets, write only to his tweet table. Incline updates
    other tables automatically

Nov 30 2009                                                                                     10
Incline –                     (2)

                                                                    

               uid:1-2000
               uid:2001-4000
               uid:4001-6000

                  tweet
                       tweet
                      tweet

                following
                  following
                   following

              followed_by
                 followed_by
                followed_by
      ...
                timeline
                    timeline
                   timeline

                        queue
                       queue
                     queue




    when uid:2431 starts following uid:940 only write to his following table

Nov 30 2009                                                                                     11
Pacific –              

    
                         RDBMS

    
         
         
                  < 10

    SPOF
         
Nov 30 2009                       12
Incline & Pacific       

    Incline
         
         MySQL PostgreSQL
         Windows
    Pacific
         
    see developer.cybozu.co.jp/kazuho


Nov 30 2009                              13
 
         Incline Pacific
         DBIx::ShardManager
                              




Nov 30 2009                            14

Mais conteúdo relacionado

Destaque

Cijeli brojevi vježba
Cijeli brojevi vježbaCijeli brojevi vježba
Cijeli brojevi vježba
Gavranica
 
Aids: Then and Now Webquest
Aids: Then and Now WebquestAids: Then and Now Webquest
Aids: Then and Now Webquest
echavey
 
Friend Is Like A Bridge
Friend Is Like A BridgeFriend Is Like A Bridge
Friend Is Like A Bridge
Luis Lisjak
 
Brand>ing You - Adrian Mironescu ( Idegrafo ) mart'10, GeekMeet Iasi
Brand>ing You -  Adrian Mironescu ( Idegrafo ) mart'10, GeekMeet IasiBrand>ing You -  Adrian Mironescu ( Idegrafo ) mart'10, GeekMeet Iasi
Brand>ing You - Adrian Mironescu ( Idegrafo ) mart'10, GeekMeet Iasi
Adrian Mironescu
 
会社案内20080705md
会社案内20080705md会社案内20080705md
会社案内20080705md
meltingdots
 
Technology for tots
Technology for totsTechnology for tots
Technology for tots
Jennifer Orr
 
Weblin説明資料20080826
Weblin説明資料20080826Weblin説明資料20080826
Weblin説明資料20080826
meltingdots
 

Destaque (20)

Cijeli brojevi vježba
Cijeli brojevi vježbaCijeli brojevi vježba
Cijeli brojevi vježba
 
R&D activites on Learning Analytics
R&D activites on Learning AnalyticsR&D activites on Learning Analytics
R&D activites on Learning Analytics
 
تفريغ دورة تسويق الافكار
تفريغ دورة تسويق الافكارتفريغ دورة تسويق الافكار
تفريغ دورة تسويق الافكار
 
Aids: Then and Now Webquest
Aids: Then and Now WebquestAids: Then and Now Webquest
Aids: Then and Now Webquest
 
Dales Garden 5 10 08 Presentation4
Dales Garden 5 10 08 Presentation4Dales Garden 5 10 08 Presentation4
Dales Garden 5 10 08 Presentation4
 
h
hh
h
 
Friend Is Like A Bridge
Friend Is Like A BridgeFriend Is Like A Bridge
Friend Is Like A Bridge
 
Brand>ing You - Adrian Mironescu ( Idegrafo ) mart'10, GeekMeet Iasi
Brand>ing You -  Adrian Mironescu ( Idegrafo ) mart'10, GeekMeet IasiBrand>ing You -  Adrian Mironescu ( Idegrafo ) mart'10, GeekMeet Iasi
Brand>ing You - Adrian Mironescu ( Idegrafo ) mart'10, GeekMeet Iasi
 
From Learning Networks to Digital Ecosystems
From Learning Networks to Digital EcosystemsFrom Learning Networks to Digital Ecosystems
From Learning Networks to Digital Ecosystems
 
Phoenix Aps Energy Efficiency And Renewables Presentation
Phoenix   Aps Energy Efficiency And Renewables PresentationPhoenix   Aps Energy Efficiency And Renewables Presentation
Phoenix Aps Energy Efficiency And Renewables Presentation
 
M02 un01 p01
M02 un01 p01M02 un01 p01
M02 un01 p01
 
19 Sx.I.I.Mb
19 Sx.I.I.Mb19 Sx.I.I.Mb
19 Sx.I.I.Mb
 
Project Bid
Project BidProject Bid
Project Bid
 
会社案内20080705md
会社案内20080705md会社案内20080705md
会社案内20080705md
 
Technology for tots
Technology for totsTechnology for tots
Technology for tots
 
Weblin説明資料20080826
Weblin説明資料20080826Weblin説明資料20080826
Weblin説明資料20080826
 
Wine Of Austria
Wine Of AustriaWine Of Austria
Wine Of Austria
 
Car Basquetbol
Car BasquetbolCar Basquetbol
Car Basquetbol
 
The Dispensary Creds
The Dispensary CredsThe Dispensary Creds
The Dispensary Creds
 
Phoenix Icf Energy Efficiency Manual Presentation
Phoenix   Icf Energy Efficiency Manual PresentationPhoenix   Icf Energy Efficiency Manual Presentation
Phoenix Icf Energy Efficiency Manual Presentation
 

Mais de Kazuho Oku

Programming TCP for responsiveness
Programming TCP for responsivenessProgramming TCP for responsiveness
Programming TCP for responsiveness
Kazuho Oku
 
ウェブを速くするためにDeNAがやっていること - HTTP/2と、さらにその先
ウェブを速くするためにDeNAがやっていること - HTTP/2と、さらにその先ウェブを速くするためにDeNAがやっていること - HTTP/2と、さらにその先
ウェブを速くするためにDeNAがやっていること - HTTP/2と、さらにその先
Kazuho Oku
 

Mais de Kazuho Oku (20)

HTTP/2で 速くなるとき ならないとき
HTTP/2で 速くなるとき ならないときHTTP/2で 速くなるとき ならないとき
HTTP/2で 速くなるとき ならないとき
 
QUIC標準化動向 〜2017/7
QUIC標準化動向 〜2017/7QUIC標準化動向 〜2017/7
QUIC標準化動向 〜2017/7
 
HTTP/2の課題と将来
HTTP/2の課題と将来HTTP/2の課題と将来
HTTP/2の課題と将来
 
TLS 1.3 と 0-RTT のこわ〜い話
TLS 1.3 と 0-RTT のこわ〜い話TLS 1.3 と 0-RTT のこわ〜い話
TLS 1.3 と 0-RTT のこわ〜い話
 
Reorganizing Website Architecture for HTTP/2 and Beyond
Reorganizing Website Architecture for HTTP/2 and BeyondReorganizing Website Architecture for HTTP/2 and Beyond
Reorganizing Website Architecture for HTTP/2 and Beyond
 
Recent Advances in HTTP, controlling them using ruby
Recent Advances in HTTP, controlling them using rubyRecent Advances in HTTP, controlling them using ruby
Recent Advances in HTTP, controlling them using ruby
 
Programming TCP for responsiveness
Programming TCP for responsivenessProgramming TCP for responsiveness
Programming TCP for responsiveness
 
Programming TCP for responsiveness
Programming TCP for responsivenessProgramming TCP for responsiveness
Programming TCP for responsiveness
 
Developing the fastest HTTP/2 server
Developing the fastest HTTP/2 serverDeveloping the fastest HTTP/2 server
Developing the fastest HTTP/2 server
 
TLS & LURK @ IETF 95
TLS & LURK @ IETF 95TLS & LURK @ IETF 95
TLS & LURK @ IETF 95
 
HTTPとサーバ技術の最新動向
HTTPとサーバ技術の最新動向HTTPとサーバ技術の最新動向
HTTPとサーバ技術の最新動向
 
ウェブを速くするためにDeNAがやっていること - HTTP/2と、さらにその先
ウェブを速くするためにDeNAがやっていること - HTTP/2と、さらにその先ウェブを速くするためにDeNAがやっていること - HTTP/2と、さらにその先
ウェブを速くするためにDeNAがやっていること - HTTP/2と、さらにその先
 
Cache aware-server-push in H2O version 1.5
Cache aware-server-push in H2O version 1.5Cache aware-server-push in H2O version 1.5
Cache aware-server-push in H2O version 1.5
 
HTTP/2時代のウェブサイト設計
HTTP/2時代のウェブサイト設計HTTP/2時代のウェブサイト設計
HTTP/2時代のウェブサイト設計
 
H2O - making the Web faster
H2O - making the Web fasterH2O - making the Web faster
H2O - making the Web faster
 
H2O - making HTTP better
H2O - making HTTP betterH2O - making HTTP better
H2O - making HTTP better
 
H2O - the optimized HTTP server
H2O - the optimized HTTP serverH2O - the optimized HTTP server
H2O - the optimized HTTP server
 
JSON SQL Injection and the Lessons Learned
JSON SQL Injection and the Lessons LearnedJSON SQL Injection and the Lessons Learned
JSON SQL Injection and the Lessons Learned
 
JSX 速さの秘密 - 高速なJavaScriptを書く方法
JSX 速さの秘密 - 高速なJavaScriptを書く方法JSX 速さの秘密 - 高速なJavaScriptを書く方法
JSX 速さの秘密 - 高速なJavaScriptを書く方法
 
JSX の現在と未来 - Oct 26 2013
JSX の現在と未来 - Oct 26 2013JSX の現在と未来 - Oct 26 2013
JSX の現在と未来 - Oct 26 2013
 

Último

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+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@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

高度に進化した分散データストアについて

  • 1. Cybozu Labs, Inc. Kazuho Oku
  • 2.  Oracle (RAC)  force.com (Salesforce)  GAE DataStore  Kumofs, hBase, etc. Q. Oracle ? Nov 30 2009 2
  • 3. PHP RDBMS   RDBMS  OSS RDBMS ?  MySQL Cluster?  Spider Storage Engine?  Oracle OSS ?   KVS RDBMS  Salesforce GAE DataStore SQL-like Nov 30 2009 3
  • 4. MySQL (InnoDB)  SELECT   max. 40k QPS  memcached 1/5     OS   KVS  SQL ACID     Nov 30 2009 4
  • 5.  ACID                 Nov 30 2009 5
  • 6. (SNS )           :   (JOIN )     Nov 30 2009 6
  • 7. Incline & Pacific        (eventual) consistency    SPOF Proxy-less Daemon-less OSS RDBMS Nov 30 2009 7
  • 8. Incline –   RDB Sharding   shard Incline Nov 30 2009 8
  • 9. Incline –   DDL    DDL   shard  ACID   Nov 30 2009 9
  • 10. Incline – (1)   JOIN uid:1-2000 uid:2001-4000 uid:4001-6000 tweet tweet tweet following following following followed_by followed_by followed_by ... timeline timeline timeline queue queue queue when uid:123 tweets, write only to his tweet table. Incline updates other tables automatically Nov 30 2009 10
  • 11. Incline – (2)   uid:1-2000 uid:2001-4000 uid:4001-6000 tweet tweet tweet following following following followed_by followed_by followed_by ... timeline timeline timeline queue queue queue when uid:2431 starts following uid:940 only write to his following table Nov 30 2009 11
  • 12. Pacific –     RDBMS         < 10  SPOF   Nov 30 2009 12
  • 13. Incline & Pacific  Incline    MySQL PostgreSQL  Windows  Pacific    see developer.cybozu.co.jp/kazuho Nov 30 2009 13
  • 14.    Incline Pacific  DBIx::ShardManager   Nov 30 2009 14