SlideShare a Scribd company logo
1 of 12
FARROT: 
Filter Amazon Review Ratings 
Over Time 
Andy Lai
Problem 
Amazon doesn't allow filtering review ratings 
and totals by state or time 
http://youtu.be/w78X0IpjI5c
UI DEMO 
http://youtu.be/w78X0IpjI5c
Data set 
Stanford SNAP Amazon reviews 
35GB 
35M reviews 
University of Illinois Amazon member info 
142MB 
Member location information 
joeme 92 5/26 Cleveland, OH United States Joseph M. Kotow B00006HAXW 
OH
Pipeline 
ImportTsv 
SNAP 
REVIEWS in 
10 rows per 
review 
UIC MEMBER 
LOCATION 
TSV HappyBase
Pipeline 
ImportTsv 
SNAP 
REVIEWS in 
10 rows per 
review 
UIC MEMBER 
LOCATION 
TSV HappyBase
Pipeline 
ImportTsv 
SNAP 
REVIEWS in 
10 rows per 
review 
UIC MEMBER 
LOCATION 
BT0S0V006HAXW Rock Rhythm & Doo Wop Greatest Early Rock unknown A1RSDHE9a-ppyBase 
N6RSZF Joseph M Kotow 9/9 5.0 1042502400 Pittsburgh – Home of the OLDIES I 
have all of the doo wop DVD’s and this one is as good or better than the 1st ones. Rem…
Pipeline 
PIG to CLEAN, 
JOIN and 
AGGREGATE 
rating reviews and 
totals 
ImportTsv 
SNAP 
REVIEWS in 
10 rows per 
review 
UIC MEMBER 
LOCATION 
BT0S0V006HAXW Rock Rhythm & Doo Wop Greatest Early Rock unknown A1RSDHE9a-ppyBase 
N6RSZF Joseph M Kotow 9/9 5.0 1042502400 Pittsburgh – Home of the OLDIES I 
have all of the doo wop DVD’s and this one is as good or better than the 1st ones. Rem…
Pipeline 
ImportTsv 
SNAP 
REVIEWS in 
10 rows per 
review 
UIC MEMBER 
LOCATION 
TSV HappyBase
HBase Schema 
Table Schemas: 
PRODUCTID_STATE, 
TOTAL REVIEWS, AVG RATING 
PRODUCTID_STATE_BYYEAR_EPOCH, 
TOTAL REVIEWS, AVG RATING 
PRODUCTID_STATE_BYMONTH_EPOCH, 
TOTAL REVIEWS, AVG RATING 
PRODUCTID_STATE_BYDAY_EPOCH, 
TOTAL REVIEWS, AVG RATING 
• Example: 
B00003CWT6_CA_BYMONTH_1008115200000
Retrospective 
Design Considerations 
• HBase was used for optimizations for reads, range 
scans, and scalability 
• Data was bucketed by state and different time 
intervals for query performance by avoiding the cost 
of recalculating aggregates at the expense of storage 
• Java MR was used to convert multi-row reviews to 
tabular format 
Future 
• Scrape Amazon for new reviews 
• Filter and display reviews
About me – Andy Lai 
 UC Berkeley (B.S. Electrical Engineering & 
Computer Science) 
 SJSU (M.S. Engineering) 
 Software Engineer (DB2, Relational 
database) 
 Interests:

More Related Content

Viewers also liked

Tieng Anh Grade 10 Unit 5 technology and you
Tieng Anh Grade 10 Unit 5 technology and youTieng Anh Grade 10 Unit 5 technology and you
Tieng Anh Grade 10 Unit 5 technology and youRizza Mae Go
 
1_Primary Care Spend_Final
1_Primary Care Spend_Final1_Primary Care Spend_Final
1_Primary Care Spend_FinalKim Paull
 
Tieng Anh Unit 6 speak and listen
Tieng Anh  Unit 6 speak and listenTieng Anh  Unit 6 speak and listen
Tieng Anh Unit 6 speak and listenRizza Mae Go
 
Interface is everything - Tuottoisin paikka arvoketjussa on yhä useammin käyt...
Interface is everything - Tuottoisin paikka arvoketjussa on yhä useammin käyt...Interface is everything - Tuottoisin paikka arvoketjussa on yhä useammin käyt...
Interface is everything - Tuottoisin paikka arvoketjussa on yhä useammin käyt...Nordic Morning
 
Tieng Anh Unit four (listening)
Tieng Anh Unit four (listening)Tieng Anh Unit four (listening)
Tieng Anh Unit four (listening)Rizza Mae Go
 
Verkkosivuilla mobiilisti
Verkkosivuilla mobiilistiVerkkosivuilla mobiilisti
Verkkosivuilla mobiilistiNordic Morning
 
