SlideShare ist ein Scribd-Unternehmen logo
1 von 6
Downloaden Sie, um offline zu lesen
Sequence(create/write)
                   Castoro::                   Castoro::           Castoro::
Rails App           Client                     Gateway               Peer
                                 <<UDP>>
        Basket new
                               Query peers
                                 <<UDP>>
                                 [Peers]
                                 <<TCP>>
                                  CREATE
                                 <<TCP>>
                              “Basket path”
                               <<NFS/HTTP>>

                                 Write/PUT
                                 <<TCP>>
           Close
                                 Finalize              <<Multicast>>
                                                          Insert
                                                             replication
 RICOH, RICOH IT SOLUTIONS CO.,LTD. / RubyKaigi 2010                       1
Benchmarks - create

             condition                                speed



                                             2 ms (from Gateway)
   Some peers writeable                     + 100 ms (from Peer)
                                               WORST: 4000 ms


     No peers writeable                      2 ms (from Gateway)

RICOH, RICOH IT SOLUTIONS CO.,LTD. / RubyKaigi 2010                2
Sequence(find/read)
                  Castoro::                    Castoro::              Castoro::
Rails App          Client                      Gateway                  Peer
                                                         <<proc>>
                                <<UDP>>                Cache search
        Basket find
                              Query Basket

                                <<UDP>>
                           [paths]:cache hits
                                                          <<Multicast>>
                                                       Query Basket: missed
                                   <<UDP>>
                                   [paths]                <<Multicast>>
          [paths]                                            Insert
                               <<NFS/HTTP>>

                                 Read/GET


 RICOH, RICOH IT SOLUTIONS CO.,LTD. / RubyKaigi 2010                          3
Benchmarks - find

      condition                        path              speed

                   Client >
  Gateway cache:
                   Gateway >                             2 ms
       hit
                     Client
                   Client >
  Gateway cache:
                   Gateway >                            120 ms
       miss
                 Peer > Client
                   Client >
                                                       3,000 ms
    No baskets     Gateway >
                                                      (Timed out)
                   Peer > x
RICOH, RICOH IT SOLUTIONS CO.,LTD. / RubyKaigi 2010                 4
Sequence(delete)
                   Castoro::                   Castoro::              Castoro::
Rails App           Client                     Gateway                  Peer
                                                         <<proc>>
                                <<UDP>>                Cache search
      Basket delete
                              Query Basket

                                <<UDP>>
                           [paths]:cache hits
                                                          <<Multicast>>
                                                       Query Basket: missed
                                   <<UDP>>
                                   [paths]
                                 <<TCP>>
                                 Delete
              OK                                          <<Multicast>>
                                                              Drop
                                                         replication(drop)

 RICOH, RICOH IT SOLUTIONS CO.,LTD. / RubyKaigi 2010                          5
Benchmarks - delete

             condition                                   speed


                                                  2 ms (find)
     Gateway cache: hit
                                               + 100 ms (delete)

                                                 120 ms (find)
    Gateway cache: miss
                                               + 100 ms (delete)

                                                       3,000 ms
            No baskets
                                                      (Timed out)
RICOH, RICOH IT SOLUTIONS CO.,LTD. / RubyKaigi 2010                 6

Weitere ähnliche Inhalte

Ähnlich wie Castoro sequense

Deploying JRuby Web Applications
Deploying JRuby Web ApplicationsDeploying JRuby Web Applications
Deploying JRuby Web Applications
Joe Kutner
 

Ähnlich wie Castoro sequense (20)

Castoro / RubyKaigi2010
Castoro / RubyKaigi2010Castoro / RubyKaigi2010
Castoro / RubyKaigi2010
 
uerj201212
uerj201212uerj201212
uerj201212
 
tdc2012
tdc2012tdc2012
tdc2012
 
Otimizando seu projeto Rails
Otimizando seu projeto RailsOtimizando seu projeto Rails
Otimizando seu projeto Rails
 
commit => #GitHub => #CircleCI => #Docker => #Kubernetes #AWS cluster
commit => #GitHub => #CircleCI => #Docker => #Kubernetes #AWS clustercommit => #GitHub => #CircleCI => #Docker => #Kubernetes #AWS cluster
commit => #GitHub => #CircleCI => #Docker => #Kubernetes #AWS cluster
 
Toster - Understanding the Rails Web Model and Scalability Options
Toster - Understanding the Rails Web Model and Scalability OptionsToster - Understanding the Rails Web Model and Scalability Options
Toster - Understanding the Rails Web Model and Scalability Options
 
Understanding the Rails web model and scalability options
Understanding the Rails web model and scalability optionsUnderstanding the Rails web model and scalability options
Understanding the Rails web model and scalability options
 
