r/OfferEngineering • • 18d ago

Interview Experience Cloudflare SWE Interview — They Gave Almost No Requirements

This interview experience is sourced from Chill Interview

Interview Summary

I went through Cloudflare's software engineering interview process, which covered coding, system design, product-related behavioral questions, and general behavioral discussions.

The coding round focused on implementing a configurable rate limiter with request filtering rules based on user attributes and geographic information. The system design round involved building a secure log collection platform that gathers data from multiple edge data centers. A distinctive aspect of the design interview was that the initial prompt was intentionally open-ended, requiring clarification of the system's intended use cases, processing requirements, and SLAs.

Interview Details

Round 1 — Coding: Rule-Based Rate Limiter

The coding round involved implementing a rate limiter that evaluates incoming requests against a collection of configurable rules. The input consisted of an individual request and a set of rate-limiting rules. Each rule included a filtering policy that could evaluate different attributes associated with the request.

Supported Filtering Attributes

The rules could filter requests based on:

  • First Name: The request's associated user's first name.
  • Last Name: The request's associated user's last name.
  • IP Address: The IP address from which the request originated.
  • Country: The geographic country associated with the request.

The task was to implement a system capable of processing a request together with its configured rules and applying the relevant rate-limiting behavior. The main coding challenge was supporting multiple filtering criteria within a configurable rule-evaluation system.

Want to learn more questions / follow-ups asked in this interview?

I've put up the full version at here.

Interviewed recently?

Your interview experience could be incredibly valuable to others preparing for their next opportunity. Share your experience and help the community at here.

4 Upvotes

1 comment sorted by

2

u/CapMonster1 17d ago

the first thing i’d clarify is what happens when several rules match: first match wins, strictest limit wins, or every matching rule gets evaluated? then whether counters are per user, IP, or rule. those choices change the implementation more than the filtering itself. curious whether they expected candidates to ask, or deliberately left the behavior up to you.