Problem
The Search Relevance team at Trendyol serves ranking models: for each search request it fetches hundreds of features per product and sorts products by model score. Data scientists train the models, but each new model also needed hand-written Go: a feature spreadsheet, a package of over a thousand lines, tests, QA and sign-off. That took two to three working days per model, and an A/B round usually needed two or three challengers. Feature order was typed by hand, so an off-by-one index could pass code review.
Example from the article: a 1,000+ line Go model file became a 150–200 line YAML file, and lead time fell from two to three days to hours.
Solution in brief
Describe each model as a YAML signature (endpoint, feature groups, ordered input contract) and keep all data sources in one shared feature catalog. One fixed ranking service builds each model's fetch plan from these files at startup, and a CI pipeline validates and sandbox-tests the signature, so data scientists ship models themselves.
Questions this case answers
- How to shorten the lead time from a trained model to live traffic when every new model needs hand-written serving code and manual feature mapping
- How to fetch interdependent feature groups from several stores in parallel without hand-built ordering
- How to cut the time from a trained ranking model to live production traffic?
- How to let data scientists ship a ranking model without engineers hand-writing serving code?
Tools and methods
- Model signature (YAML) — one file per model: endpoint, feature groups, ordered input
- Feature catalog — one registry of feature groups and lookup keys
- Model registry — one self-contained instance per signature
- Dependency DAG — parallel feature fetching
- Delivery pipeline — validation, sandbox test and merge request in CI
- NVIDIA Triton — inference server reached over gRPC
Google or a one-time email code. No password.