HTTP and 5G (fixed1)
HTTP and 5G (fixed1)HTTP and 5G (fixed1)
HTTP and 5G (fixed1)
 
Non-blocking I/O, Event loops and node.js
Non-blocking I/O, Event loops and node.jsNon-blocking I/O, Event loops and node.js
Non-blocking I/O, Event loops and node.js
 
VISUG - Approaches for application request throttling
VISUG - Approaches for application request throttlingVISUG - Approaches for application request throttling
VISUG - Approaches for application request throttling
 
Bandwidth control approach - Cisco vs Mikrotik on Multitenancy
Bandwidth control approach - Cisco vs Mikrotik on MultitenancyBandwidth control approach - Cisco vs Mikrotik on Multitenancy
Bandwidth control approach - Cisco vs Mikrotik on Multitenancy
 
Approaches to application request throttling
Approaches to application request throttlingApproaches to application request throttling
Approaches to application request throttling
 
비트코인 블록체인에 데이터 히치하이킹
비트코인 블록체인에 데이터 히치하이킹비트코인 블록체인에 데이터 히치하이킹
비트코인 블록체인에 데이터 히치하이킹
 
Deploying JRuby Web Applications
Deploying JRuby Web ApplicationsDeploying JRuby Web Applications
Deploying JRuby Web Applications
 
The HTML5 WebSocket API
The HTML5 WebSocket APIThe HTML5 WebSocket API
The HTML5 WebSocket API
 
web performance explained to network and infrastructure experts
web performance explained to network and infrastructure expertsweb performance explained to network and infrastructure experts
web performance explained to network and infrastructure experts
 
DRP for Big Data - Stream Processing Architectures
DRP for Big Data - Stream Processing ArchitecturesDRP for Big Data - Stream Processing Architectures
DRP for Big Data - Stream Processing Architectures
 
Fisl - Deployment
Fisl - DeploymentFisl - Deployment
Fisl - Deployment
 
DCSF 19 Online Feature Extraction and Event Generation for Computer-Animal In...
DCSF 19 Online Feature Extraction and Event Generation for Computer-Animal In...DCSF 19 Online Feature Extraction and Event Generation for Computer-Animal In...
DCSF 19 Online Feature Extraction and Event Generation for Computer-Animal In...
 
Ruby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.com
Ruby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.comRuby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.com
Ruby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.com
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
[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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

Castoro sequense

  • 1. Sequence(create/write) Castoro:: Castoro:: Castoro:: Rails App Client Gateway Peer <<UDP>> Basket new Query peers <<UDP>> [Peers] <<TCP>> CREATE <<TCP>> “Basket path” <<NFS/HTTP>> Write/PUT <<TCP>> Close Finalize <<Multicast>> Insert replication RICOH, RICOH IT SOLUTIONS CO.,LTD. / RubyKaigi 2010 1
  • 2. Benchmarks - create condition speed 2 ms (from Gateway) Some peers writeable + 100 ms (from Peer) WORST: 4000 ms No peers writeable 2 ms (from Gateway) RICOH, RICOH IT SOLUTIONS CO.,LTD. / RubyKaigi 2010 2
  • 3. Sequence(find/read) Castoro:: Castoro:: Castoro:: Rails App Client Gateway Peer <<proc>> <<UDP>> Cache search Basket find Query Basket <<UDP>> [paths]:cache hits <<Multicast>> Query Basket: missed <<UDP>> [paths] <<Multicast>> [paths] Insert <<NFS/HTTP>> Read/GET RICOH, RICOH IT SOLUTIONS CO.,LTD. / RubyKaigi 2010 3
  • 4. Benchmarks - find condition path speed Client > Gateway cache: Gateway > 2 ms hit Client Client > Gateway cache: Gateway > 120 ms miss Peer > Client Client > 3,000 ms No baskets Gateway > (Timed out) Peer > x RICOH, RICOH IT SOLUTIONS CO.,LTD. / RubyKaigi 2010 4
  • 5. Sequence(delete) Castoro:: Castoro:: Castoro:: Rails App Client Gateway Peer <<proc>> <<UDP>> Cache search Basket delete Query Basket <<UDP>> [paths]:cache hits <<Multicast>> Query Basket: missed <<UDP>> [paths] <<TCP>> Delete OK <<Multicast>> Drop replication(drop) RICOH, RICOH IT SOLUTIONS CO.,LTD. / RubyKaigi 2010 5
  • 6. Benchmarks - delete condition speed 2 ms (find) Gateway cache: hit + 100 ms (delete) 120 ms (find) Gateway cache: miss + 100 ms (delete) 3,000 ms No baskets (Timed out) RICOH, RICOH IT SOLUTIONS CO.,LTD. / RubyKaigi 2010 6