Matching is different from ranking

Ranking vs matching

  • In classic recsys / ads ranking, items are non-rival
    • Same reel recommended to a million users costs nothing
    • Greedy argmax per request is approximately the global optimum
    • Closest exception is ads budget: the budget is rival, and the pacing multiplier is its λ. Same math shows up below
  • In matching (jobs, dating), the resource is attention and capacity, which is rival
    • If the model surfaces candidate X to 500 recruiters, X can respond to maybe 10
    • Greedy per request is provably sub-optimal. Optimal rankings must account for both sides’ preferences and capacity constraints
maximize Σ_{r,c} match_prob(r, c) · x_{r,c}
subject to Σ_c x_{r,c} ≤ K_r (recruiter review capacity)
Σ_r x_{r,c} ≤ K_c (candidate attention capacity)
where
x_{r,c} = show candidate c to recruiter r (1) or not (0). The LP relaxes it to a fraction between 0 and 1
(LP = Linear Programming)
K_r = how many candidates recruiter r can review;
K_c = how many messages candidate c can handle
  • It is an asymmetric marketplace
    • Recruiter reviews ~100 candidates in a session; candidate applies to ~20 jobs
    • Volumes, rate limits and session structure differ on both sides
    • Dating / matrimony are relatively symmetric
  • Running example: candidate recs to a recruiter
    • I will use it as reference for this post
  • Measuring congestion
    • Load: InMails per candidate per week (p95, share going to the top 1% of candidates)
    • Overlap: how many recruiters were shown the same candidate in a week
    • Damage: reply rate vs inbox load. If reply rate falls as pending messages rise, the candidate is congested
    • Flip side: matching candidates who got zero InMails (starvation)

Two probabilities and their labels

  • p_send(r,c) = P(recruiter messages candidate | shown). Is the candidate suitable?
  • p_reply(r,c) = P(candidate accepts | messaged). Will they respond? This is where “candidate has 30 pending InMails” lives
  • p_match = p_send × p_reply

Two interlocking funnels, joining at the mutual event:

Outbound (recruiter acts first): shown → profile view → InMail sent → InMail accepted ◀
Inbound (candidate acts first): shown → view JD → apply ────────────→ recruiter replies ◀
│
Joint: interview → offer → hire
We are focus on outbound here. So first mutual event is "In mail accepted"
p_sendp_reply
PositiveInMail sent (or saved to pipeline)InMail accepted
Negativeshown and seen, no actiondeclined, or no reply after N days
Training rowsrecruiter impressionssent InMails only
Label latencyminutesdays
Densitydensesparse

Which label to train on: the earliest event that needs both sides to act. LinkedIn Recruiter uses InMail Accept as the signal of two-way interest (LinkedIn Eng, 2019). One-sided clicks say nothing about mutual fit.

Four things that make the labels hard:

  1. Delayed terminal label
    • Hire lands weeks later. Train on the mutual proxy, validate on hire
    • If a change improves reply rate but not hire rate, you’ve started optimizing politeness instead of matching
  2. Right censoring: no outcome yet ≠ negative
    • Wait a window before calling a negative; use fast explicit signals early
    • LinkedIn’s applicant model: ~30% of positives known within a day, negatives conclusive after 14 days, earlier negatives inferred if the recruiter replies to later applicants (LinkedIn Eng, 2020)
  3. Ambiguous negatives (positive-unlabelled data)
    • No reply could mean bad fit, recruiter on leave, or req already filled
    • Drop rows from inactive recruiters and closed reqs before training
  4. Selection bias and self-fulfilling labels
    • p_reply only sees candidates recruiters chose to message, but it scores everyone shown. Same as CVR in ads: trained on clicks, served on impressions
    • Fix: ESMM-style training over the full impression space.
      • Supervise
        • p_send
        • p_send·p_reply
      • p_reply is learned implicitly
    • Position bias compounds into allocation: whoever ranks high collects labels and stays high. Position feature + small exploration

One model or two?

  • (a) Two separate models
  • (b) Shared trunk, two heads (standard MTML)
  • (c) Shared trunk with expert gating (MMoE / PLE), when the heads start fighting
    • MMoE: several shared expert networks; each head has its own gate that picks a mix of experts
    • PLE: MMoE plus experts private to each head, so one head’s gradients can’t overwrite the other’s
