Comet · Software Engineer
Updated · 2026-10-02

Comet Software Engineer
Interview Guide

THE 60-SECOND BRIEF

Candidate reports describe Comet's Software Engineer role as backend and infrastructure work: core backend services, data pipelines and high-concurrency systems. The reports do not name a specific consumer product, customer or tech stack, so this guide does not guess at one. What they do state is that the engineer designs, builds and maintains the systems behind the product, and that reliability and scale are the recurring themes. For preparation, treat the role as a backend position where you will be asked to reason about traffic growth, data stores, availability and how you would test and operate what you build.

This guide is for engineers preparing for Comet's Software Engineer loop, including the SDE-2 level that candidates mention, where the reported experience range is roughly three to six years. It covers the three reported rounds, the seven reported questions (system design, schema design, architecture trade-offs, testing, prioritisation and a performance story), and a plan that also points to PracHub's own practice set for coding, SQL paging, debugging and behavioral drills.

Candidates report three rounds over roughly three to five weeks: Technical Screening, Deep-Dive Interviews and a Practical Assessment that is described as a hands-on coding or system design task.

Interview AssessmentsTime-Constrained Coding/Design TasksSystem Design

31 min read

Browse Software Engineer questions

See the practice prompts

14Practice promptsAcross five skill areas

The reported questions cluster around one theme: how a backend system behaves as load, data volume and requirements change. Four of the seven are design or architecture questions (a high-scale traffic scenario, high availability, schema design for a fast-changing product, and microservices versus a monolith). Two cover engineering practice (testing distributed systems, and prioritising when scope exceeds time). One is a story about optimising slow code. That mix means you need a repeatable way to structure a design answer, plus two or three real stories from your own work.

The topics candidates list under architectural scalability are load balancing, database sharding and replication, and caching layers, with example prompts about a sudden tenfold spike in API traffic and which metrics to watch. Prepare these as a chain rather than three separate facts: where traffic first saturates, what a balancer or cache buys you, what sharding or replication costs in consistency and operations, and how you would notice trouble before users do.

The role lists a strong backend language, distributed-systems experience and familiarity with relational or NoSQL databases as must-haves, and cloud infrastructure (AWS or GCP), Kubernetes and CI/CD as extras. Be ready to explain how your main language and framework behave under the hood, and to name concrete tools you have used for deployment and monitoring. Do not claim stack knowledge you cannot defend in detail.

Candidates also report that the practical stage can be a take-home, that it can be intensive for SDE-2 roles, and that writing down assumptions and constraints alongside the code matters. Practise producing a small, correct, tested solution with a short written rationale, rather than a large one. Since the reported emphasis is on explaining why a design was chosen, rehearse stating the alternative you rejected and the cost of your choice in every answer.

01

Technical Screening

reported

Candidates describe the Technical Screening as an initial check of technical skill and fit for the role. Little else is reported about its format, so prepare for a conversation that can touch your primary language, the frameworks you rely on and a compact design scenario. Candidates also say that work arrangements (hybrid or remote, which varies by team) get clarified at the initial screen, so bring that question with you. Aim for short, structured answers: state the requirement, the main trade-off and your choice.

What to demonstrate

  • Core technical skill at an introductory level, as the stage is described
  • Fit for the role and the team
  • Clarity in explaining how your primary language and frameworks work

How to prepare

  • Pick your main backend language and rehearse how its runtime, concurrency model and common framework behave under load.
  • Practise a two-minute design answer for a sudden tenfold spike in API traffic: load balancing, caching, replication, and what you would monitor.
  • Prepare a short account of the largest system you owned: its data store, its failure modes and what you changed.
  • Write the questions you want answered about team, stack and work arrangements.
Comet Software Engineer candidate reports ↗
02

Deep-Dive Interviews

reported

The Deep-Dive Interviews are reported as in-depth sessions on specific technical competencies and problem solving. This is where the schema design, high availability, microservices versus monolith and testing questions fit by type. Candidates also report that failing to articulate trade-offs is a common stumbling block, so every answer should end with the option you rejected and why. Expect to go deeper than a first pass: follow your own answer to the failure case and the cost.

What to demonstrate

  • Depth in specific technical areas such as data stores, availability and architecture style
  • Methodical problem solving, including how requirements are narrowed before designing
  • Ability to explain the reasoning and trade-offs behind a design

How to prepare

  • Work the schema question end to end: start from the access patterns, then evolve a table with additive changes and backfills while the product keeps shipping.
  • Write a one-page comparison of a monolith and microservices for a team of your size, naming the operational cost of each.
  • List the availability patterns you can defend (redundancy, health checks, failover, graceful degradation, retries with limits) and the failure each one does not cover.
  • Prepare your distributed-systems testing answer: unit and contract tests, integration with real dependencies, fault injection and load tests.
