Ace the Microservice Performance Question at Marriott Tech
Learn how to craft a STAR-format answer for the high-traffic microservice performance question that Marriott Tech interviewers love to ask.
Loading...
Learn how to craft a STAR-format answer for the high-traffic microservice performance question that Marriott Tech interviewers love to ask.
If you're preparing for the Marriott Tech Accelerator program, there's a behavioral question that comes up again and again: "Tell me about a time you improved the performance of a high-traffic microservice." This isn't just a war story question. The interviewer is checking if you can diagnose problems systematically, make data-driven decisions, and communicate impact clearly. Let's walk through exactly how to nail it.
Here's the thing most people miss — this question isn't about what you optimized. It's about how you think. When I've sat on the interviewer side of this conversation, I'm listening for four things:
A strong answer sounds like an engineer who's been in production, got their hands dirty, and can teach someone else from the experience. A weak answer sounds like someone who Googled "caching strategies" the night before.
STAR stands for Situation, Task, Action, Result. Most candidates know this. But most candidates also spend 70% of their time on Situation and Task, and rush through Action and Result — which is exactly backwards. The interviewer wants to live in the Action with you.
Here's the split I recommend:
| Section | Time Allocation | What to Emphasize |
|---|---|---|
| Situation | 10-15% | Context only — keep it tight |
| Task | 10% | Your specific role and ownership |
| Action | 55-60% | Technical decisions, tradeoffs, iterations |
| Result | 20% | Metrics, business impact, lessons learned |
Don't over-explain. Give the interviewer just enough to understand the stakes.
"We had a reservation lookup service handling about 12,000 requests per minute during peak hotel booking windows. Response times had crept up to 800ms p95, and our SLA was 200ms."
That's it. Four seconds. They know the scale, they know the problem, and they know there was urgency. Move on.
Be specific about your role. Don't say "we" for things you personally did — own it.
"I was the lead engineer on the reliability squad. My task was to diagnose the root cause and bring p95 latency back under 200ms without a full rewrite, since we had a product freeze coming up."
The constraint at the end (no full rewrite, product freeze) shows real-world thinking. Interviewers love constraints — they make your solution more impressive.
This is the meat of your answer. Walk through your diagnostic process before your solution. Most candidates jump straight to the fix — that's a red flag. The interviewer wants to see that you measured before you cut.
Here's an example structure for the Action section:
Step 1 — Instrument and profile
"First, I pulled flame graphs from our production tracing tool — we used Jaeger — and found that 60% of our request time was being spent in a single database query. It was a JOIN across three tables with no index on the foreign key used in the WHERE clause."
Step 2 — Validate the hypothesis
"Before touching anything, I ran EXPLAIN ANALYZE on the query in a staging environment with production-mirrored data. Confirmed a full table scan on 4 million rows every single time."
Step 3 — Implement and measure iteratively
Here's where you can show some code. Even in a behavioral interview, walking through a snippet shows technical credibility.
-- Before: No index, full table scan on every request
SELECT r.id, r.guest_id, r.check_in, r.check_out, h.name
FROM reservations r
JOIN hotels h ON r.hotel_id = h.id
JOIN loyalty_profiles lp ON lp.guest_id = r.guest_id
WHERE r.hotel_id = $1
AND r.check_in >= NOW()
ORDER BY r.check_in ASC
LIMIT 50;
-- After: Composite index on (hotel_id, check_in)
"Adding the partial composite index dropped query time from 420ms average down to 8ms. But here's where it gets interesting — that only solved half the problem."
That cliffhanger keeps the interviewer engaged. Continue:
"Profiling again showed we were still making redundant calls to the loyalty service — a downstream microservice — on every request, even for guests who hadn't updated their profile in weeks. So I introduced a short-lived Redis cache with a 5-minute TTL on loyalty profile reads."
import redis
import json
from functools import wraps
redis_client = redis.Redis(host='loyalty-cache', port=6379, decode_responses=True)
def cache_loyalty_profile(ttl_seconds=300):
def decorator(func):
@wraps(func)
def wrapper(guest_id: str):
cache_key = f"loyalty:profile:{guest_id}"
cached = redis_client.get(cache_key)
"We chose 5 minutes because loyalty tier changes are low-frequency — a guest isn't going to become a Platinum member mid-session. The cache hit rate settled at about 94% within the first hour of deployment."
Notice how you explained why 5 minutes — the interviewer will absolutely probe your TTL choice. Get ahead of it.
"Two days after the full rollout, p95 latency dropped from 800ms to 140ms — well under our 200ms SLA. Error rates tied to timeout downstream failures went from 0.8% to under 0.05%. We estimated this contributed to a 3% improvement in booking completion rate during peak windows, which the product team flagged as meaningful given the transaction volume we were handling."
Numbers, numbers, numbers. If you don't have exact numbers from your experience, use ranges. "Roughly 4-5x improvement" is fine. "It got a lot faster" is not.
Here's example phrasing you can borrow and adapt:
"I'd like to share a situation from my time at [Company], where I worked on a reservation lookup service handling significant peak traffic. Before I dive in, is it okay if I spend a moment on the diagnostic process — I think that's the most interesting part of the story?"
Asking that question does two things: it signals you're a structured thinker, and it gets the interviewer nodding in agreement before you've said anything technical.
When transitioning between STAR sections, use signposting:
Signposting helps the interviewer follow you and signals that you're organized under pressure.
The interviewer will almost certainly ask at least one of these. Prepare your answers now:
Marriott's tech teams operate at genuine hospitality scale — they're processing millions of reservations, managing loyalty data for 170+ million Bonvoy members, and running integrations across thousands of properties. When you tell your story, lean into:
You've got a great story in you. The goal is to tell it like an engineer who owns their work, learns from it, and can do it again at Marriott's scale. Go get it.