SlideShare une entreprise Scribd logo
1  sur  15
Télécharger pour lire hors ligne
Colony-dispatcher’s internal
Dispatcher Function: Selective Relay

                                                        Swift0



                                          http://swift0/v1.0/AUTH_test
                      dispatcher




http://dispatcher/swift0/v1.0/AUTH_test


                                                        Swift1



                                          http://swift1/v1.0/AUTH_test
Dispatcher Function: Selective Relay

                                                        Swift0



                                          http://swift0/v1.0/AUTH_test
                      dispatcher




http://dispatcher/swift1/v1.0/AUTH_test


                                                        Swift1



                                          http://swift1/v1.0/AUTH_test
Dispatcher Function: Selective Relay

                                                        Swift0



                                          http://swift0/v1.0/AUTH_test
                      dispatcher




http://dispatcher/merged/v1.0/AUTH_test


                                                        Swift1
     Merge the results of two or more
     swift systems.
                                          http://swift1/v1.0/AUTH_test
How to merge responses from
different Swift clusters
Retrieve Account Metadata in Merge mode

                                                     Merged
HEAD /merged/v1.0/AUTH_test                   sw0:     sw0:      sw0:
                                              Cont     Cont      Cont
   X-Account-Byte-Used: 1800(600 + 1200)
                                               0        1         2
   X-Account-Container-Count: 6 (3 +3)
   X-Account-Object-Count: 18 (6 + 12)        sw1:     sw1:      sw1:
                                              Cont     Cont      Cont
                                               0        1         2


                               Swift0                             Swift1
                 Cont      Cont      Cont                 Cont          Cont    Cont
                  0         1         2                    0             1       2

               swift0                                  swift1
               X-Account-Byte-Used: 600                X-Account-Byte-Used: 1200
               X-Account-Container-Count: 3            X-Account-Container-Count: 3
               X-Account-Object-Count: 6               X-Account-Object-Count: 12
List Containers in Merge mode

 Prefix to indicate the name of the swift system
 is given a container.                                       Merged
GET /merged/v1.0/AUTH_test
                                                      sw0:     sw0:     sw0:
 sw0:Cont0                                            Cont     Cont     Cont
 sw0:Cont1                                             0        1        2
 sw0:Cont2
                                                      sw1:     sw1:     sw1:
 sw1:Cont0
                                                      Cont     Cont     Cont
 sw1:Cont1
                                                       0        1        2
 sw1:Cont2


• Corresponds to the
  output format plain text,          Swift0                    Swift1
  json, the XML
                              Cont    Cont     Cont     Cont     Cont     Cont
• Corresponds to the
                               0       1        2        0        1        2
  parameter "marker"
List Objects in Merge mode

 Receive a container with a prefix, which returns
 a list of objects in the container specified on the           Merged
 swift system indicated by the prefix
                                                        sw0:     sw0:     sw0:
                                                        Cont     Cont     Cont
GET /merged/v1.0/AUTH_test/sw1:Cont2                     0        1        2
                                                        sw1:     sw1:     sw1:
                                                        Cont     Cont     Cont
                                                         0        1        2




                                      Swift0                     Swift1
                               Cont     Cont     Cont     Cont     Cont     Cont
                                0        1        2        0        1        2
Operate Container in Merge mode

 Receive a container with a prefix, on the swift
 system indicated by prefix, to manipulate the
                                                                 Merged
 container
                                                          sw0:     sw0:     sw0:
                                                          Cont     Cont     Cont
                                                           0        1        2
PUT /merged/v1.0/AUTH_test/sw1:Cont2
                                                          sw1:     sw1:     sw1:
DELETE /merged/v1.0/AUTH_test/sw1:Cont2                   Cont     Cont     Cont
HEAD /merged/v1.0/AUTH_test/sw1:Cont2                      0        1        2

POST /merged/v1.0/AUTH_test/sw1:Cont2


                                     Swift0                        Swift1
                              Cont     Cont        Cont     Cont     Cont     Cont
                               0        1           2        0        1        2
Operate Object in Merge mode

 Receive a container with a prefix, to manipulate
 the objects in the container specified on the swift          Merged
 system indicated by the prefix.
                                                       sw0:     sw0:     sw0:
                                                       Cont     Cont     Cont