Comet Software Engineer candidate reports ↗
03

Practical Assessment

reported

The Practical Assessment is reported as a hands-on coding or system design task, and candidates say a take-home version can appear for SDE-2 roles and can be intensive. The reported advice is to finish the core requirements first, then add extras, and to write down the assumptions and constraints behind your choices. Treat the written rationale as part of the deliverable. If the task is live, narrate the same decisions aloud.

What to demonstrate

  • Working, readable code or a coherent design produced from a concrete brief
  • Prioritisation when the scope is larger than the time available
  • Documented assumptions and a justified approach

How to prepare

  • Do PracHub's coding practice (rolling failure rate, overlapping job attempts, redelivered event batch) under a self-imposed limit, and finish each with tests.
  • After each exercise, write a short note listing your assumptions, what you cut and what you would add next.
  • Practise a small design task end to end: requirements, API, data model, one bottleneck and one failure mode.
  • Rehearse your answer to scope exceeding time: what is mandatory, what is deferred and how you would say so.
Comet Software Engineer candidate reports ↗

PracHub editorial advice for the preparation topics above.

01

Answering the traffic-spike design with a list of components and no numbers or bottleneck

Estimate request rate, payload size and data volume first, find the first resource to saturate, then add a balancer, cache or replica only where it relieves that point. Finish with the metrics you would watch.

02

Declaring microservices or a monolith the better choice without tying it to team size and operations

Compare them on deployment independence, data ownership, network failure modes, debugging and the team that must run them. Say when you would split a monolith and what you would extract first.

03

Designing the schema for today's fields and ignoring how it changes in production

Start from access patterns and key queries, then explain additive migrations, backfills in batches, nullable-then-required columns and when a flexible column is justified over a new table.

04

Spending the practical assessment on extra features while core requirements are shaky or untested

Implement the stated requirements first, write tests for the edge cases, then add extras. Put assumptions, constraints and what you deliberately left out in a short written note.

05

Describing testing of distributed systems as unit tests only

Name the layers: unit, contract tests between services, integration against real dependencies, and fault injection for timeouts, retries and partial failure. State what each layer cannot catch.

Choose a category, try a prompt, then open its approach, worked solution or follow-up when you need it.

11 technical prompts0 include a worked solution

Track a rolling failure rate per destination for circuit decisions

easy
sliding windowring buffercircuit breaker

The egress service delivers about 1,500 webhooks per second across roughly 40,000 destinations, each call bounded by a 10 second timeout. Maintain, per destination, the failure rate over the trailing 60 seconds so a caller can ask before dispatch whether the circuit should open. Attempts arrive as (destination_id, finished_at_ms, outcome). Requirement: amortised O(1) per attempt, with total memory bounded by the destination count rather than by traffic. Give the structure, its exact memory, and the rule that stops a destination with three attempts from opening a circuit.

Approach
  1. Name the exact-deque version and then reject it as the default. Holding timestamps and advancing a tail pointer past anything older than now minus 60 seconds is a correct two-pointer window at amortised O(1) per attempt, but its memory tracks in-window traffic, so one destination in a retry storm holds hundreds of thousands of entries while thousands of quiet destinations hold none.
  2. Use a ring of 60 one-second buckets per destination, each bucket a pair of counters for attempts and failures. On an attempt, advance the ring by the elapsed whole seconds, zeroing at most min(elapsed, 60) buckets, then increment the head. That is amortised O(1) with a fixed footprint per destination.
  3. State the footprint: 60 buckets times two 4-byte counters is 480 bytes of payload per destination, so 40,000 destinations is roughly 20 to 25 MB with per-entry overhead, bounded by the catalogue rather than by the rate. The cost is granularity, since the oldest bucket ages out in whole seconds, which is far tighter than the decision needs.
  4. Require a minimum sample before the circuit may open. A destination with three attempts and three failures reads as 100 percent and is not evidence; a floor of roughly 20 attempts in the window makes the ratio meaningful, and below that floor use a run of consecutive failures as the trigger instead.
Follow-up
  • The fleet is 30 instances and each sees roughly a thirtieth of a destination's traffic. Where does the rate actually live, and what does a per-instance answer get wrong?
  • A destination answers in 9.5 seconds and succeeds. It is not failing but it is consuming your per-destination concurrency. What signal should open the circuit here?

Find overlapping job attempts and peak concurrency from lease records

medium
sweep lineintervalsleases