Pelillistämisestä virtaa viestintään
Pelillistämisestä virtaa viestintäänPelillistämisestä virtaa viestintään
Pelillistämisestä virtaa viestintäänNordic Morning
 

Viewers also liked (9)

Tieng Anh Grade 10 Unit 5 technology and you
Tieng Anh Grade 10 Unit 5 technology and youTieng Anh Grade 10 Unit 5 technology and you
Tieng Anh Grade 10 Unit 5 technology and you
 
1_Primary Care Spend_Final
1_Primary Care Spend_Final1_Primary Care Spend_Final
1_Primary Care Spend_Final
 
Tieng Anh Unit 6 speak and listen
Tieng Anh  Unit 6 speak and listenTieng Anh  Unit 6 speak and listen
Tieng Anh Unit 6 speak and listen
 
Interface is everything - Tuottoisin paikka arvoketjussa on yhä useammin käyt...
Interface is everything - Tuottoisin paikka arvoketjussa on yhä useammin käyt...Interface is everything - Tuottoisin paikka arvoketjussa on yhä useammin käyt...
Interface is everything - Tuottoisin paikka arvoketjussa on yhä useammin käyt...
 
Gbi mind
Gbi mindGbi mind
Gbi mind
 
Tieng Anh Unit four (listening)
Tieng Anh Unit four (listening)Tieng Anh Unit four (listening)
Tieng Anh Unit four (listening)
 
Matthewrogers
MatthewrogersMatthewrogers
Matthewrogers
 
Verkkosivuilla mobiilisti
Verkkosivuilla mobiilistiVerkkosivuilla mobiilisti
Verkkosivuilla mobiilisti
 
Pelillistämisestä virtaa viestintään
Pelillistämisestä virtaa viestintäänPelillistämisestä virtaa viestintään
Pelillistämisestä virtaa viestintään
 

Recently uploaded

Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 

Recently uploaded (20)

Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 

Filter Amazon Reviews by Location and Time

  • 1. FARROT: Filter Amazon Review Ratings Over Time Andy Lai
  • 2. Problem Amazon doesn't allow filtering review ratings and totals by state or time http://youtu.be/w78X0IpjI5c
  • 4. Data set Stanford SNAP Amazon reviews 35GB 35M reviews University of Illinois Amazon member info 142MB Member location information joeme 92 5/26 Cleveland, OH United States Joseph M. Kotow B00006HAXW OH
  • 5. Pipeline ImportTsv SNAP REVIEWS in 10 rows per review UIC MEMBER LOCATION TSV HappyBase
  • 6. Pipeline ImportTsv SNAP REVIEWS in 10 rows per review UIC MEMBER LOCATION TSV HappyBase
  • 7. Pipeline ImportTsv SNAP REVIEWS in 10 rows per review UIC MEMBER LOCATION BT0S0V006HAXW Rock Rhythm & Doo Wop Greatest Early Rock unknown A1RSDHE9a-ppyBase N6RSZF Joseph M Kotow 9/9 5.0 1042502400 Pittsburgh – Home of the OLDIES I have all of the doo wop DVD’s and this one is as good or better than the 1st ones. Rem…
  • 8. Pipeline PIG to CLEAN, JOIN and AGGREGATE rating reviews and totals ImportTsv SNAP REVIEWS in 10 rows per review UIC MEMBER LOCATION BT0S0V006HAXW Rock Rhythm & Doo Wop Greatest Early Rock unknown A1RSDHE9a-ppyBase N6RSZF Joseph M Kotow 9/9 5.0 1042502400 Pittsburgh – Home of the OLDIES I have all of the doo wop DVD’s and this one is as good or better than the 1st ones. Rem…
  • 9. Pipeline ImportTsv SNAP REVIEWS in 10 rows per review UIC MEMBER LOCATION TSV HappyBase
  • 10. HBase Schema Table Schemas: PRODUCTID_STATE, TOTAL REVIEWS, AVG RATING PRODUCTID_STATE_BYYEAR_EPOCH, TOTAL REVIEWS, AVG RATING PRODUCTID_STATE_BYMONTH_EPOCH, TOTAL REVIEWS, AVG RATING PRODUCTID_STATE_BYDAY_EPOCH, TOTAL REVIEWS, AVG RATING • Example: B00003CWT6_CA_BYMONTH_1008115200000
  • 11. Retrospective Design Considerations • HBase was used for optimizations for reads, range scans, and scalability • Data was bucketed by state and different time intervals for query performance by avoiding the cost of recalculating aggregates at the expense of storage • Java MR was used to convert multi-row reviews to tabular format Future • Scrape Amazon for new reviews • Filter and display reviews
  • 12. About me – Andy Lai  UC Berkeley (B.S. Electrical Engineering & Computer Science)  SJSU (M.S. Engineering)  Software Engineer (DB2, Relational database)  Interests: