2dbi
Home/Cloudflare/Build a Log Parser / Simple HTTP Server (Practical)
CCloudflare·DSASWE-2Onsite – Coding (Practical)

Build a Log Parser / Simple HTTP Server (Practical)

Problem

Build a small log parser that ingests access logs and reports top URLs, error rates, and p95 latency — or a basic HTTP server with routing. Cloudflare favors realistic mini-projects.

Example

parse N lines -> {top_paths, error_rate, p95_latency}

Constraints

  • Stream-friendly; handle malformed lines

What Cloudflare looks for

Clean modular code, edge-case handling, and tests. Discuss streaming vs buffering for large logs.

added 6 days ago
LeadersAccount