A day of job_run history yields about 50,000,000 attempt records: (job_run_id, job_type, attempt, started_at, finished_at which is NULL when the worker died, lease_expires_at). Leases expire on a clock, so a job that outran its lease ran twice. Produce (a) every job_run_id whose attempts overlapped in wall-clock time and (b) the peak number of simultaneously running attempts per job_type with the minute it occurred. Target O(n log n). State how you treat a NULL finished_at and what clock skew does to your answer.

Approach
  1. Define the interval before sorting anything: an attempt occupies [started_at, COALESCE(finished_at, lease_expires_at)). finished_at is observed and lease_expires_at is only a promise, so every attempt without a finish contributes an estimate and the whole result is a lower bound on overlap rather than an exact count.
  2. For peak concurrency, sweep: emit 2n endpoints, sort by (timestamp, kind) with ends ordered before starts at equal timestamps, then walk the sequence maintaining a counter per job_type and record each type's maximum with its timestamp. O(n log n) dominated by the sort, O(n) space, or O(1) extra if the sort is external and the walk streams.
  3. For overlap detection, do not compare attempts pairwise. A single global sort by (job_run_id, started_at) gives both the grouping and the order; within a group, keep the maximum end seen so far and report an overlap exactly when the next start is less than that running maximum, which is one linear pass after the sort.
  4. Half-open intervals matter and are easy to get wrong: with closed intervals an attempt ending at the same millisecond another begins reads as concurrency two, and across 50,000,000 records that artefact swamps the real signal.
Follow-up
  • A handler is not idempotent and you have found 400 overlapping jobs. Which of them actually caused damage, and what would you query to find out?
  • Peak concurrency for one job_type is 4 against a configured cap of 4. Is the cap working, or is the data hiding attempts that never started?

Collapse a redelivered event batch into per-aggregate high-water marks

easy
hashingat-least-onceaggregation

You drain a batch of up to 5,000,000 events, each (aggregate_id BIGINT, aggregate_version INT, event_type, payload). The log guarantees order within one aggregate only; the batch merges 64 partitions, and a relay failover has redelivered a range, so an older version for an aggregate can appear after a newer one. Given a map of last_applied_version per aggregate, produce the events worth applying, at most one per (aggregate_id, version), plus the count discarded. Target O(n) time. State the memory for 2,000,000 distinct aggregates and what you do when it does not fit.

Approach
  1. One pass, one hash map from aggregate_id to the highest version kept, and a discard counter. An event whose version is at or below last_applied_version for its aggregate is dropped without further work, which is the whole reason the event carries its version rather than a delta. O(n) expected time, O(d) space in distinct aggregates.
  2. Keep the maximum, never the last occurrence. The redelivered range means the final appearance of an aggregate in the batch can be an older version than one seen earlier in the same batch, so last-wins applies stale state over newer state and the projection regresses with no error anywhere.
  3. Cost the memory instead of calling it large: an 8-byte key plus a 4-byte version is 12 bytes of payload, and an open-addressed table held at a 0.7 load factor costs roughly 17 bytes per entry before per-slot metadata, so 2,000,000 aggregates is tens of megabytes in a native layout and several times that in a runtime that boxes both key and value.
  4. If the distinct set exceeds memory, partition on hash(aggregate_id) mod P and reduce each partition independently. Every event for one aggregate hashes to the same partition, so the per-partition result is exact and the merge is concatenation rather than a second reduction.
Follow-up
  • The payload is a patch rather than a snapshot, so applying only the highest version loses the intermediate changes. What changes in your reduction?
  • How do you detect that version 7 arrived while version 6 was never delivered, and what should the consumer do about the gap?

The plan follows the three reported rounds: system design and scalability first, then schema and architecture trade-offs, then hands-on coding and the written rationale. It uses PracHub's practice set for coding, paging, debugging and behavioral drills alongside the reported questions.

Small steps. Visible outcomes.0 / 7 completed
ONE WEEK · YOUR PACE

Prepare, practise & reflect

One practical outcome each day. Spend longer where you need it.

0 / 7 done
01Map the loop and your stack
  • Write the three reported rounds in order and note what each type of question needs from you.
  • List your primary language, database and deployment tools, and write two sentences on how each behaves under load.
  • Pick two projects from your own work to mine for stories on performance and trade-offs.

Deliverable: A one-page loop map, a stack summary and two chosen project stories.

02Design for a traffic spike
  • Answer the high-scale traffic design question aloud for a tenfold jump in API traffic, covering estimation, load balancing, caching and replication.
  • Add the monitoring you would put in place: latency percentiles, error rate, saturation and queue depth.
  • Redo the answer with one dependency down and record how it degrades.

