SlideShare a Scribd company logo
Analysis of Web Archives
Vinay Goel
Senior Data Engineer
Internet Archive
• Established in 1996
• 501(c)(3) non profit organization
• 20+ PB (compressed) of publicly accessible archival
material
• Technology partner to libraries, museums, universities,
research and memory institutions
• Currently archiving books, text, film, video, audio,
images, software, educational content and the Internet
IA Web Archive
!
!
• Began in 1996
• 426+ Billion publicly accessible web instances
• Operate web wide, survey, end of life, selective and resource
specific web harvests
• Develop freely available, open source, web archiving and
access tools
Access Web Archive Data
Analyze Web Archive Data
Analysis Tools
• Arbitrary analysis of archived data
• Scales up and down
• Tools
• Apache Hadoop (distributed storage and processing)
• Apache Pig (batch processing with a data flow language)
• Apache Hive (batch processing with a SQL like language)
• Apache Giraph (batch graph processing)
• Apache Mahout (scalable machine learning)
Data
• Crawler logs
• Crawled data
• Crawled data derivatives
• Wayback Index
• Text Search Index
• WAT
Crawled data (ARC / WARC)
• Data written by web crawlers
• Before 2008, written into ARC files
• From 2008, IA began writing into WARC files
• data donations from 3rd parties still include ARC files
• WARC file format (ISO standard) is a revision of the ARC file format
• Each (W)ARC file contains a series of concatenated records
• Full HTTP request/response records
• WARC files also contain metadata records, and records to store
duplication events, and to support segmentation and conversion
WARC
Wayback Index (CDX)
• Index for the Wayback Machine
• Generated by parsing crawled (W)ARC data
• Plain text file with one line per captured resource
• Each line contains only essential metadata required by the Wayback
software
• URL, Timestamp, Content Digest
• MIME Type, HTTP Status Code, Size
• Meta tags, Redirect URL (when applicable)
• (W)ARC filename and file offset of record
CDX
CDX Analysis
• Store generated CDX data in Hadoop (HDFS)
• Create Hive table
• Partition the data by partner, collection, crawl instance
• reduce I/O and query times
• Run queries using HiveQL (a SQL like language)
CDX Analysis: Growth of
Content
CDX Analysis: Rate of
Duplication
CDX Analysis: Breakdown by
Year First Crawled
Log Warehouse
• Similar Hive set up for Crawler logs
• Distribution of Domains, HTTP Status codes, MIME
types
• Enable crawler engineer to find timeout errors,
duplicate content, crawler traps, robots exclusions,
etc.
Text Search Index
• Use the Parsed Text files: input to build text indexes for Search
• Generated by running a Hadoop MapReduce Job that parses (W)ARC files
• HTML boilerplate is stripped out
• Also contains metadata
• URL, Timestamp, Content Digest, Record Length
• MIME Type, HTTP Status Code
• Title, description and meta keywords
• Links with anchor text
• Stored in Hadoop Sequence Files
Parsed Text
WAT
• Extensible metadata format
• Essential metadata for many types of analyses
• Avoids barriers to data exchange: copyright, privacy
• Less data than (W)ARC, more than CDX
• WAT records are WARC metadata records
• Contains for every HTML page in the (W)ARC,
• Title, description and meta keywords
• Embeds and outgoing links with alt/anchor text
WAT
Text Analysis
• Text extracted from (W)ARC / Parsed Text / WAT
• Use Pig
• extract text from records of interest
• tokenize, remove stop words, stemming
• generate top terms by TF-IDF
• prepare text for input to Mahout to generate vectorized
documents (Topic Modeling, Classification, Clustering
etc.)
Link Analysis
• Links extracted from crawl logs / WARC metadata records /
Parsed Text / WAT
• Use Pig
• extract links from records of interest
• generate host & domain graphs for a given period
• find links in common between a pair of hosts/domains
• extract embedded links and compare with CDX to find
resources yet to be crawled
Archival Web Graph
• Use Pig to generate an Archival Web Graph (ID-Map
and ID-Graph)
• ID-Map: Mapping of integer (or fingerprint) ID to
source and destination URLs
• ID-Graph: An adjacency list using the assigned IDs
and timestamp info
• Compact representation of graph data
Link Analysis using Giraph
• Hadoop MapReduce not the best fit for iterative algorithms
• each iteration is a MapReduce Job with the graph structure
being read from and written to HDFS
• Use Giraph: open-source implementation of Google’s Pregel
• Vertex centric Bulk Synchronous Parallel (BSP) execution
model
• runs on Hadoop
• computation executed in memory and proceeds as
sequence of iterations called supersteps
Link Analysis
• Indegree and Outdegree distributions
• Inter-host and Intra-host link information
• Rank resources by PageRank
• Identify important resources
• Prioritize crawling of missing resources
• Find possible spam pages by running biased PageRank
• Trace path of crawler using graph generated from crawl logs
• Determine Crawl and Page Completeness
Link Analysis: Completeness
Link Analysis: PageRank
over Time
Link Analysis: PageRank
over Time
Link Analysis: PageRank
over Time
Web Archive Analysis
Workshop
• Self guided workshop
• Generative derivatives: CDX, Parsed Text, WAT
• Set up CDX Warehouse using Hive
• Extract text from WARCs / WAT / Parsed Text
• Extract links from WARCs / WAT / Parsed Text
• Generate Archival web graphs, host and domain graphs
• Text and Link Analysis Examples
• Data extraction tools to repackage subsets of data into new (W)ARC files
• https://webarchive.jira.com/wiki/display/Iresearch/Web+Archive+Analysis+Workshop
Ad

