Vibeleaderboard
← All Intel
Intel / article

Scaling Llm Based Ranking Systems With Sglang At Linkedin

Source
linkedin.com
Publisher
LinkedIn
Author
LinkedIn Engineering
Date

Context

LinkedIn's engineers reworked the open-source SGLang serving system for ranking, a job in which a reads a search query and a candidate and returns a relevance score instead of writing text. In their February 2026 post, the changes skip the text-generation steps that ranking does not use, requests in batches, and compute the shared query once rather than for every candidate. LinkedIn reports that the combined optimizations raised for a 375-million-parameter ranker on short inputs (a 50-token query and 150-token items) from 750 to 2,200 items per second per H100 GPU, while keeping 99th-percentile latency at or below 500 milliseconds. The figure is cumulative and applies to that model and setup.

The post describes two ways of reusing the query computation. Multi-Item Scoring, covered in LinkedIn's earlier article, concatenates all candidates into one sequence and masks between them. In-batch prefix caching keeps ordinary separate inputs and reuses the shared query's computation within a single pass. LinkedIn reports similar throughput for the two on a smaller test model (about 2,100 versus 2,200 items per second), so the difference is where the optimization sits in the software.

Terms in this piece · Glossary
  • Large language model — A model trained on large amounts of data to process and generate language.
  • Process — A running instance of a program, with its own working memory, open files and identity.
  • throughput — How much model output a provider can generate over time, commonly measured in output tokens per second.
  • 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.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source www.linkedin.com
Tools in this story
More from LinkedIn Engineering
Recommended reads