SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Mozscape: NoSQL at Terabyte Scale




                        Phil Smith
                        Software Engineer
What We Do




   SEO & Inbound Marketing Metrics

   www.opensiteexplorer.org
What We Do

www.opensiteexplorer.org

Collect back links across the web
What We Do

www.opensiteexplorer.org

Collect back links across the web

Compute metrics estimating value
What We Do

www.opensiteexplorer.org

Collect back links across the web

Compute metrics estimating value

Serve links and metrics with API and OSE
How We Do

Crawl the Web

 ~25-30 billion pages per month
How We Do

Crawl the Web

 ~25-30 billion pages per month

 20 Crawler machines
How We Do

Crawl the Web

 ~25-30 billion pages per month

 20 Crawler machines

 ~256 MB/sec aggregate download rate
How We Do

Compute Aggregates and Metrics

 1:5 to 1:50 Compression Ratios
How We Do

Compute Aggregates and Metrics

 1:5 to 1:50 Compression Ratios

 Aggregates are Parallelized Linear Scans
How We Do

Compute Aggregates and Metrics

 1:5 to 1:50 Compression Ratios

 Aggregates are Parallelized Linear Scans

 Communication Avoided where Possible
How We Do

Surface with a Read-Only API

 ~12 TB per Release in Amazon S3
How We Do

Surface with a Read-Only API

 ~12 TB per Release in Amazon S3

 6 m2.4xlarge Instances for Cache
How We Do

Surface with a Read-Only API

 ~12 TB per Release in Amazon S3

 6 m2.4xlarge Instances for Cache

 ~28k Requests per Minute
Observations and Strategy


Billions of Small, Similar Records

De-normalization Avoids Complex Joins

Batch-style Emphasizes Spatial Locality
Data Layout


Column-Orientation exploits Locality

Broken into 5GB chunks for S3

~64KB Compression Runs within
Compression


Tuned to Overcome Disk Read Bound

By-Column, Run & Gap Encoding on LZO

Customized Pipelines per Column
Job Control


Each Stage has Parallel, Idempotent Tasks

Tasks are Procs with easy Command Line

stdout, exit code are logged to track state
Checkpoints


                         S3
               Barrier          Barrier
  Table Scan         Checkpoint           Table Scan



                         Time
Indexing


Columns have BDBs indexing by ID

Subset of IDs map to Compression Runs

Decompress Run and Scan to find Record
Physical Deployment


Crawlers run in Colo for white-listed IPs

Batch Process and API layer in EC2

The API might be in a colo too, but
ELB + Autoscaling are nice
Questions?

We’re Hiring!

Weitere ähnliche Inhalte

Andere mochten auch

Main brief and mood board
Main brief and mood boardMain brief and mood board
Main brief and mood boardasmediac12
 
Taller de informatica
Taller de informaticaTaller de informatica
Taller de informaticakenin merchan
 
Question 1 - Paige Coles
Question 1 - Paige Coles Question 1 - Paige Coles
Question 1 - Paige Coles asmediac12
 
As media unit g321 evaluation
As media unit g321 evaluationAs media unit g321 evaluation
As media unit g321 evaluationasmediac12
 
Apex entrepreneurship club
Apex entrepreneurship clubApex entrepreneurship club
Apex entrepreneurship clubSunita Thapaliya
 
Analysis of double page spreads
Analysis of double page spreadsAnalysis of double page spreads
Analysis of double page spreadsasmediac12
 
Question 4 - Paige Coles
Question 4 - Paige Coles Question 4 - Paige Coles
Question 4 - Paige Coles asmediac12
 
Analysing cover 2
Analysing cover 2Analysing cover 2
Analysing cover 2asmediac12
 
Evaluation Question 7
Evaluation Question 7Evaluation Question 7
Evaluation Question 7asmediac12
 
Main Brief and Mood Board
Main Brief and Mood BoardMain Brief and Mood Board
Main Brief and Mood Boardasmediac12
 
Velocity-EHF for Android
Velocity-EHF for AndroidVelocity-EHF for Android
Velocity-EHF for Androidmichaeljfawcett
 
Perkembangan daerah penyangga Taman Nasional Rawa Aopa Watumohai
Perkembangan daerah penyangga Taman Nasional Rawa Aopa WatumohaiPerkembangan daerah penyangga Taman Nasional Rawa Aopa Watumohai
Perkembangan daerah penyangga Taman Nasional Rawa Aopa WatumohaiRahmah Farida
 
Продовольственный рынок России в условиях экономических санкций 2016 год
Продовольственный рынок России в условиях экономических санкций 2016 годПродовольственный рынок России в условиях экономических санкций 2016 год
Продовольственный рынок России в условиях экономических санкций 2016 годPogozheva Alexandra
 

Andere mochten auch (18)

Focus group
Focus groupFocus group
Focus group
 
Main brief and mood board
Main brief and mood boardMain brief and mood board
Main brief and mood board
 
Taller de informatica
Taller de informaticaTaller de informatica
Taller de informatica
 
Question 1 - Paige Coles
Question 1 - Paige Coles Question 1 - Paige Coles
Question 1 - Paige Coles
 
Task 6
Task 6Task 6
Task 6
 
Q3
Q3Q3
Q3
 
Evalutation
EvalutationEvalutation
Evalutation
 
Q6
Q6Q6
Q6
 
As media unit g321 evaluation
As media unit g321 evaluationAs media unit g321 evaluation
As media unit g321 evaluation
 
Apex entrepreneurship club
Apex entrepreneurship clubApex entrepreneurship club
Apex entrepreneurship club
 
Analysis of double page spreads
Analysis of double page spreadsAnalysis of double page spreads
Analysis of double page spreads
 
Question 4 - Paige Coles
Question 4 - Paige Coles Question 4 - Paige Coles
Question 4 - Paige Coles
 
Analysing cover 2
Analysing cover 2Analysing cover 2
Analysing cover 2
 
Evaluation Question 7
Evaluation Question 7Evaluation Question 7
Evaluation Question 7
 
Main Brief and Mood Board
Main Brief and Mood BoardMain Brief and Mood Board
Main Brief and Mood Board
 
Velocity-EHF for Android
Velocity-EHF for AndroidVelocity-EHF for Android
Velocity-EHF for Android
 
Perkembangan daerah penyangga Taman Nasional Rawa Aopa Watumohai
Perkembangan daerah penyangga Taman Nasional Rawa Aopa WatumohaiPerkembangan daerah penyangga Taman Nasional Rawa Aopa Watumohai
Perkembangan daerah penyangga Taman Nasional Rawa Aopa Watumohai
 
Продовольственный рынок России в условиях экономических санкций 2016 год
Продовольственный рынок России в условиях экономических санкций 2016 годПродовольственный рынок России в условиях экономических санкций 2016 год
Продовольственный рынок России в условиях экономических санкций 2016 год
 

Kürzlich hochgeladen

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 businesspanagenda
 
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
 
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 FMESafe Software
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
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 educationjfdjdjcjdnsjd
 
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...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
 
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 RobisonAnna Loughnan Colquhoun
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
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 SavingEdi Saputra
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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 TerraformAndrey Devyatkin
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Kürzlich hochgeladen (20)

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
 
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
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
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...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...
 
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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Mozscape no sql-at-terabyte-scale

Hinweis der Redaktion

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n