More Related Content

What's hot (17)

The Web of data and web data commons
The Web of data and web data commonsThe Web of data and web data commons
The Web of data and web data commons
Jesse Wang
 
Refactoring HUBzero for Linked Data
Refactoring HUBzero for Linked DataRefactoring HUBzero for Linked Data
Refactoring HUBzero for Linked Data
Yongyang Yu
 
MongoDB & Hadoop - Understanding Your Big Data
MongoDB & Hadoop - Understanding Your Big DataMongoDB & Hadoop - Understanding Your Big Data
MongoDB & Hadoop - Understanding Your Big Data
MongoDB
 
Hive and querying data
Hive and querying dataHive and querying data
Hive and querying data
KarthigaGunasekaran1
 
Webinar: Solr & Fusion for Big Data
Webinar: Solr & Fusion for Big DataWebinar: Solr & Fusion for Big Data
Webinar: Solr & Fusion for Big Data
Lucidworks
 
Hadoop data access layer v4.0
Hadoop data access layer v4.0Hadoop data access layer v4.0
Hadoop data access layer v4.0
SpringPeople
 
Data Science Languages and Industry Analytics
Data Science Languages and Industry AnalyticsData Science Languages and Industry Analytics
Data Science Languages and Industry Analytics
Wes McKinney
 
SFBay Area Solr Meetup - July 15th: Integrating Hadoop and Solr
 SFBay Area Solr Meetup - July 15th: Integrating Hadoop and Solr SFBay Area Solr Meetup - July 15th: Integrating Hadoop and Solr
SFBay Area Solr Meetup - July 15th: Integrating Hadoop and Solr
Lucidworks (Archived)
 
HUG France - Apache Drill
HUG France - Apache DrillHUG France - Apache Drill
HUG France - Apache Drill
MapR Technologies
 
Strata NYC 2015 - Supercharging R with Apache Spark
Strata NYC 2015 - Supercharging R with Apache SparkStrata NYC 2015 - Supercharging R with Apache Spark
Strata NYC 2015 - Supercharging R with Apache Spark
Databricks
 
Optiq: A dynamic data management framework
Optiq: A dynamic data management frameworkOptiq: A dynamic data management framework
Optiq: A dynamic data management framework
Julian Hyde
 
HDF Cloud: HDF5 at Scale
HDF Cloud: HDF5 at ScaleHDF Cloud: HDF5 at Scale
HDF Cloud: HDF5 at Scale
The HDF-EOS Tools and Information Center
 