GET /merged/v1.0/AUTH_test/sw1:Cont2/obj0               0        1        2
PUT /merged/v1.0/AUTH_test/sw1:Cont2/obj0              sw1:     sw1:     sw1:
DELETE /merged/v1.0/AUTH_test/sw1:Cont2/obj0           Cont     Cont     Cont
                                                        0        1        2
HEAD /merged/v1.0/AUTH_test/sw1:Cont2/obj0
POST /merged/v1.0/AUTH_test/sw1:Cont2/obj0

                                     Swift0                     Swift1
                              Cont     Cont     Cont     Cont     Cont     Cont
                               0        1        2        0        1        2 obj
Copy Object in Merge mode

 Copy between containers of the same
 prefix is the same as "Copy Object" normal.                 Merged
                                                      sw0:     sw0:     sw0:
                                                      Cont     Cont     Cont
COPY /merged/v1.0/AUTH_test/sw0:Cont2/obj0             0        1        2
X-Copy-From: /sw0:Cont1/obj0
                                                      sw1:     sw1:     sw1:
Content-Length: 0                                     Cont     Cont     Cont
                                                       0        1        2


                                   Swift0                     Swift1
                            Cont     Cont      Cont   Cont     Cont      Cont
                             0        1         2      0        1 obj     2


                                                                      COPY
Copy Object in Merge mode

 In the copy of containers between different               Swift0
 prefix, make a GET of objects inside dispatcher,   Cont     Cont         Cont
 perform the PUT to another system.                  0        1            2
                                                                  obj


                                                                    GET
COPY /merged/v1.0/AUTH_test/sw1:Cont2/obj0
X-Copy-From: /sw0:Cont1/obj0
Content-Length: 0                                          dispatcher


   If the object that exceeds a 5G, the upload
                                                                        PUT
   process is performed internally divided.

                                                            Swift1
                                                    Cont       Cont        Cont
                                                     0          1           2 obj
Authentication in Merge mode
                                          Swift0’s keystone


                                         Auth_Token: AAAAAAAAAA


                            dispatcher




Auth_Token: AAAAAAAAAA__@@__BBBBBBBBBB

                                          Swift1’s keystone


                                         Auth_Token: BBBBBBBBBB
Dispatcher Function: Object Caching
                      CacheServer
                        (squid)
                                          obj   Swift0
                          obj




             dispatcher




      Through the cache server when GET
      objects. From the second time, GET the
      object from the cache server.
Dispatcher Function: Relay to the nearest

                                     Swift0a




             dispatcher     Confirmed the
                            network closeness to
                            swift proxies




                                     Swift0b

Contenu connexe

Dernier

Dernier (20)

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, AdobeApidays 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
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
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
 
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
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
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...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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 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, ...
 
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
 

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Dispatcher internal-draft

  • 2. Dispatcher Function: Selective Relay Swift0 http://swift0/v1.0/AUTH_test dispatcher http://dispatcher/swift0/v1.0/AUTH_test Swift1 http://swift1/v1.0/AUTH_test
  • 3. Dispatcher Function: Selective Relay Swift0 http://swift0/v1.0/AUTH_test dispatcher http://dispatcher/swift1/v1.0/AUTH_test Swift1 http://swift1/v1.0/AUTH_test
  • 4. Dispatcher Function: Selective Relay Swift0 http://swift0/v1.0/AUTH_test dispatcher http://dispatcher/merged/v1.0/AUTH_test Swift1 Merge the results of two or more swift systems. http://swift1/v1.0/AUTH_test
  • 5. How to merge responses from different Swift clusters
  • 6. Retrieve Account Metadata in Merge mode Merged HEAD /merged/v1.0/AUTH_test sw0: sw0: sw0: Cont Cont Cont X-Account-Byte-Used: 1800(600 + 1200) 0 1 2 X-Account-Container-Count: 6 (3 +3) X-Account-Object-Count: 18 (6 + 12) sw1: sw1: sw1: Cont Cont Cont 0 1 2 Swift0 Swift1 Cont Cont Cont Cont Cont Cont 0 1 2 0 1 2 swift0 swift1 X-Account-Byte-Used: 600 X-Account-Byte-Used: 1200 X-Account-Container-Count: 3 X-Account-Container-Count: 3 X-Account-Object-Count: 6 X-Account-Object-Count: 12
  • 7. List Containers in Merge mode Prefix to indicate the name of the swift system is given a container. Merged GET /merged/v1.0/AUTH_test sw0: sw0: sw0: sw0:Cont0 Cont Cont Cont sw0:Cont1 0 1 2 sw0:Cont2 sw1: sw1: sw1: sw1:Cont0 Cont Cont Cont sw1:Cont1 0 1 2 sw1:Cont2 • Corresponds to the output format plain text, Swift0 Swift1 json, the XML Cont Cont Cont Cont Cont Cont • Corresponds to the 0 1 2 0 1 2 parameter "marker"
  • 8. List Objects in Merge mode Receive a container with a prefix, which returns a list of objects in the container specified on the Merged swift system indicated by the prefix sw0: sw0: sw0: Cont Cont Cont GET /merged/v1.0/AUTH_test/sw1:Cont2 0 1 2 sw1: sw1: sw1: Cont Cont Cont 0 1 2 Swift0 Swift1 Cont Cont Cont Cont Cont Cont 0 1 2 0 1 2
  • 9. Operate Container in Merge mode Receive a container with a prefix, on the swift system indicated by prefix, to manipulate the Merged container sw0: sw0: sw0: Cont Cont Cont 0 1 2 PUT /merged/v1.0/AUTH_test/sw1:Cont2 sw1: sw1: sw1: DELETE /merged/v1.0/AUTH_test/sw1:Cont2 Cont Cont Cont HEAD /merged/v1.0/AUTH_test/sw1:Cont2 0 1 2 POST /merged/v1.0/AUTH_test/sw1:Cont2 Swift0 Swift1 Cont Cont Cont Cont Cont Cont 0 1 2 0 1 2
  • 10. Operate Object in Merge mode Receive a container with a prefix, to manipulate the objects in the container specified on the swift Merged system indicated by the prefix. sw0: sw0: sw0: Cont Cont Cont GET /merged/v1.0/AUTH_test/sw1:Cont2/obj0 0 1 2 PUT /merged/v1.0/AUTH_test/sw1:Cont2/obj0 sw1: sw1: sw1: DELETE /merged/v1.0/AUTH_test/sw1:Cont2/obj0 Cont Cont Cont 0 1 2 HEAD /merged/v1.0/AUTH_test/sw1:Cont2/obj0 POST /merged/v1.0/AUTH_test/sw1:Cont2/obj0 Swift0 Swift1 Cont Cont Cont Cont Cont Cont 0 1 2 0 1 2 obj
  • 11. Copy Object in Merge mode Copy between containers of the same prefix is the same as "Copy Object" normal. Merged sw0: sw0: sw0: Cont Cont Cont COPY /merged/v1.0/AUTH_test/sw0:Cont2/obj0 0 1 2 X-Copy-From: /sw0:Cont1/obj0 sw1: sw1: sw1: Content-Length: 0 Cont Cont Cont 0 1 2 Swift0 Swift1 Cont Cont Cont Cont Cont Cont 0 1 2 0 1 obj 2 COPY
  • 12. Copy Object in Merge mode In the copy of containers between different Swift0 prefix, make a GET of objects inside dispatcher, Cont Cont Cont perform the PUT to another system. 0 1 2 obj GET COPY /merged/v1.0/AUTH_test/sw1:Cont2/obj0 X-Copy-From: /sw0:Cont1/obj0 Content-Length: 0 dispatcher If the object that exceeds a 5G, the upload PUT process is performed internally divided. Swift1 Cont Cont Cont 0 1 2 obj
  • 13. Authentication in Merge mode Swift0’s keystone Auth_Token: AAAAAAAAAA dispatcher Auth_Token: AAAAAAAAAA__@@__BBBBBBBBBB Swift1’s keystone Auth_Token: BBBBBBBBBB
  • 14. Dispatcher Function: Object Caching CacheServer (squid) obj Swift0 obj dispatcher Through the cache server when GET objects. From the second time, GET the object from the cache server.
  • 15. Dispatcher Function: Relay to the nearest Swift0a dispatcher Confirmed the network closeness to swift proxies Swift0b