Shared trunk + 2 headsSeparate models
Sparse p_replyDense p_send labels shape the representation the sparse head usesp_reply trains on little data
Selection biasESMM trick needs both heads in one graphHandled separately per model
Conflicting featuresNegative transfer: inbox load raises p_send (desirable profile) and lowers p_reply (saturated). One head usually losesEach model uses the feature its own way
Label cadenceWaits for the slowest label, or trains on censored p_reply labelsp_send retrains hourly, p_reply daily
OwnershipOne change retrains both heads; loss weight between heads is one more knobIndependent launches, calibration and debugging
ServingOne feature fetch, one callTwo calls, duplicate infra
  • Default: shared trunk + two heads
  • Add gating (MMoE/PLE) or keep conflicting features head-specific when per-head metrics show a seesaw
    • seesaw – improving one head’s metric makes the other’s worse
  • Split p_reply into its own model when label cadence becomes the bottleneck
  • Either way, calibrate each head on its own before combining

Combining into one score

Combiners that ignore capacity

  • Naive product of two marginals: p(r→c) × p(c→r)
    • p(r->c) = recruiter likes candidate
    • p(c->r) candidate like recruiter
    • Assumes independence. A genuinely good fit pushes both up together, so it understates true matches and overstates one-sided ones
      • Understatement for true match
        • score – 0.9 * 0.9 = 0.81 ( which is less than 0.9)
      • Overstatement if one side is enthusiastic
        • score = 0.8 * 0.1 = 0.08
        • True mutual match is near 0
  • Chain rule: p_send × p_reply
    • p_reply is conditional on the message, clean way to write would be p(reply | message)
    • P-send = p(r->c)
    • This is P(mutual match), not a heuristic. Model the second head conditionally and the product is correct
  • Harmonic mean (RECON, dating)
    • Harmonic mean of the two one-sided compatibility scores, 2 / (1/s₁ + 1/s₂)
    • It has no probability meaning
    • Punishes imbalance harder than the product: (0.9, 0.1) → 0.18 but (0.3, 0.3) → 0.30, where the product ties both at 0.09
    • Other choices in the literature: arithmetic, geometric, weighted mean (survey)
  • Weighted geometric: p_send^α · p_reply^β
    • taking log -> α·log p_send + β·log p_reply
    • Candidate-scarce market: candidate attention is the bottleneck, so β > α. Protecting candidates from noise keeps the market liquid
    • It flips by segment: senior backend engineers are candidate-scarce, entry-level generalist roles are job-scarce, in the same product at the same time
  • Calibration compounds when you multiply
    • 20% overestimate on both heads → 1.2 × 1.2 = 1.44, a 44% overestimate on the product
    • A constant miscalibration doesn’t reorder; one that varies by segment does, and any threshold or λ comparison breaks
    • Calibrate each head per segment; monitor the product’s calibration separately
  • All of these say this pair is likely to match. None says whether the candidate’s attention is better spent elsewhere. That is the job of λ

Adding capacity: the λ term

Refine the candidate constraint. What fills an inbox is messages, not impressions:

Σ_r x_{r,c} · p_send(r,c) ≤ K_c

Relax it with λ_c ≥ 0 (and recruiter capacity with μ_r). The coefficient on each x_{r,c} becomes:

p_send·p_reply − λ_c·p_send − μ_r

Inside one recruiter’s request μ_r is the same for every candidate, so it only sets how many to show. Rank by:

score(r,c) = p_send(r,c) · ( p_reply(r,c) − λ_c )
  • λ_c = shadow price of one more message in candidate c’s inbox
  • Uncongested candidate: λ_c = 0, the score falls back to the plain product
  • Congested candidate (30 pending): λ_c > 0, so they surface only where p_reply is high enough to be worth the slot
  • Feature or λ? Both, for different jobs
    • Inbox load as a feature keeps p_reply honest about the candidate’s current state
    • λ enforces a policy (≤ K_c messages a week) and prices the opportunity cost to other recruiters. A feature alone just predicts lower and lower while recruiters keep messaging
    • Feature-only control can oscillate: congested → down-ranked → inbox clears → up-ranked → congested. Let the model estimate affinity; let λ do traffic control

Where λ comes from

A ladder, simplest first:

  1. Hand-tuned global weight
    • One λ (or α, β) picked by A/B. Simple; blind to which candidate is congested
  2. Forecast + rule-based penalty
    • LinkedIn’s LiJAR for job recs: forecast how many applications a job will get by expiry, then promote under-supplied and penalize over-supplied jobs (KDD’17). λ in spirit, rules in practice
  3. Offline dual solve, online serve
    • Solve the dual on a sample of traffic daily or hourly, store λ per entity, rank with the primal-from-dual formula at serve time
    • Origin: click shaping via Lagrangian duality. At LinkedIn scale: DuaLip, whose use cases include job-recommendation matching under job-apply budgets
  4. Online dual ascent (a controller)
    • Every window: λ_c ← max(0, λ_c + η·(messages_c − K_c))
    • Self-correcting, no solver. η too large → oscillation, too small → lag. Same loop as ad budget pacing
  5. Predicted λ
    • λ_c = f(features of c and its segment). Helps cold-start candidates and smooths millions of noisy λs
    • One practical recipe: regress on the λs from the offline solve

Tuning the knobs

  • What is left to tune once λ_c is computed
    • K_c: a product decision. How many InMails a week is too many?
    • α, β per segment; the controller step η
  • A/B grid
    • A few arms, one primary metric plus guardrails. Slow, coarse
  • Offline replay (counterfactual / IPS) to prune the grid
    • Misses market effects. Replay can’t see two recruiters competing for one candidate
  • Online Bayesian optimization
    • LinkedIn feed: maximize the primary metric subject to secondary metrics not dropping past a threshold; posterior updated hourly, parameters assigned per member by hashing (Agarwal et al., KDD’18)
    • Their feed score already carries a job-apply term: S = p_VA + x_EFS·p_EFS + x_JA·p_JA
  • Experiment design
    • Arms compete for the same candidates’ inboxes, so candidate-level randomization leaks
    • Randomize by market cluster (geo × job family) or by recruiter, or use switchbacks
  • Metrics to watch
    • Mutual accepts per recruiter session (primary)
    • Hires (lagging check on the proxy)
    • p95 InMails per candidate per week (congestion)
    • Share of candidates and jobs with zero engagement (starvation)

Summary

One thing worth internalizing again – why don’t we build model to predict p(match) directly ?

Pros of keeping it separate

  • Allows traffic control with λ_c
  • denser label
    • Separate model training cadense
    • Not much of a benefit if using ESMM on shared arch
  • Easy to debug / explain
    • Why the pair did not get the match
  • Build new products and monetization opportunities
    • “likely to respond” badge for recruiter

Pros of combing

  • Calibration error does not multiply
  • ESMM is giving you p_match anyways

Alert Triage agent

Problem

  • A Security Operations Center (SOC) gets thousands of alerts a day from detection rules. Most are false positives or benign activity
  • Tier-1 analysts spend their time on the same enrichment steps again and again. This is alert fatigue, and it is how real incidents get missed
  • Goal: an agent that does tier-1 triage. It investigates each case, gives a verdict with evidence and a recommended action, and a human approves any action
  • This is not hypothetical. Microsoft’s Security Copilot started with a phishing triage agent and extended the same agent to identity and cloud alerts in Defender [1][2]
  • Running example for this post: an endpoint alert like “suspicious PowerShell on a finance laptop”

Terminology

  • SOC – Security Operations Center, the team that watches alerts and responds
  • Playbook – the checklist of questions an analyst must answer for one alert type
  • Verdict – true positive (malicious), benign true positive (real activity, allowed), false positive (the rule misfired)
  • Case – several correlated alerts on the same entity, triaged together
  • MTTD / MTTR – mean time to detect / respond
  • SOAR – Security Orchestration, Automation and Response. Runs response actions such as isolating a host or resetting a password

Requirements

  • Functional
    • Group related alerts into a case
    • Investigate each case against its playbook using read-only tools
    • Output verdict, confidence, evidence and recommended action
    • Execute response actions only after analyst approval
    • Capture every analyst decision as feedback
  • Non functional
    • Latency: minutes, not hours, with high severity cases first
    • Cost: a fixed budget per case
    • Auditability: every query and result is logged and can be replayed
    • Safety: tools are read-only, write actions are gated, tenant data stays isolated
    • Alert content is attacker controlled (command lines, email bodies, file names), so it is a prompt injection surface. See Guardrails for LLM Agents
    • Asymmetric cost: auto-closing a real attack is far worse than escalating a false alarm
  • Metrics
    • Offline: verdict precision / recall per alert type on labeled historical cases, playbook coverage, whether the cited evidence actually supports the verdict
    • Online: analyst agreement (override rate), auto-close rate, time to verdict, escalation rate
    • Business: analyst hours saved, MTTR, and the one that matters most, true positives that got auto-closed
    • True positives are rare, so report precision at the production base rate, not on a balanced eval set (same trap as in the guardrails post)

Funnel design

alerts → group into cases → rule engine → XGBoost filter → router ─┬─ single LLM call (simple)
├─ full agent (ambiguous)
└─ human now + agent (high severity)
enrichment bundle is attached before any LLM sees the case
  • You want to group the alerts, that is very important
    • One compromised host can fire 50 alerts. Triage the case, not each alert
    • Correlate by entity (user, host, IP) within a time window
  • LLMs are costly, hence there is a funnel as well as routing. Same shape as retrieval → pre-ranking → ranking in recsys
    • Funnel is an XGBoost model that filters out high-confidence false positives
      • Features: the rule’s historical false positive rate, asset criticality, user role, time of day, prior verdicts for this entity
      • Auto-close only above a high threshold, and sample auto-closed cases for human audit
    • Router
      • Simple LLM call for analysis and response generation
        • Simple case
        • Just one LLM judgement needed, e.g. a known admin tool on an admin’s machine
      • Full agent investigation
        • Ambiguous case
      • Straight to a human while the agent investigates in parallel
        • High severity or critical asset. The agent’s findings attach to the case as they arrive
  • Other components
    • Rule-based engine
      • Deterministic overrides before and after the model
      • Rule to check if the user is a financial executive (high value target), escalate fast
      • Allowlists for known-good tools
    • Enrichment, computed before the agent starts
      • Entity context: user role, device owner, asset criticality, location
      • Recent history: past alerts and verdicts for this user and host
      • Threat intel lookups for hashes, domains and IPs
    • Analyst workspace
      • Shows the queries the agent fired, their results, a reasoning summary, and one-click approve / reject
    • Action recommendation
      • Action is taken through SOAR, only after human approval
    • Feedback gathering
      • Each analyst decision is a label
      • Retrain XGBoost, tune prompts and playbooks, later SFT

Agent control flow

OptionHow it worksProblem
ReActModel picks every next stepModel can skip an important check
WorkflowEvery step fixed in codeCan’t adapt queries to what it finds
Hybrid (chosen)Playbook fixes the questions; agent picks tools inside each questionMore orchestration code
  • Hybrid
    • The agent must answer every question in the playbook. The harness checks coverage before it allows a verdict
    • Which tool to use, and with what query, the agent decides on its own
    • For the running example: what launched PowerShell? Was the command line encoded? Did the host talk to a new domain afterwards? Has this user done this before?
  • Budget
    • Every case has a budget: number of turns, tokens and wall clock
    • If it goes beyond, stop and return “needs human” with the partial investigation. Don’t throw the work away
  • Sub agents for larger cases
    • E.g. more than 30 hosts involved
    • The orchestrator fans out one investigation per host in parallel. Each sub agent returns a short summary, and can run on a cheaper model (Uber defaults its subagents to a cheaper model [4])
  • Keep the verdict step separate
    • The verdict model sees only the collected evidence (findings ledger), not the investigation’s thinking trace
    • Reduces anchoring on early hypotheses and hallucinated evidence
    • Same reason Anthropic uses a separate evaluator: a standalone judge is easier to make skeptical than a model grading its own work [3]

Tool design

  • 2 options
    • 1) Access to raw queries (SQL / KQL against the SIEM)
      • More flexible but error prone: bad syntax, huge results, expensive scans
    • 2) Design functions: get_process_tree(host, pid), get_logins(user, window), lookup_reputation(indicator)
      • Good to start with. Add a raw query tool later as an escape hatch, with row and time limits
  • Best practices
    • Return a summary, not raw data: counts, top-k, what is unusual. Tool outputs are what fill the context
    • Readable error messages so the agent can retry, e.g. “window too large, max 7 days”
    • Read-only by default. Write actions (isolate host) are not tools the agent can call; it can only recommend them
    • Treat every tool output as untrusted data, not instructions
    • For heavy aggregation, let the agent write a small script that returns only the answer. Uber saw a wide-table query drop from about 1.43M tokens to 900 this way [4]

Context

  • What to include
    • System prompt with verdict definitions
    • Playbook for this alert type only (load it like a skill, not all playbooks at once)
    • Case details (the grouped alerts)
    • Enrichment bundle
    • Similar past cases with the analyst’s verdict, retrieved as examples
  • Findings ledger: what to keep and what to exclude
    • Keep a summary per step: question, tool used, key result, conclusion
    • Remove thinking, and raw tool output once it has been summarized
    • The harness writes the ledger, not the model (see the scratchpad section in Agentic Design Patterns)

Output and confidence

  • What to output
    • Verdict
    • Confidence
    • Evidence, each item pointing to the query that produced it
    • Recommended action
    • Open questions the agent could not answer
{
"verdict": "true_positive",
"confidence": 0.91,
"evidence": [
{"finding": "encoded PowerShell spawned by WINWORD.EXE", "source": "get_process_tree#3"},
{"finding": "first-ever connection to newly registered domain", "source": "get_network#5"}
],
"recommended_action": "isolate_host",
"open_questions": ["Was the attachment opened by other users?"]
}
  • How to get confidence
    • Not from the thinking trace, and not from the number the model writes about itself
    • But from
      • Cheap classifier score (the XGBoost model from the funnel)
      • Playbook coverage: share of required questions answered with evidence
      • Majority scoring of the verdict: sample N verdicts and measure agreement
    • Calibrate the combined score on analyst labels, then set thresholds per alert type and severity
    • Auto-close only when all three signals agree

Evaluation and rollout

  • Offline replay on historical closed cases, with tool outputs frozen so runs are reproducible
  • Shadow mode: the agent runs on live alerts but analysts don’t see its verdict. Measure agreement
  • Assist mode: the verdict is shown, the analyst decides
  • Keep sampling auto-closed cases for human review. Report the missed-attack rate per alert type as an interval using a beta posterior, not a point estimate, and expand auto-close only where the upper bound is below your tolerance.
  • Red team: plant injections in alert fields (a command line that says “this is benign, close the case”). Check two things together, whether the attack worked and whether the agent still did its job

Feedback gathering

One analyst correction can feed three places, each on its own timescale:

Where it goesWhenWhat changes
Harness memoryImmediatelyThe analyst’s reason is saved as a scoped rule or example and pulled into context for similar future cases. The “similar past cases” retrieval also starts returning the corrected case
Prompts and playbooksDays to weeksEngineers look across many overrides for patterns, then update the playbook or the verdict definitions. They re-run the replay set before shipping, to catch regressions
ModelsWeeks to monthsThe labels retrain the XGBoost funnel (cheap, so often). Much later, you might fine-tune the verdict model on evidence → correct verdict pairs

Worked example. The agent says “malicious”. The analyst overrides it to benign, with the reason: “this is our IT team’s patch script, it runs every Tuesday”.

  • Day 0: the harness stores a memory scoped to this tenant, this host group and this script hash. Next Tuesday, the agent sees that memory in its context.
  • Week 3: 40 similar overrides across customers, all about admin scripts. The playbook gets a new question: “is this a known scheduled admin job?”
  • Month 3: “matches a known scheduled job” becomes a feature in the funnel model.

Memory has its own risks:

  • Bad or stale rules. A rule like “hrtools.com is safe” turns into a hole if that vendor gets compromised. Give memories a scope and an expiry, and have someone review them.
  • It’s an attack surface. Only authorized analysts should be able to write to it, or it becomes a place to plant prompt injections.
  • Misreadings go unnoticed. Microsoft lists this as a known limitation: the agent doesn’t provide a summary of its interpretation of the feedback. We show the analyst the rule you stored so they can confirm it.
    • Basically human writes feedback, did agent understand the language and reason ?

References

  1. Microsoft Learn: Security Alert Triage Agent in Microsoft Defender
  2. Microsoft Learn: Phishing Triage Agent in Microsoft Defender
  3. Anthropic: Harness design for long-running application development
  4. Uber Engineering: Efficient software factory (Aug 2026)

Off the shelf Models categories