Hadoop Training in Hyderabad
Hadoop Training in HyderabadHadoop Training in Hyderabad
Hadoop Training in Hyderabad
Rajitha D
 
Practical Medium Data Analytics with Python (10 Things I Hate About pandas, P...
Practical Medium Data Analytics with Python (10 Things I Hate About pandas, P...Practical Medium Data Analytics with Python (10 Things I Hate About pandas, P...
Practical Medium Data Analytics with Python (10 Things I Hate About pandas, P...
Wes McKinney
 
introduction to Neo4j (Tabriz Software Open Talks)
introduction to Neo4j (Tabriz Software Open Talks)introduction to Neo4j (Tabriz Software Open Talks)
introduction to Neo4j (Tabriz Software Open Talks)
Farzin Bagheri
 
Graph Databases
Graph DatabasesGraph Databases
Graph Databases
thai
 
Graph database
Graph database Graph database
Graph database
Shruti Arya
 
The Web of data and web data commons
The Web of data and web data commonsThe Web of data and web data commons
The Web of data and web data commons
Jesse Wang
 
Refactoring HUBzero for Linked Data
Refactoring HUBzero for Linked DataRefactoring HUBzero for Linked Data
Refactoring HUBzero for Linked Data
Yongyang Yu
 
MongoDB & Hadoop - Understanding Your Big Data
MongoDB & Hadoop - Understanding Your Big DataMongoDB & Hadoop - Understanding Your Big Data
MongoDB & Hadoop - Understanding Your Big Data
MongoDB
 
Webinar: Solr & Fusion for Big Data
Webinar: Solr & Fusion for Big DataWebinar: Solr & Fusion for Big Data
Webinar: Solr & Fusion for Big Data
Lucidworks
 
Hadoop data access layer v4.0
Hadoop data access layer v4.0Hadoop data access layer v4.0
Hadoop data access layer v4.0
SpringPeople
 
Data Science Languages and Industry Analytics
Data Science Languages and Industry AnalyticsData Science Languages and Industry Analytics
Data Science Languages and Industry Analytics
Wes McKinney
 
SFBay Area Solr Meetup - July 15th: Integrating Hadoop and Solr
 SFBay Area Solr Meetup - July 15th: Integrating Hadoop and Solr SFBay Area Solr Meetup - July 15th: Integrating Hadoop and Solr
SFBay Area Solr Meetup - July 15th: Integrating Hadoop and Solr
Lucidworks (Archived)
 
Strata NYC 2015 - Supercharging R with Apache Spark
Strata NYC 2015 - Supercharging R with Apache SparkStrata NYC 2015 - Supercharging R with Apache Spark
Strata NYC 2015 - Supercharging R with Apache Spark
Databricks
 
Optiq: A dynamic data management framework
Optiq: A dynamic data management frameworkOptiq: A dynamic data management framework
Optiq: A dynamic data management framework
Julian Hyde
 
Hadoop Training in Hyderabad
Hadoop Training in HyderabadHadoop Training in Hyderabad
Hadoop Training in Hyderabad
Rajitha D
 
Practical Medium Data Analytics with Python (10 Things I Hate About pandas, P...
Practical Medium Data Analytics with Python (10 Things I Hate About pandas, P...Practical Medium Data Analytics with Python (10 Things I Hate About pandas, P...
Practical Medium Data Analytics with Python (10 Things I Hate About pandas, P...
Wes McKinney
 
introduction to Neo4j (Tabriz Software Open Talks)
introduction to Neo4j (Tabriz Software Open Talks)introduction to Neo4j (Tabriz Software Open Talks)
introduction to Neo4j (Tabriz Software Open Talks)
Farzin Bagheri
 
Graph Databases
Graph DatabasesGraph Databases
Graph Databases
thai
 

Viewers also liked (10)

Searching for an authentic definition of student success
Searching for an authentic definition of student successSearching for an authentic definition of student success
Searching for an authentic definition of student success
weigansm
 
Student success & retention
Student success & retentionStudent success & retention
Student success & retention
annmariecnfab5
 
2014 essential guide social enterprise software for higher education
2014 essential guide social enterprise software for higher education2014 essential guide social enterprise software for higher education
2014 essential guide social enterprise software for higher education
The Tambellini Group
 
Student Success Tools for Higher Education
Student Success Tools for Higher Education Student Success Tools for Higher Education
Student Success Tools for Higher Education
The Tambellini Group
 
Student Success Strategies Slide Presentation Class - WRITTEN AND CREATED BY ...
Student Success Strategies Slide Presentation Class - WRITTEN AND CREATED BY ...Student Success Strategies Slide Presentation Class - WRITTEN AND CREATED BY ...
Student Success Strategies Slide Presentation Class - WRITTEN AND CREATED BY ...
SuzetteAndrea
 
Helping Students on Academic Probation to Persist and Succeed
Helping Students on Academic Probation to Persist and SucceedHelping Students on Academic Probation to Persist and Succeed
Helping Students on Academic Probation to Persist and Succeed
skurland
 
Peer mentoring programs in higher education
Peer mentoring programs in higher educationPeer mentoring programs in higher education
Peer mentoring programs in higher education
Mutual Force
 
Response Ability: Promoting student resilience and wellbeing/responding to me...
Response Ability: Promoting student resilience and wellbeing/responding to me...Response Ability: Promoting student resilience and wellbeing/responding to me...
Response Ability: Promoting student resilience and wellbeing/responding to me...
Hunter Institute of Mental Health
 
Building Resilience against Higher Education Downturn in Nigeria
Building Resilience against Higher Education Downturn in NigeriaBuilding Resilience against Higher Education Downturn in Nigeria
Building Resilience against Higher Education Downturn in Nigeria
Adetokunbo Lawrence
 
Defining student success ppt
Defining student success  pptDefining student success  ppt
Defining student success ppt
supportingstudentsuccess
 
Searching for an authentic definition of student success
Searching for an authentic definition of student successSearching for an authentic definition of student success
Searching for an authentic definition of student success
weigansm
 
Student success & retention
Student success & retentionStudent success & retention
Student success & retention
annmariecnfab5
 
2014 essential guide social enterprise software for higher education
2014 essential guide social enterprise software for higher education2014 essential guide social enterprise software for higher education
2014 essential guide social enterprise software for higher education
The Tambellini Group
 
Student Success Tools for Higher Education
Student Success Tools for Higher Education Student Success Tools for Higher Education
Student Success Tools for Higher Education
The Tambellini Group
 
Student Success Strategies Slide Presentation Class - WRITTEN AND CREATED BY ...
Student Success Strategies Slide Presentation Class - WRITTEN AND CREATED BY ...Student Success Strategies Slide Presentation Class - WRITTEN AND CREATED BY ...
Student Success Strategies Slide Presentation Class - WRITTEN AND CREATED BY ...
SuzetteAndrea
 
Helping Students on Academic Probation to Persist and Succeed
Helping Students on Academic Probation to Persist and SucceedHelping Students on Academic Probation to Persist and Succeed
Helping Students on Academic Probation to Persist and Succeed
skurland
 
Peer mentoring programs in higher education
Peer mentoring programs in higher educationPeer mentoring programs in higher education
Peer mentoring programs in higher education
Mutual Force
 
Response Ability: Promoting student resilience and wellbeing/responding to me...
Response Ability: Promoting student resilience and wellbeing/responding to me...Response Ability: Promoting student resilience and wellbeing/responding to me...
Response Ability: Promoting student resilience and wellbeing/responding to me...
Hunter Institute of Mental Health
 
Building Resilience against Higher Education Downturn in Nigeria
Building Resilience against Higher Education Downturn in NigeriaBuilding Resilience against Higher Education Downturn in Nigeria
Building Resilience against Higher Education Downturn in Nigeria
Adetokunbo Lawrence
 
Ad

Similar to Analyzing Web Archives (20)

Solr + Hadoop: Interactive Search for Hadoop
Solr + Hadoop: Interactive Search for HadoopSolr + Hadoop: Interactive Search for Hadoop
Solr + Hadoop: Interactive Search for Hadoop
gregchanan
 
If You Have The Content, Then Apache Has The Technology!
If You Have The Content, Then Apache Has The Technology!If You Have The Content, Then Apache Has The Technology!
If You Have The Content, Then Apache Has The Technology!
gagravarr
 
Apache Accumulo and the Data Lake
Apache Accumulo and the Data LakeApache Accumulo and the Data Lake
Apache Accumulo and the Data Lake
Aaron Cordova
 
Internet content as research data
Internet content as research dataInternet content as research data
Internet content as research data
National Library of Australia
 
Liferay & Big Data Dev Con 2014
Liferay & Big Data Dev Con 2014Liferay & Big Data Dev Con 2014
Liferay & Big Data Dev Con 2014
Miguel Pastor
 
Apache drill
Apache drillApache drill
Apache drill
MapR Technologies
 
Getting Started with Hadoop
Getting Started with HadoopGetting Started with Hadoop
Getting Started with Hadoop
Cloudera, Inc.
 
Apache Drill at ApacheCon2014
Apache Drill at ApacheCon2014Apache Drill at ApacheCon2014
Apache Drill at ApacheCon2014
Neeraja Rentachintala
 
Hadoop User Group - Status Apache Drill
Hadoop User Group - Status Apache DrillHadoop User Group - Status Apache Drill
Hadoop User Group - Status Apache Drill
MapR Technologies
 
Drupal and Apache Stanbol
Drupal and Apache StanbolDrupal and Apache Stanbol
Drupal and Apache Stanbol
Alkuvoima
 
Search On Hadoop Frontier Meetup
Search On Hadoop Frontier MeetupSearch On Hadoop Frontier Meetup
Search On Hadoop Frontier Meetup
gregchanan
 
Library Mashups & APIs
Library Mashups & APIsLibrary Mashups & APIs
Library Mashups & APIs
librarywebchic
 
Apache Hive
Apache HiveApache Hive
Apache Hive
Amit Khandelwal
 
Hadoop Ecosystem
Hadoop EcosystemHadoop Ecosystem
Hadoop Ecosystem
Lior Sidi
 
Search On Hadoop
Search On HadoopSearch On Hadoop
Search On Hadoop
bigdatagurus_meetup
 
Drill at the Chicago Hug
Drill at the Chicago HugDrill at the Chicago Hug
Drill at the Chicago Hug
MapR Technologies
 
Drill at the Chug 9-19-12
Drill at the Chug 9-19-12Drill at the Chug 9-19-12
Drill at the Chug 9-19-12
Ted Dunning
 
Technologies for Data Analytics Platform
Technologies for Data Analytics PlatformTechnologies for Data Analytics Platform
Technologies for Data Analytics Platform
N Masahiro
 
Drill Bay Area HUG 2012-09-19
Drill Bay Area HUG 2012-09-19Drill Bay Area HUG 2012-09-19
Drill Bay Area HUG 2012-09-19
jasonfrantz
 
Sep 2012 HUG: Apache Drill for Interactive Analysis
Sep 2012 HUG: Apache Drill for Interactive Analysis Sep 2012 HUG: Apache Drill for Interactive Analysis
Sep 2012 HUG: Apache Drill for Interactive Analysis
Yahoo Developer Network
 
Solr + Hadoop: Interactive Search for Hadoop
Solr + Hadoop: Interactive Search for HadoopSolr + Hadoop: Interactive Search for Hadoop
Solr + Hadoop: Interactive Search for Hadoop
gregchanan
 
If You Have The Content, Then Apache Has The Technology!
If You Have The Content, Then Apache Has The Technology!If You Have The Content, Then Apache Has The Technology!
If You Have The Content, Then Apache Has The Technology!
gagravarr
 
Apache Accumulo and the Data Lake
Apache Accumulo and the Data LakeApache Accumulo and the Data Lake
Apache Accumulo and the Data Lake
Aaron Cordova
 
Liferay & Big Data Dev Con 2014
Liferay & Big Data Dev Con 2014Liferay & Big Data Dev Con 2014
Liferay & Big Data Dev Con 2014
Miguel Pastor
 
Getting Started with Hadoop
Getting Started with HadoopGetting Started with Hadoop
Getting Started with Hadoop
Cloudera, Inc.
 
Hadoop User Group - Status Apache Drill
Hadoop User Group - Status Apache DrillHadoop User Group - Status Apache Drill
Hadoop User Group - Status Apache Drill
MapR Technologies
 
Drupal and Apache Stanbol
Drupal and Apache StanbolDrupal and Apache Stanbol
Drupal and Apache Stanbol
Alkuvoima
 
Search On Hadoop Frontier Meetup
Search On Hadoop Frontier MeetupSearch On Hadoop Frontier Meetup
Search On Hadoop Frontier Meetup
gregchanan
 
Library Mashups & APIs
Library Mashups & APIsLibrary Mashups & APIs
Library Mashups & APIs
librarywebchic
 
Hadoop Ecosystem
Hadoop EcosystemHadoop Ecosystem
Hadoop Ecosystem
Lior Sidi
 
Drill at the Chug 9-19-12
Drill at the Chug 9-19-12Drill at the Chug 9-19-12
Drill at the Chug 9-19-12
Ted Dunning
 
Technologies for Data Analytics Platform
Technologies for Data Analytics PlatformTechnologies for Data Analytics Platform
Technologies for Data Analytics Platform
N Masahiro
 
Drill Bay Area HUG 2012-09-19
Drill Bay Area HUG 2012-09-19Drill Bay Area HUG 2012-09-19
Drill Bay Area HUG 2012-09-19
jasonfrantz
 
Sep 2012 HUG: Apache Drill for Interactive Analysis
Sep 2012 HUG: Apache Drill for Interactive Analysis Sep 2012 HUG: Apache Drill for Interactive Analysis
Sep 2012 HUG: Apache Drill for Interactive Analysis
Yahoo Developer Network
 
Ad

Recently uploaded (20)

Conic Sectionfaggavahabaayhahahahahs.pptx
Conic Sectionfaggavahabaayhahahahahs.pptxConic Sectionfaggavahabaayhahahahahs.pptx
Conic Sectionfaggavahabaayhahahahahs.pptx
taiwanesechetan
 
DPR_Expert_Recruitment_notice_Revised.pdf
DPR_Expert_Recruitment_notice_Revised.pdfDPR_Expert_Recruitment_notice_Revised.pdf
DPR_Expert_Recruitment_notice_Revised.pdf
inmishra17121973
 
Ch3MCT24.pptx measure of central tendency
Ch3MCT24.pptx measure of central tendencyCh3MCT24.pptx measure of central tendency
Ch3MCT24.pptx measure of central tendency
ayeleasefa2
 
Simple_AI_Explanation_English somplr.pptx
Simple_AI_Explanation_English somplr.pptxSimple_AI_Explanation_English somplr.pptx
Simple_AI_Explanation_English somplr.pptx
ssuser2aa19f
 
Stack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptxStack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptx
binduraniha86
 
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your CompetitorsAI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
Contify
 
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.pptJust-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
ssuser5f8f49
 
Minions Want to eat presentacion muy linda
Minions Want to eat presentacion muy lindaMinions Want to eat presentacion muy linda
Minions Want to eat presentacion muy linda
CarlaAndradesSoler1
 
C++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptxC++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptx
aquibnoor22079
 
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
James Francis Paradigm Asset Management
 
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptxmd-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
fatimalazaar2004
 
Template_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
Template_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnTemplate_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
Template_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
cegiver630
 
How iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost FundsHow iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost Funds
ireneschmid345
 
Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...
Pixellion
 
VKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptxVKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptx
Vinod Srivastava
 
Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..
yuvarajreddy2002
 
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbbEDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
JessaMaeEvangelista2
 
computer organization and assembly language.docx
computer organization and assembly language.docxcomputer organization and assembly language.docx
computer organization and assembly language.docx
alisoftwareengineer1
 
Deloitte Analytics - Applying Process Mining in an audit context
Deloitte Analytics - Applying Process Mining in an audit contextDeloitte Analytics - Applying Process Mining in an audit context
Deloitte Analytics - Applying Process Mining in an audit context
Process mining Evangelist
 
Classification_in_Machinee_Learning.pptx
Classification_in_Machinee_Learning.pptxClassification_in_Machinee_Learning.pptx
Classification_in_Machinee_Learning.pptx
wencyjorda88
 
Conic Sectionfaggavahabaayhahahahahs.pptx
Conic Sectionfaggavahabaayhahahahahs.pptxConic Sectionfaggavahabaayhahahahahs.pptx
Conic Sectionfaggavahabaayhahahahahs.pptx
taiwanesechetan
 
DPR_Expert_Recruitment_notice_Revised.pdf
DPR_Expert_Recruitment_notice_Revised.pdfDPR_Expert_Recruitment_notice_Revised.pdf
DPR_Expert_Recruitment_notice_Revised.pdf
inmishra17121973
 
Ch3MCT24.pptx measure of central tendency
Ch3MCT24.pptx measure of central tendencyCh3MCT24.pptx measure of central tendency
Ch3MCT24.pptx measure of central tendency
ayeleasefa2
 
Simple_AI_Explanation_English somplr.pptx
Simple_AI_Explanation_English somplr.pptxSimple_AI_Explanation_English somplr.pptx
Simple_AI_Explanation_English somplr.pptx
ssuser2aa19f
 
Stack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptxStack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptx
binduraniha86
 
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your CompetitorsAI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
Contify
 
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.pptJust-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
ssuser5f8f49
 
Minions Want to eat presentacion muy linda
Minions Want to eat presentacion muy lindaMinions Want to eat presentacion muy linda
Minions Want to eat presentacion muy linda
CarlaAndradesSoler1
 
C++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptxC++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptx
aquibnoor22079
 
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
James Francis Paradigm Asset Management
 
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptxmd-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
fatimalazaar2004
 
Template_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
Template_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnTemplate_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
Template_A3nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
cegiver630
 
How iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost FundsHow iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost Funds
ireneschmid345
 
Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...
Pixellion
 
VKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptxVKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptx
Vinod Srivastava
 
Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..
yuvarajreddy2002
 
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbbEDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
JessaMaeEvangelista2
 
computer organization and assembly language.docx
computer organization and assembly language.docxcomputer organization and assembly language.docx
computer organization and assembly language.docx
alisoftwareengineer1
 
Deloitte Analytics - Applying Process Mining in an audit context
Deloitte Analytics - Applying Process Mining in an audit contextDeloitte Analytics - Applying Process Mining in an audit context
Deloitte Analytics - Applying Process Mining in an audit context
Process mining Evangelist
 
Classification_in_Machinee_Learning.pptx
Classification_in_Machinee_Learning.pptxClassification_in_Machinee_Learning.pptx
Classification_in_Machinee_Learning.pptx
wencyjorda88
 

Analyzing Web Archives

  • 1. Analysis of Web Archives Vinay Goel Senior Data Engineer
  • 2. Internet Archive • Established in 1996 • 501(c)(3) non profit organization • 20+ PB (compressed) of publicly accessible archival material • Technology partner to libraries, museums, universities, research and memory institutions • Currently archiving books, text, film, video, audio, images, software, educational content and the Internet
  • 3. IA Web Archive ! ! • Began in 1996 • 426+ Billion publicly accessible web instances • Operate web wide, survey, end of life, selective and resource specific web harvests • Develop freely available, open source, web archiving and access tools
  • 6. Analysis Tools • Arbitrary analysis of archived data • Scales up and down • Tools • Apache Hadoop (distributed storage and processing) • Apache Pig (batch processing with a data flow language) • Apache Hive (batch processing with a SQL like language) • Apache Giraph (batch graph processing) • Apache Mahout (scalable machine learning)
  • 7. Data • Crawler logs • Crawled data • Crawled data derivatives • Wayback Index • Text Search Index • WAT
  • 8. Crawled data (ARC / WARC) • Data written by web crawlers • Before 2008, written into ARC files • From 2008, IA began writing into WARC files • data donations from 3rd parties still include ARC files • WARC file format (ISO standard) is a revision of the ARC file format • Each (W)ARC file contains a series of concatenated records • Full HTTP request/response records • WARC files also contain metadata records, and records to store duplication events, and to support segmentation and conversion
  • 10. Wayback Index (CDX) • Index for the Wayback Machine • Generated by parsing crawled (W)ARC data • Plain text file with one line per captured resource • Each line contains only essential metadata required by the Wayback software • URL, Timestamp, Content Digest • MIME Type, HTTP Status Code, Size • Meta tags, Redirect URL (when applicable) • (W)ARC filename and file offset of record
  • 11. CDX
  • 12. CDX Analysis • Store generated CDX data in Hadoop (HDFS) • Create Hive table • Partition the data by partner, collection, crawl instance • reduce I/O and query times • Run queries using HiveQL (a SQL like language)
  • 13. CDX Analysis: Growth of Content
  • 14. CDX Analysis: Rate of Duplication
  • 15. CDX Analysis: Breakdown by Year First Crawled
  • 16. Log Warehouse • Similar Hive set up for Crawler logs • Distribution of Domains, HTTP Status codes, MIME types • Enable crawler engineer to find timeout errors, duplicate content, crawler traps, robots exclusions, etc.
  • 17. Text Search Index • Use the Parsed Text files: input to build text indexes for Search • Generated by running a Hadoop MapReduce Job that parses (W)ARC files • HTML boilerplate is stripped out • Also contains metadata • URL, Timestamp, Content Digest, Record Length • MIME Type, HTTP Status Code • Title, description and meta keywords • Links with anchor text • Stored in Hadoop Sequence Files
  • 19. WAT • Extensible metadata format • Essential metadata for many types of analyses • Avoids barriers to data exchange: copyright, privacy • Less data than (W)ARC, more than CDX • WAT records are WARC metadata records • Contains for every HTML page in the (W)ARC, • Title, description and meta keywords • Embeds and outgoing links with alt/anchor text
  • 20. WAT
  • 21. Text Analysis • Text extracted from (W)ARC / Parsed Text / WAT • Use Pig • extract text from records of interest • tokenize, remove stop words, stemming • generate top terms by TF-IDF • prepare text for input to Mahout to generate vectorized documents (Topic Modeling, Classification, Clustering etc.)
  • 22. Link Analysis • Links extracted from crawl logs / WARC metadata records / Parsed Text / WAT • Use Pig • extract links from records of interest • generate host & domain graphs for a given period • find links in common between a pair of hosts/domains • extract embedded links and compare with CDX to find resources yet to be crawled
  • 23. Archival Web Graph • Use Pig to generate an Archival Web Graph (ID-Map and ID-Graph) • ID-Map: Mapping of integer (or fingerprint) ID to source and destination URLs • ID-Graph: An adjacency list using the assigned IDs and timestamp info • Compact representation of graph data
  • 24. Link Analysis using Giraph • Hadoop MapReduce not the best fit for iterative algorithms • each iteration is a MapReduce Job with the graph structure being read from and written to HDFS • Use Giraph: open-source implementation of Google’s Pregel • Vertex centric Bulk Synchronous Parallel (BSP) execution model • runs on Hadoop • computation executed in memory and proceeds as sequence of iterations called supersteps
  • 25. Link Analysis • Indegree and Outdegree distributions • Inter-host and Intra-host link information • Rank resources by PageRank • Identify important resources • Prioritize crawling of missing resources • Find possible spam pages by running biased PageRank • Trace path of crawler using graph generated from crawl logs • Determine Crawl and Page Completeness
  • 30. Web Archive Analysis Workshop • Self guided workshop • Generative derivatives: CDX, Parsed Text, WAT • Set up CDX Warehouse using Hive • Extract text from WARCs / WAT / Parsed Text • Extract links from WARCs / WAT / Parsed Text • Generate Archival web graphs, host and domain graphs • Text and Link Analysis Examples • Data extraction tools to repackage subsets of data into new (W)ARC files • https://webarchive.jira.com/wiki/display/Iresearch/Web+Archive+Analysis+Workshop