• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 9 páginas
Otro

Cs 121 Final Study Guide

Document preview thumbnail
Vista previa 2 fuera de 9 páginas

Cs 121 Final Study Guide

Vista previa del contenido

CS 121 FINAL STUDY GUIDE

Universal Resource Locators (URL) - Answers - - URL (locator) vs URN (name)
- Locator must specify where the resource is

Anatomy of URL - Answers - - Web pages are stored on web servers that use HTTP to
exchange information with client software

URL: General Syntax - Answers - -
scheme://domain:port/path?query_string#fragment_id

URL Syntax: Scheme - Answers - - http(s), ftp, mailto, file, data, ...

URL Syntax: Domain:port - Answers - - Authority part. Domain = host

URL Syntax: Path - Answers - - map to a file system path

URL Syntax: Query_String - Answers - - sequence of attribute-value pairs separated by
a delimiter

URL Syntax: Fragment_id - Answers - - Provides direction to a secondary resource or
element

General Web Page Retrieval Process - Answers - 1. Web Crawler client program
connects to a DNS server
2. DNS server translates hostname into internet protocol (IP) address
3. Crawler attempts to connect to server host using specific port
4. Crawler sends an HTTP request to the web server to request a page (usually a GET
request)

Different flavors of data collection - Answers - 1. Data Dumps
2. URL Downloads
3. Web APIs
4. Web Crawling

Web Data Collection: Data Dumps - Answers - - Sites may package their data
periodically and provide it as a "dump"

Web Data Collection: URL Downloads - Answers - - Two Step process:
- Crawl to find out the URLs of specific resources
- Run a downloaded that takes that list and downloads the resources

Web Data Collection: Web APIs - Answers - - Sites may provided REST interface for
getting at their data
- Usually higher-level: avoids having to parse HTML

, - Usually restrictive: only part of the data

Web Data Collection: Web Crawling - Answers - - Like people, getting HTML pages and
other documents and discovering new URLs as it goes
- Web admins don't like crawlers

Web Crawling: Algorithm - Answers - 1. Initialize a queue of URLs (seeds)
2. Repeat until no more URLs in queue:
-a. Get one URL From the queue
-b. If the page can be crawled, fetch associated page
-c. Store Representation of page
-d. Parse and extract URLs from page and add them to the queue

- Queue = "Frontier"

Web Crawling: Freshness - Answers - - Freshness referes to the proportion of pages
that are fresh
- Not possible to constantly check all pages
- Optimizing for Freshness vs. Relevance can lead to bad decision, such as not crawling
popular sites

Web Crawling: Sitemaps - Answers - - Sitemaps are xml files hosted on the web
- Allow web masters to send info to crawlers

Web Crawling Challenges - Answers - - Performance
- Politeness
- Crawler Traps
- Duplicate Detection
- Data Noise
- Content Missed

Web Crawling Challenges: Performance - Answers - - Back of the envelope calculation
- 1 Page Fetch = 500 ms
- 1 DNS lookup = 800 ms
- Crawler thread waits for responses to request
- Solution: multi-threaded or distributed (servers) crawling

Performance Challenges: Distributed Crawling - Answers - - Helps to put the crawler
closer to the sites it crawls
- Reduces the number of sites the crawler has to remember
- Reduces computing Resources required

Performance Challenges: Focused Crawling - Answers - - Focus on pages about a
particular topic (vertical search)
- Rely on the fact that pages about a topic tent to have links to other pages on the same
topic

Información del documento

Subido en
4 de octubre de 2026
Número de páginas
9
Escrito en
2026/2027
Tipo
Otro
Personaje
Desconocido
$14.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Greaterheights
4.0
(224)
Vendido
1178
Seguidores
882
Artículos
20955
Última venta
14 horas hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes