← All IntelIntel / article
Turbocharging Linkedins Recommendation Systems With Sglang
- Source
- linkedin.com
- Publisher
- Author
- LinkedIn Engineering
- Date
Context
LinkedIn's engineering team reduced repeated work when an AI model ranks recommendations for one person. Its modified SGLang serving system processes the person's profile and history alongside several candidate items in one request. Each item can use that shared background, while an restriction prevents it from reading the other candidates.
For a request ranking 50 items, LinkedIn reports 69% lower latency than scoring items separately, even when the comparison system reused cached background information. The result concerns how quickly the ranking computation runs; it gives engineers a specific way to avoid repeatedly processing the same user .
Terms in this piece · Glossary
- attention — The mechanism that lets a model weigh which earlier words matter for the word it's currently processing — the core operation of a transformer.
- Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
- Large language model — A model trained on large amounts of data to process and generate language.
- time to first token — The delay between sending a model request and receiving the first piece of its response.
Read the source www.linkedin.com
Tools in this story
More from LinkedIn Engineering
Recommended reads
- articleScaling Llm Based Ranking Systems With Sglang At LinkedinLinkedIn Engineering
- articleAccelerating Llm Inference With Speculative Decoding Lessons From Linkedins Hiring AssistantLinkedIn Engineering
- articleRebuilding Linkedins Follows Recommendations With Llm Based Semantic Retrieval And RankingLinkedIn Engineering

