Interview guides · JioHotstar
JioHotstar Software Engineer Interview Guide
JioHotstar Software Engineer interview guide: reported rounds, questions and how candidates describe the process.
The 60-second brief
As a Software Engineer at JioHotstar, you are at the heart of one of the world’s most demanding streaming ecosystems. You are not just writing code; you are building the infrastructure that handles massive, concurrent traffic spikes during live sporting events and high-demand entertainment releases. Your work directly impacts the quality of experience for millions of users, requiring a deep commitment to performance, scalability, and system reliability. This role is critical because JioHotstar operates at a scale where minor inefficiencies in code or architecture can lead to massive service disruptions. You will be expected to tackle complex problems ranging from low-level data structure optimizations to high-level system design, ensuring that the platform remains robust under pressure.
This guide is scoped to a Software Engineer candidate at JioHotstar.
Focus areas
- Data Structures & Algorithms (DSA)
- High-Level Design (HLD)
- Golang (Go) Proficiency
The JioHotstar interview process
JioHotstar candidates report 3 rounds over 3-5 weeks. The stages below are what candidates describe, not a published process.
Technical Screening
Initial assessments focusing on hands-on coding skills.
What to demonstrate
- Initial assessments focusing on hands-on coding skills
- Depth in Data Structures & Algorithms (DSA)
How to prepare
- Answer aloud and timed: Dijkstra-based graph problem (medium–hard)
- Answer aloud and timed: Monotonic stack-based problem (medium–hard)
Project Deep-Dive
In-depth discussion of past projects to evaluate practical experience.
What to demonstrate
- In-depth discussion of past projects to evaluate practical experience
- Depth in Data Structures & Algorithms (DSA)
How to prepare
- Answer aloud and timed: Optimization strategies for time and space complexity
- Answer aloud and timed: Handling large-scale data processing in memory
High-Level Design Assessment
Evaluation of system design patterns and architectural thinking.
What to demonstrate
- Evaluation of system design patterns and architectural thinking
- Depth in Data Structures & Algorithms (DSA)
How to prepare
- Answer aloud and timed: Design a system similar to Uber
- Answer aloud and timed: Strategies for handling high throughput in distributed systems
Where candidates lose points
Think out loud
Your interviewer is interested in your thought process, not just the final code. Explain your assumptions and the constraints you are considering.
Master your past projects
Be ready to explain the most difficult technical challenge you have faced in the last two years and how you solved it.
Focus on performance
Always consider the "what if" scenarios—what if the data size doubles? What if the network latency increases?
Do not gloss over the details of your past projects
Be prepared to go deep into the specific technologies and architectural patterns you used.
Questions & practice
Dijkstra-based graph problem (medium–hard)
Medium · Data Structures and Algorithms
Approach
- Restate the input: its shape, its size, and what is guaranteed about it.
- Name the brute-force solution and its complexity before improving on it.
- Choose the data structure from the access pattern, not from familiarity.
- State the target complexity and say which constraint rules the naive version out.
Follow-up
- How does this change if the input no longer fits in memory?
- What is the worst case, and how likely is it on real data?
Monotonic stack-based problem (medium–hard)
Medium · Data Structures and Algorithms
Approach
- Restate the input: its shape, its size, and what is guaranteed about it.
- Name the brute-force solution and its complexity before improving on it.
- Choose the data structure from the access pattern, not from familiarity.
- State the target complexity and say which constraint rules the naive version out.
Follow-up
- How does this change if the input no longer fits in memory?
- What is the worst case, and how likely is it on real data?
Optimization strategies for time and space complexity
Medium · Data Structures and Algorithms
Approach
- Restate the input: its shape, its size, and what is guaranteed about it.
- Name the brute-force solution and its complexity before improving on it.
- Choose the data structure from the access pattern, not from familiarity.
- State the target complexity and say which constraint rules the naive version out.
Follow-up
- How does this change if the input no longer fits in memory?
- What is the worst case, and how likely is it on real data?
Handling large-scale data processing in memory
Medium · Data Structures and Algorithms
Approach
- Say what the runtime actually does before reasoning about the code.
- Name what is shared across threads and what owns each piece of state.
- Identify the window where an invariant is briefly untrue.
- Distinguish a value from a reference to it, and say which one you handed out.
Follow-up
- What happens if two callers reach this at the same time?
- Where could this allocate more than you expect?
Managing concurrency and race conditions in high-traffic environments
Medium · System Design and Architecture
Approach
- Say what the runtime actually does before reasoning about the code.
- Name what is shared across threads and what owns each piece of state.
- Identify the window where an invariant is briefly untrue.
- Distinguish a value from a reference to it, and say which one you handed out.
Follow-up
- What happens if two callers reach this at the same time?
- Where could this allocate more than you expect?
Denormalise tenant onto revisions and backfill it live
Hard · denormalisation · online migration · backfill
resource_revision (revision_id, resource_id, version, actor_user_id, change_kind, patch, request_id, created_at) has 400M rows and no tenant column; tenant_id lives only on resource. Two reads need it: a tenant-scoped audit feed ordered by created_at DESC, and an offboarding purge. Both join back to resource today. Justify adding tenant_id to resource_revision against those two reads, name the anomaly the copy introduces and the constraint that prevents it, then give the ordered migration for a live table taking 1.2k writes/second — the lock each step takes, how the backfill is batched, and where each step stops being reversible. PostgreSQL 16.
Approach
- Justify from the access path rather than from taste. Without the column, the audit feed either scans resource_revision by created_at and discards other tenants' rows, or resolves the tenant's resource_ids first and probes with them — both proportional to the tenant's whole history rather than to one page. With (tenant_id, created_at DESC, revision_id DESC) it is a seek that stops at 50 rows, and the purge becomes a ranged delete instead of a join.
- Name the cost exactly: a second copy of a fact can disagree with the first. Make the disagreement unwritable rather than documented — add UNIQUE (resource_id, tenant_id) on resource so it can serve as a foreign-key target, then FOREIGN KEY (resource_id, tenant_id) REFERENCES resource (resource_id, tenant_id) on the revision table. A revision can then only ever carry its parent's tenant.
- Step one, expand: ALTER TABLE resource_revision ADD COLUMN tenant_id BIGINT NULL, with no default, so it is a catalogue change and no rewrite. It still needs ACCESS EXCLUSIVE for an instant, and that instant queues behind the longest open transaction on the table while every later query queues behind it — set lock_timeout to 2s and retry rather than wait.
- Step two, dual-write: deploy the writer that populates tenant_id on every new revision while reads still use the join. Reversible by redeploying the previous build, because nothing reads the column yet.
Follow-up
- The backfill is half finished and a rollback is required. What state is the table in, and what does the previous build do with a half-populated column?
- How do you verify the backfill actually finished, given rows are still being inserted while it runs?
Explain why the owner filter ignores the listing index
Medium · composite index · query plans · sort elimination
The only index on resource is (tenant_id, status, updated_at DESC, resource_id DESC). A new endpoint returns one user's resources across all statuses, newest created first: WHERE tenant_id = $1 AND owner_user_id = $2 ORDER BY created_at DESC LIMIT 20. On a tenant with 2M rows it takes 900 ms and EXPLAIN shows a sort above a large scan. Explain precisely why the existing index cannot serve it, give the index that can, and state which of these the new index still will not help: owner_user_id alone across tenants; the same query ordered by updated_at. PostgreSQL 16.
Approach
- Separate the two jobs an index does. For filtering, a composite btree is seekable only on a left prefix, so with no predicate on status the scan can at best range over tenant_id and test owner_user_id per row; PostgreSQL 16 has no btree skip scan to jump the unconstrained column.
- For ordering, the index is sorted by (status, updated_at) within a tenant and not by created_at, so the LIMIT cannot stop early: every matching row is read and then sorted. That is the 'Sort Method: top-N heapsort' line, and it is why the plan reads 2M rows to answer with 20.
- Derive the replacement from the access path — equality, equality, then the ordering column: CREATE INDEX CONCURRENTLY ON resource (tenant_id, owner_user_id, created_at DESC). The scan seeks to the (tenant, owner) range and walks 20 entries in order, so the Sort node disappears along with the row-read.
- Treat INCLUDE (title, status) as conditional, not free. An index-only scan still visits the heap for any row whose page is not marked all-visible, so on a table taking 1.2k writes/second the win depends on autovacuum keeping the visibility map current, and the wider index costs more on every insert.
Follow-up
- 90% of rows are status='active'. Would a partial index WHERE status = 'active' change your answer, and for which of the three queries?
- A dashboard runs this for 40 owners in one page load. What changes about the design?
Design a system similar to Uber
Medium · System Design and Architecture
Approach
- Fix the scope first: who calls this, how often, and what they do when it fails.
- Name the read and write paths separately; they rarely have the same bottleneck.
- Choose a partition key and say what query it makes expensive.
- State the consistency you need, and where you are willing to be stale.
Follow-up
- What breaks first when traffic grows ten times?
- How does this behave when that dependency is down for an hour?
Strategies for handling high throughput in distributed systems
Medium · System Design and Architecture
Approach
- Fix the scope first: who calls this, how often, and what they do when it fails.
- Name the read and write paths separately; they rarely have the same bottleneck.
- Choose a partition key and say what query it makes expensive.
- State the consistency you need, and where you are willing to be stale.
Follow-up
- What breaks first when traffic grows ten times?
- How does this behave when that dependency is down for an hour?
Comparative analysis of GeoHashing vs. Quad Tree for location-based services
Medium · System Design and Architecture
Approach
- Fix the scope first: who calls this, how often, and what they do when it fails.
- Name the read and write paths separately; they rarely have the same bottleneck.
- Choose a partition key and say what query it makes expensive.
- State the consistency you need, and where you are willing to be stale.
Follow-up
- What breaks first when traffic grows ten times?
- How does this behave when that dependency is down for an hour?
Ensuring system availability through fault tolerance and disaster recovery
Medium · System Design and Architecture
Approach
- Fix the scope first: who calls this, how often, and what they do when it fails.
- Name the read and write paths separately; they rarely have the same bottleneck.
- Choose a partition key and say what query it makes expensive.
- State the consistency you need, and where you are willing to be stale.
Follow-up
- What breaks first when traffic grows ten times?
- How does this behave when that dependency is down for an hour?
One log partition stops advancing while the others drain
Easy · poison message · head-of-line blocking · consumer lag
Search results for a subset of tenants are hours stale; the rest are current. The projection consumer reports lag of zero on 15 of 16 partitions and 400,000 on one. Its error rate is flat and its CPU is idle. outbox_event has no pending rows older than a second, so the relay has published everything it holds. Identify the mechanism, give the ordered checks, and state what you do in the first ten minutes versus what you change permanently.
Approach
- Read the lag distribution first. A slow consumer lags everywhere; zero on fifteen partitions and 400,000 on one is not throughput. Idle CPU on the stuck partition means the consumer is not advancing its offset at all, which points at one message it cannot get past rather than at a rate problem.
- Exonerate the producer before touching the consumer. No pending outbox rows older than a second means the relay published, so the event exists in the log. This separates never sent from sent and never applied, which are different code paths and usually different owners.
- Read the message at the stuck offset and the handler's log lines for its event_id. A flat error rate with no progress has two explanations and you must distinguish them: the handler is throwing and the retry loop is swallowing it, or the handler is blocking on something and never returning. Idle CPU with no error lines favours the second.
- Mitigate before diagnosing further. Move the offending event to a dead-letter store and commit the offset past it. Adding consumers does nothing here, because a partition is consumed by exactly one member of the group, and the blast radius is every aggregate hashed to that partition, not only the aggregate that produced the bad event.
Follow-up
- The dead-lettered event carried aggregate_version 7 and the projection had applied 6. What must the replay do differently if 8 and 9 landed in the meantime?
- How do you show staleness to the user while the partition is behind, given the API already returns the projection's watermark?
Suggested practice checklist
Built from the rounds and topics JioHotstar candidates report.
Day 1 — Map the JioHotstar loop
- Write out the reported sequence: Technical Screening, Project Deep-Dive, High-Level Design Assessment.
- For each round, write one sentence on what it is judging, from the description above, and mark the one you are least ready for.
Deliverable: A one-page map of the 3 reported rounds, with the weakest marked.
Day 2 — Work Data Structures & Algorithms (DSA)
- Spend the session on Data Structures & Algorithms (DSA), which JioHotstar candidates report being tested on.
- Write one worked example in Data Structures & Algorithms (DSA) and time yourself on it.
Deliverable: One timed worked example in Data Structures & Algorithms (DSA).
Day 3 — Work High-Level Design (HLD)
- Spend the session on High-Level Design (HLD), which JioHotstar candidates report being tested on.
- Write one worked example in High-Level Design (HLD) and time yourself on it.
Deliverable: One timed worked example in High-Level Design (HLD).
Day 4 — Work Golang (Go) Proficiency
- Spend the session on Golang (Go) Proficiency, which JioHotstar candidates report being tested on.
- Write one worked example in Golang (Go) Proficiency and time yourself on it.
Deliverable: One timed worked example in Golang (Go) Proficiency.
Day 5 — Answer out loud: Data Structures and Algorithms
- Answer aloud, timed: Dijkstra-based graph problem (medium–hard)
- Answer aloud, timed: Monotonic stack-based problem (medium–hard)
Deliverable: Spoken answers to 2 reported Data Structures and Algorithms question(s), under time.
Day 6 — Answer out loud: System Design and Architecture
- Answer aloud, timed: Design a system similar to Uber
- Answer aloud, timed: Strategies for handling high throughput in distributed systems
Deliverable: Spoken answers to 2 reported System Design and Architecture question(s), under time.
Day 7 — Answer out loud: Behavioral and Project Experience
- Answer aloud, timed: Deep dive into a past project: Explain your technical choices and the impact of your work
- Answer aloud, timed: How do you handle production incidents or sudden traffic spikes?
Deliverable: Spoken answers to 2 reported Behavioral and Project Experience question(s), under time.
Behavioural preparation
Behavioural rounds judge the decision you made and what it cost.
Deep dive into a past project: Explain your technical choices and the impact of your work
Medium · Behavioral and Project Experience
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- Name the disagreement and how you resolved it with evidence.
Follow-up
- What would you do differently if you ran that again?
- How did you know your change caused the improvement?
How do you handle production incidents or sudden traffic spikes?
Medium · Behavioral and Project Experience
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- Name the disagreement and how you resolved it with evidence.
Follow-up
- What would you do differently if you ran that again?
- How did you know your change caused the improvement?
Explain your approach to client-server communication protocols
Medium · Behavioral and Project Experience
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- Name the disagreement and how you resolved it with evidence.
Follow-up
- What would you do differently if you ran that again?
- How did you know your change caused the improvement?