Turbocharging Linkedins Recommendation Systems With Sglang
Source
LinkedIn Engineering
Author
LinkedIn Engineering
Date
Terms in this piece · Glossary
LLM — A large language model — the neural network behind tools like Claude and ChatGPT, trained on huge amounts of text to predict what comes next.
token — The chunk of text a model reads and writes in — roughly three-quarters of a word — and the unit AI usage is billed in.
context window — The maximum amount of text a model can consider at once — its working memory for the current conversation or task.
Why it matters
A worked pattern for prefill-heavy LLMA large language model — the neural network behind tools like Claude and ChatGPT, trained on huge amounts of text to predict what comes next.Full definition → serving: long shared prompt, one-tokenThe chunk of text a model reads and writes in — roughly three-quarters of a word — and the unit AI usage is billed in.Full definition → output, and multi-item scoring so the shared context windowThe maximum amount of text a model can consider at once — its working memory for the current conversation or task.Full definition → is not recomputed for every candidate.