Laying out the major categories of off-the-shelf models you’d typically pull from a shelf (HuggingFace, Cohere, OpenAI, etc.), grouped by what they’re for rather than architecture alone, since that’s usually how you’d reach for one.

  • Dense bi-encoders ( embedding models )
    • This is what people mean when they say “encoder”
      • “Bi” means two separate path
        • Its different from bi-directional in BERT
        • Query and document chunk don’t attend to each other
      • Documents chunks can be cashed for ANN
    • BERT style or newer architecture 
    • Used for retrieval / ANN, clustering 
    • Example – E4, BGE
    • Key innovation in BERT papaer
      • Full form – Bidirectional Encoder Representation For Transformers
      • MLM – masked language modeling
        • train model to predict masked token in pre training
        • 80/10/10 rule to allow fine-tuning ( without [mask] token )
      • Next sentence prediction (NSP)
        • Pretraining task – if sentence B follows A or not
        • Dropped later in RoBERTa
      • [CLS] token is the first one
        • Given directions it represents entire concatenated sentence
        • Use it for classification task
      • [SEP] when question finish and answer starts
        • Separate embedding as well ,similar to position embedding
  • Cross encoders ( Rerankers )
    • Take query + document and output a relevance score 
    • So separate embedding, but much higher precision 
    • Example –
      • Cohere Reranker 
      • BGE reranker 
  • Original transformer (encoder-decoder model)
    • Encoder will generate representation of English text
      • Not a single vector
      • Vector for each token to be attended at decoder by cross attention
    • Decoder will take and generate French Translation
    • This introduced cross attention
      • cross encoder is different term
  • Generative decoder LLMs ( general purpose )
    • base / pretrained model 
    • instruction tuned / chat models 
    • reasoning tuned variants
  • Instruction tuned decoder LLMs used as retrieval / ranking component
    • Qwen and friends 
    • They are not encoder
      • There is a pre-fill
    • They are decoder, that gets purposed into IR tasks via prompting
      • listwise/pointwise LLM reranking, query rewriting/expansion, generating synthetic training pairs, or even being used to produce embeddings (LLM2Vec-style, or just taking last-hidden-state pooling).
    • The key difference is that they weren’t trained with a contrastive/relevance objective — they’re repurposed, which has real implications for calibration and latency.
      • SFT hampers calibration, workaround – LR on top of logits
      • Latency because BERT is 100M params and qwen is 7B params
    • Yes, decoder can generate embedding too
      • They won’t be bi-directional but last token has seen everything else 
      • So in practice, “using an LLM as an encoder” often means: take the pretrained decoder weights, then adapt the architecture and objective toward something encoder-like, rather than using it purely as-is.
      • The last token has attended all previous one. Taking embedding of it most popular
        • Other options are like taking average of last n token
        • When we “instruct” model to do representation – it learns to auto regress in that way
  • Classification / NLI models
    • NLI (natural language inference) models
      • Premise and hypothesis
      • Entail / Contradict / neutral
      • Use case
        • RAG – faithfulness/groundedness
        • Fact checking
    • Sentiment/toxicity/topic classifiers
    • NER (named entity recognition) / token classification
  • Multimodal models
    • CLIP style dual encoder
      • image<–> text retrieval 
      • Both on same embedding space 
    • Vision language generative models ( VLMs )
      • input – image + text 
      • output – text generation 
      • Different from CLIP
        • This is generative 
        • CLIP produces embedding 
    • Text to image / diffusion models
      • a genuinely different training paradigm (denoising) rather than transformer next-token or contrastive objectives.
  • Speech models
    • ASR : speech to text 
    • TTS
    • Speech embedding models

From highscalability.com

Highscalability.com has a plethora of case study blogs that I have learned from. Here are some key takeaways:

Deep Learning in Production

  • Batching should be performed at the latest possible stage in the processing chain, specifically for inferencing on GPUs. However, maintaining a certain response time Service Level Agreement (SLA) is essential. While it is not scheduled, we should batch whenever an opportunity arises.
  • Data pipelines in Hive are different from this context as they are scheduled to run daily.
  • Gatekeeping: Limiting the number of requests to 10 at a time.
  • Suppose the inference time of GPT is 50ms (99th percentile), we would guarantee a response time of 5 seconds once the request is accepted. If not accepted, we send an HTTP code 429, indicating “too many requests.” If excessive 429 responses are observed, we can consider spawning new machines.
  • Unsolved problems:
    • Loading input and pre/post-processing tasks consume CPU, while the expensive GPU remains idle during this time.
    • In a pub/sub model, the message injection rate should match the consumption rate.

Uber

  • They shared “What I Wish I Knew (WIWIK),” which primarily focuses on their experience with microservices and the potential downsides.
  • During a talk, the last question was about handling the decoupling of microservices. The answer was that they strive to do their best with engineering practices, but sometimes decoupling challenges still occur.