Deliverable: A written design outline with capacity estimates, a metrics list and a failure case.

Practice prompt ↗
03High availability and architecture style
  • Write the high-availability patterns you would use, and for each the failure it does not protect against.
  • Prepare a monolith-versus-microservices comparison with a recommendation for a small team and one for a large organisation.
  • Say aloud when you would extract a service from a monolith.

Deliverable: A pattern table with limits, and two recommendations with reasons.

Practice prompt ↗Practice prompt ↗
04Schema design and data access
  • Design a schema for a product whose fields keep changing, then script three live migrations with backfills.
  • Work PracHub's practice on replacing offset paging with keyset paging and note when offset breaks down.
  • Write a note comparing relational and NoSQL choices for the same data.

Deliverable: A schema with a migration plan, the keyset paging solution and a relational-versus-NoSQL note.

Practice prompt ↗Practice prompt ↗
05Timed coding for the practical assessment
  • Solve PracHub's rolling failure rate, overlapping job attempts and redelivered event batch problems in turn, with a self-imposed limit.
  • Write tests for edge cases on each, including empty input, ties and out-of-order data.
  • After each, write a short note of assumptions and what you cut.

Deliverable: Three working solutions with tests and three short assumption notes.

Practice prompt ↗Practice prompt ↗Practice prompt ↗
06Testing, debugging and prioritisation
  • Outline a test strategy for a multi-service system covering unit, contract, integration and fault-injection layers.
  • Work PracHub's debugging practice on the periodic latency sawtooth and write your diagnostic steps in order.
  • Answer the scope-exceeds-time question with a concrete prioritised list from a past project.

Deliverable: A layered test plan, a written diagnostic sequence and a prioritised scope list.

Practice prompt ↗Practice prompt ↗Practice prompt ↗
07Stories and full dry run
  • Write your performance optimisation story with baseline, diagnosis, options, fix and measured result.
  • Rehearse PracHub's deadline-debt and unblocking behavioral prompts with a second story each.
  • Run one full mock: a design question, a coding task and your story, then record two questions for the interviewer.

Deliverable: A finished optimisation story, two supporting stories and a completed mock with two questions.

Practice prompt ↗Practice prompt ↗Practice prompt ↗

Expand any day for tasks and deliverables. Your progress is saved on this device.

The reported behavioral material for this loop is about engineering judgement: how you found and fixed a slow code path, and how you prioritise when requirements exceed available time. Candidates also report that explaining the why behind decisions and admitting a suboptimal choice matter, so pick stories where you made the call, gave evidence and can state what you would change.

Describe a time you had to optimize a piece of code that was causing performance bottlenecks.

medium
Problem-Solving and Technical Execution

Describe a time you had to optimize a piece of code that was causing performance bottlenecks.

Approach
  1. Choose a case where you found the bottleneck by measurement: a profiler or flame graph, a query plan, or latency percentiles from monitoring. Open with the before number (for example p95 latency or CPU for one endpoint) so the improvement has a baseline. Use only figures you actually measured.
  2. Spend your time on diagnosis and options. Say what you ruled out, what the hot spot was (an N+1 query, a missing index, an accidental quadratic loop, repeated serialization, lock contention) and the two or three fixes you weighed with their costs in complexity and risk.
  3. Describe the change you chose and why it was proportionate: a targeted fix, not a rewrite. Give the after number from the same workload and say how you confirmed it, such as a benchmark, a canary or a load test.
  4. Cover safeguards: how you checked that behaviour stayed correct, what could have broken, how you could roll back, and any regression test or alert you left behind.
  5. Avoid the stories that sink this answer: no baseline or proof of cause, credit that belongs to the team, or optimising something that was never a user-visible problem.
Follow-up
  • How did you know your change, and not traffic or caching effects, caused the improvement?
  • What did the optimisation cost in readability or maintenance, and would you accept that trade again?
  • How did you decide this was worth fixing now rather than leaving it?

Ship under a deadline and bound the debt you chose

medium
paginationtechnical debttradeoffs

You have four days to ship a tenant-facing listing endpoint. The version you would defend uses keyset pagination over (tenant_id, status, updated_at DESC, resource_id DESC); the version you can finish uses LIMIT/OFFSET with no matching index. Describe a deadline call you actually made of this shape: what you shipped, what you knowingly deferred, how you bounded the damage with a mechanism rather than an intention, and the specific numeric condition that would force the follow-up. Name who you told and where you wrote it down.

