DataBurst Data Engineering Wiki - Roadmap Step-by-Step: https://wiki.databurst.tech/docs/roadmap/ - Introduction: https://wiki.databurst.tech/docs/roadmap/introduction/ - Programming Language: https://wiki.databurst.tech/docs/roadmap/programming-language/ - Python: https://wiki.databurst.tech/docs/roadmap/programming-language/python/ - Java: https://wiki.databurst.tech/docs/roadmap/programming-language/java/ - Scala: https://wiki.databurst.tech/docs/roadmap/programming-language/scala/ - Go: https://wiki.databurst.tech/docs/roadmap/programming-language/go/ - Rust: https://wiki.databurst.tech/docs/roadmap/programming-language/rust/ - Operating System: https://wiki.databurst.tech/docs/roadmap/operating-system/ - Windows: https://wiki.databurst.tech/docs/roadmap/operating-system/windows/ - Linux: https://wiki.databurst.tech/docs/roadmap/operating-system/linux/ - Networking: https://wiki.databurst.tech/docs/roadmap/networking/ - Protocols: https://wiki.databurst.tech/docs/roadmap/networking/protocols/ - TCP/IP: https://wiki.databurst.tech/docs/roadmap/networking/protocols/tcp/ - DNS: https://wiki.databurst.tech/docs/roadmap/networking/protocols/dns/ - HTTP: https://wiki.databurst.tech/docs/roadmap/networking/protocols/http/ - HTTPS: https://wiki.databurst.tech/docs/roadmap/networking/protocols/https/ - SSH: https://wiki.databurst.tech/docs/roadmap/networking/protocols/ssh/ - UDP: https://wiki.databurst.tech/docs/roadmap/networking/protocols/udp/ - Concepts: https://wiki.databurst.tech/docs/roadmap/networking/concepts/ - IP addressing: https://wiki.databurst.tech/docs/roadmap/networking/concepts/ip-addressing/ - DHCP: https://wiki.databurst.tech/docs/roadmap/networking/concepts/dhcp/ - Firewalls: https://wiki.databurst.tech/docs/roadmap/networking/concepts/firewalls/ - VPN: https://wiki.databurst.tech/docs/roadmap/networking/concepts/vpn/ - General Software Engineering Skills: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/ - OAuth: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/oauth/ - JWT: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/jwt/ - GraphQL: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/graphql/ - REST: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/rest/ - gRPC: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/grpc/ - Caching: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/caching/ - Web Frameworks and API Development: https://wiki.databurst.tech/docs/roadmap/web-frameworks-and-api-development/ - Python: https://wiki.databurst.tech/docs/roadmap/web-frameworks-and-api-development/python/ - Go: https://wiki.databurst.tech/docs/roadmap/web-frameworks-and-api-development/go/ - Java: https://wiki.databurst.tech/docs/roadmap/web-frameworks-and-api-development/java/ - Version Control System: https://wiki.databurst.tech/docs/roadmap/version-control-system/ - git: https://wiki.databurst.tech/docs/roadmap/version-control-system/git/ - Version Control System Hosting: https://wiki.databurst.tech/docs/roadmap/version-control-system-hosting/ - Github: https://wiki.databurst.tech/docs/roadmap/version-control-system-hosting/github/ - Gitlab: https://wiki.databurst.tech/docs/roadmap/version-control-system-hosting/gitlab/ - BitBucket: https://wiki.databurst.tech/docs/roadmap/version-control-system-hosting/bitbucket/ - Distributed Systems Concepts: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/ - CAP: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/cap/ - PACELC: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/pacelc/ - Sharding: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/sharding/ - Clock: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/clock/ - ACID: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/acid/ - Replication: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/replication/ - Distributed Transactions: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/transaction/ - Indexing: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/indexing/ - Batch and Stream Processing: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/batch-and-stream-processing/ - Consistency vs Eventual Consistency: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/consistency-vs-eventual-consistency/ - Normalization or Denormalization: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/normalization-or-denormalization/ - SQL Fundamentals: https://wiki.databurst.tech/docs/roadmap/sql-fundamentals/ - Basic SQL: https://wiki.databurst.tech/docs/roadmap/sql-fundamentals/basic-sql/ - Advanced SQL: https://wiki.databurst.tech/docs/roadmap/sql-fundamentals/advanced-sql/ - Databases: https://wiki.databurst.tech/docs/roadmap/databases/ - Relational: https://wiki.databurst.tech/docs/roadmap/databases/relational/ - NoSQL: https://wiki.databurst.tech/docs/roadmap/databases/nosql/ - Columnar: https://wiki.databurst.tech/docs/roadmap/databases/nosql/columnar/ - Document Based: https://wiki.databurst.tech/docs/roadmap/databases/nosql/document-based/ - Key-Value: https://wiki.databurst.tech/docs/roadmap/databases/nosql/key-value/ - Time Series: https://wiki.databurst.tech/docs/roadmap/databases/nosql/time-series/ - Vector: https://wiki.databurst.tech/docs/roadmap/databases/nosql/vector/ - Graph: https://wiki.databurst.tech/docs/roadmap/databases/nosql/graph/ - NewSQL: https://wiki.databurst.tech/docs/roadmap/databases/nosql/newsql/ - Data Modeling: https://wiki.databurst.tech/docs/roadmap/data-modeling/ - Star Schema (Ralph Kimball): https://wiki.databurst.tech/docs/roadmap/data-modeling/star-schema/ - Snowflake: https://wiki.databurst.tech/docs/roadmap/data-modeling/snowflake/ - Data Vault: https://wiki.databurst.tech/docs/roadmap/data-modeling/data-vault/ - Data Management Architecture: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/ - Relational Data Warehouse: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/relational-data-warehouse/ - Data Lake: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-lake/ - Modern Data Warehouse: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/modern-data-warehouse/ - Data Fabric: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-fabric/ - Data Mart: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-mart/ - Data Lakehouse: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-lakehouse/ - Data Mesh: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-mesh/ - Data Integration: https://wiki.databurst.tech/docs/roadmap/data-integration/ - ETL: https://wiki.databurst.tech/docs/roadmap/data-integration/etl/ - ELT: https://wiki.databurst.tech/docs/roadmap/data-integration/elt/ - CDC: https://wiki.databurst.tech/docs/roadmap/data-integration/cdc/ - Reverse ETL: https://wiki.databurst.tech/docs/roadmap/data-integration/reverse-etl/ - Storage: https://wiki.databurst.tech/docs/roadmap/storage/ - Block Storage: https://wiki.databurst.tech/docs/roadmap/storage/block-storage/ - Object Storage: https://wiki.databurst.tech/docs/roadmap/storage/object-storage/ - File Formats and Serialization: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/ - File Formats: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/ - CSV: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/csv/ - JSON: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/json/ - Parquet: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/parquet/ - XML: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/xml/ - Serialization: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/serialization/ - Avro: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/serialization/avro/ - Protocol Buffers: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/serialization/protobuf/ - Query Engine: https://wiki.databurst.tech/docs/roadmap/query-engine/ - Apache Hive: https://wiki.databurst.tech/docs/roadmap/query-engine/hive/ - SparkSQL: https://wiki.databurst.tech/docs/roadmap/query-engine/sparksql/ - Trino: https://wiki.databurst.tech/docs/roadmap/query-engine/trino/ - Presto: https://wiki.databurst.tech/docs/roadmap/query-engine/presto/ - Data Architecture: https://wiki.databurst.tech/docs/roadmap/data-architecture/ - Kappa: https://wiki.databurst.tech/docs/roadmap/data-architecture/kappa/ - Lambda: https://wiki.databurst.tech/docs/roadmap/data-architecture/lambda/ - Data Processing: https://wiki.databurst.tech/docs/roadmap/data-processing/ - Pipeline Orchestration: https://wiki.databurst.tech/docs/roadmap/pipeline-orchestration/ - Messaging and Streaming Platform: https://wiki.databurst.tech/docs/roadmap/messaging-and-streaming-platform/ - Data Governance: https://wiki.databurst.tech/docs/roadmap/data-governance/ - Data Quality: https://wiki.databurst.tech/docs/roadmap/data-governance/data-quality/ - Data Visualization: https://wiki.databurst.tech/docs/roadmap/data-visualization/ - Containerization: https://wiki.databurst.tech/docs/roadmap/containerization/ - Docker: https://wiki.databurst.tech/docs/roadmap/containerization/docker/ - Podman: https://wiki.databurst.tech/docs/roadmap/containerization/podman/ - containerd: https://wiki.databurst.tech/docs/roadmap/containerization/containerd/ - Container Orchestration: https://wiki.databurst.tech/docs/roadmap/container-orchestration/ - Kubernetes: https://wiki.databurst.tech/docs/roadmap/container-orchestration/kubernetes/ - Docker Swarm: https://wiki.databurst.tech/docs/roadmap/container-orchestration/docker-swarm/ - Apache Mesos: https://wiki.databurst.tech/docs/roadmap/container-orchestration/apache-mesos/ - CI/CD: https://wiki.databurst.tech/docs/roadmap/cicd/ - DataOps: https://wiki.databurst.tech/docs/roadmap/cicd/dataops/ - Infrastructure as Code: https://wiki.databurst.tech/docs/roadmap/infrastructure-as-code/ - Configuration Management: https://wiki.databurst.tech/docs/roadmap/infrastructure-as-code/configuration-management/ - Infrastructure Provisioning: https://wiki.databurst.tech/docs/roadmap/infrastructure-as-code/infrastructure-provisioning/ - Observability: https://wiki.databurst.tech/docs/roadmap/observability/ - Logging: https://wiki.databurst.tech/docs/roadmap/observability/logging/ - Monitoring: https://wiki.databurst.tech/docs/roadmap/observability/monitoring/ - Tracing: https://wiki.databurst.tech/docs/roadmap/observability/tracing/ - Glossary: https://wiki.databurst.tech/docs/roadmap/glossary/
$ curl -i https://api.shop.com/orders/42 # RFC 9110
# HTTP **HTTP** (Hypertext Transfer Protocol) is a request/response protocol: a client sends a **request** naming a method and a resource, and the server sends back one **response** with a status code, headers and an optional body. It started as the protocol for web pages and is now the default for APIs, object storage (every S3 `GET` and `PUT` is an HTTP call), webhooks and most SaaS data sources your pipelines pull from. ## Anatomy of an exchange {{< fig kicker="$ curl -v https://api.shop.com/orders/42" title="One HTTP exchange, then a cached revalidation" >}} CLIENT curl / browser SERVER api.shop.com TCP + TLS handshake GET /orders/42 HTTP/1.1 route → handler → DB 200 OK JSON ETag: "v7" GET /orders/42 If-None-Match: "v7" 304 Not Modified (no body)
NO.STEPFROMTOTYPEINFO
101clientserverCONNECTTCP 3-way handshake + TLS 1.3 (port 443)
202clientserverREQUESTGET /orders/42 HTTP/1.1 · Host: api.shop.com · Accept: application/json · Authorization: Bearer …
304serverclientRESPONSEHTTP/1.1 200 OK · Content-Type: application/json · Content-Length: 312 · Cache-Control: private, max-age=0 · ETag: "v7"
404serverclientBODY{"id":42,"user":"sam","status":"shipped","total":120.0}
505clientserverREQUESTGET /orders/42 · If-None-Match: "v7"
605serverclientRESPONSEHTTP/1.1 304 Not Modified (client reuses its cached copy)
  1. The client wants order 42 from an API.
  2. First a connection: TCP, then TLS for HTTPS. Keep-alive lets later requests reuse it.
  3. The request: a method, a path, a version, then headers. GET has no body.
  4. The server routes the request to code that builds the answer, often with a database query.
  5. The response: a status code, headers that describe the body, then the body itself. The ETag is a version tag for this representation.
  6. Later, the client asks again with If-None-Match. Nothing changed, so the server sends 304 with no body: a cheap cache revalidation.
{{< /fig >}} HTTP is **stateless**: each request carries everything the server needs (credentials, cookies, parameters). Sessions, logins and shopping carts are built on top with headers and tokens. ## Methods | Method | Meaning | Safe | Idempotent | Body | |---|---|---|---|---| | GET | Read a resource | yes | yes | no | | HEAD | GET without the body | yes | yes | no | | POST | Create, or run an action | no | no | yes | | PUT | Replace a resource fully | no | yes | yes | | PATCH | Change part of a resource | no | not necessarily | yes | | DELETE | Remove a resource | no | yes | rarely | **Idempotent** means repeating the request has the same effect as sending it once. It matters for retries: a pipeline can safely retry a timed-out `PUT`, but a retried `POST /payments` might charge twice unless the API supports an idempotency key. ## Status codes | Range | Meaning | Ones to know | |---|---|---| | 2xx | Success | 200 OK, 201 Created, 204 No Content | | 3xx | Look elsewhere | 301/308 moved permanently, 304 Not Modified | | 4xx | Client's fault | 400 bad request, 401 not authenticated, 403 not allowed, 404, 409 conflict, 429 too many requests | | 5xx | Server's fault | 500, 502 bad gateway, 503 unavailable, 504 gateway timeout | Retry 429 and 5xx with exponential backoff (respect the `Retry-After` header). Never blindly retry 4xx: the request itself is wrong. ## HTTP/1.1 → HTTP/2 → HTTP/3 The three versions carry the same methods, headers and status codes; what changed is how requests share the network. The main problem each version fixes is **head-of-line blocking**: one slow or lost piece holding up everything queued behind it. {{< fig kicker="$ curl -sI --http2 https://shop.com" title="Head-of-line blocking in HTTP/1.1, HTTP/2 and HTTP/3" >}} time → (three files: A, B, C) HTTP/1.11 TCP conn HTTP/21 TCP conn ABC HTTP/3QUIC over UDP ABC A: GET → 200 B: GET → 200 C: GET → 200 done ABCA all streams wait ×BCABCABC done ABCA only B waits ×CACACBBB done
  1. A page needs three files, A, B and C, from the same server. Time runs left to right.
  2. HTTP/1.1: one request at a time per connection. B can't start until A's response is complete. Browsers work around it by opening about 6 connections per host.
  3. HTTP/2: all three requests share one TCP connection as interleaved streams. No waiting for a whole response.
  4. One packet carrying B is lost. TCP delivers bytes strictly in order, so frames for A and C that already arrived sit in the buffer until B's packet is resent. Every stream stalls.
  5. HTTP/3 runs on QUIC over UDP. Streams are still multiplexed on one connection, but QUIC orders bytes per stream, not per connection.
  6. The same loss now delays only stream B. A and C keep flowing and the page finishes sooner.
{{< /fig >}} | Version | Transport | What changed | |---|---|---| | HTTP/1.1 (1997) | TCP | Text format, keep-alive connections, one request at a time per connection | | HTTP/2 (2015) | TCP + TLS | Binary frames, many requests **multiplexed** over one connection, header compression. gRPC is built on it. | | HTTP/3 (2022) | QUIC over UDP | No TCP head-of-line blocking, faster connection setup, survives network changes (Wi-Fi to mobile) | Since 2022, RFC 9110 defines these shared semantics separately from the wire formats. ## Common mistakes - **Pulling an API without pagination or rate-limit handling.** Read the `Link` or cursor fields and honor 429s, or the job either misses data or gets banned. - **Using GET for actions with side effects.** Crawlers, prefetchers and caches assume GET is safe. - **Sending credentials over plain HTTP.** Always use [HTTPS]({{< relref "https" >}}). - **Treating every non-200 as fatal.** 201, 204 and 304 are successes too. ## Try it ```bash curl -v https://example.com/ -o /dev/null # the full request and response headers curl -sI https://www.google.com | head -1 # HTTP/2 200: the version the server picked curl -sI --http1.1 https://www.google.com | head -1 # force HTTP/1.1 curl -sI --http3 https://www.google.com | head -1 # needs a curl built with HTTP/3 support ``` ## Learning Resources ### Documentation - [MDN: HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP): the best reference for methods, headers and status codes - [RFC 9110: HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110), [RFC 9112: HTTP/1.1](https://www.rfc-editor.org/rfc/rfc9112), [RFC 9114: HTTP/3](https://www.rfc-editor.org/rfc/rfc9114) ### Books - [HTTP: The Definitive Guide](https://www.oreilly.com/library/view/http-the-definitive/1565925092/): Gourley and Totty, old but still the clearest on fundamentals - [High Performance Browser Networking](https://hpbn.co/): HTTP/1.1, HTTP/2 and performance, free online ### Videos - [HTTP/1 to HTTP/2 to HTTP/3](https://www.youtube.com/watch?v=a-sBfyiXysI): Hussein Nasser See also: [REST]({{< relref "/docs/roadmap/general-software-engineering-skills/rest" >}}), [TCP/IP]({{< relref "tcp" >}}), [UDP]({{< relref "udp" >}}).