Approach
  1. Name the deferred failure precisely instead of calling it slow. OFFSET n makes the database produce and discard n rows, so cost grows with page depth; without an index matching the sort, every matching row is read and sorted before the limit applies; and rows inserted between two page fetches shift across the boundary so items are skipped or repeated with nothing in the response to signal it.
  2. Bound the blast radius with something mechanical rather than a promise: cap maximum page depth, cap page size, restrict the endpoint to one internal caller, or keep it behind a flag. State which failure each cap removes and which it leaves standing.
  3. Attach a number to the trigger and wire it to an alarm: the first tenant crossing N resources, or the endpoint's p99 crossing its share of the 400 ms budget, so the debt announces itself instead of waiting to be remembered.
  4. Write it where the next engineer looks, which is the code and the ticket, not a chat message: what was deferred, why, the cap, and the trigger.
Follow-up
  • At what page depth does the offset version breach your latency budget, given your page size and row counts?
  • What breaks first when you switch to keyset pagination later, and what does a client holding an old page token see?

Unblock an engineer without taking the keyboard

easy
mentoringleasesat-least-once

A teammate has spent two days on a job handler that occasionally writes duplicate rows. They are certain the queue is delivering twice by mistake. You suspect a lease expiring under a slow handler, so the job is running concurrently with itself. Describe how you have unblocked someone in this position: what you asked before offering a hypothesis, what you showed them rather than told them, and what you left them owning. Then say what you would do if their theory turned out to be the right one.

Approach
  1. Ask before diagnosing, and ask for things answerable from data they already have: the attempt count on the job rows that produced duplicates, the handler's observed duration against its lease expiry, and whether the duplicate rows share a natural key that a unique constraint could have caught.
  2. Teach the shape rather than the answer. A lease cannot distinguish a dead worker from a slow one, so a handler that outruns its lease is running twice by design, and deploys deliver the other half by killing handlers mid-run on every rollout. Both of their candidate theories produce identical duplicate rows, which is why the evidence has to come from timings rather than from argument.
  3. Hand over a checklist they execute: a natural key on every write the handler performs so the second copy collides rather than appends, the record of intent written before any external effect, a lease heartbeat while running, and the metric that shows it working.
  4. Keep ownership with them deliberately. Pair on the first write, then step back; if you finish it yourself you have closed one ticket and left the same person stuck on the next redelivery.
Follow-up
  • How would you distinguish a genuine double-delivery from a lease expiry using only the data already stored?
  • Their handler calls an external endpoint before recording that it did. What do you tell them to change first?
  • 01

    Describe a time you had to optimize a piece of code that was causing performance bottlenecks.

  • 02

    Given a set of requirements, how do you prioritize tasks when the scope is larger than the available time?

  • 03

    Tell me about a design decision you later realised was suboptimal. What did you change and how did you explain it?

  • 04

    Describe a time you shipped under a deadline, what you deliberately deferred and how you limited the risk.

  • 05

    Tell me about a time requirements were ambiguous or changing. How did you turn them into concrete technical tasks?

PracHub preparation framework ↗
How long should I spend on the take-home assessment?

Candidates report that a take-home can appear for SDE-2 roles and can be intensive, but give no fixed time. Decide your own limit before you start, finish the core requirements first, and add extras only afterwards. Include tests and a short written note of your assumptions and constraints.

Comet Software Engineer candidate reports ↗
What do candidates say causes rejection?

Candidates report that people struggle when they cannot explain trade-offs, not only when the code fails. For each design or code choice, practise stating what you chose, what you rejected and what your choice costs.

Comet Software Engineer candidate reports ↗
Does Comet offer remote or hybrid work?

Candidates report that arrangements depend on the team and are clarified during the initial screen. Ask about it in the first conversation instead of assuming.

Comet Software Engineer candidate reports ↗
What topics do Comet interviews cover?

Candidates report system design and scale topics (load balancing, sharding and replication, caching), schema design, availability, microservices versus monolith, testing of distributed systems, prioritisation and a performance story. Hands-on coding or design appears in the practical stage.

Comet Software Engineer candidate reports ↗
How many rounds are there and how long does the process take?

Candidates report three rounds, Technical Screening, Deep-Dive Interviews and a Practical Assessment, over roughly three to five weeks. They also say it can vary with the team and your seniority.

PracHub Software Engineer practice ↗
What background does the Software Engineer role call for?

The requirements candidates describe list proficiency in a major backend language, distributed systems experience and a solid grasp of relational or NoSQL databases. AWS or GCP, Kubernetes and CI/CD experience are listed as extras, and SDE-2 is described as typically three to six years of experience.

PracHub Software Engineer practice ↗
Sources & methodology 3 sources ↗

No official company page is cited. Rounds and questions come from candidate reports and PracHub editorial material; each source shows the date it was read.