Shopify has developed and enhanced its product search engine by introducing RankFlow, a Domain-Specific Language, and TurboDSL, a high-performance C++ execution engine. This system allows data scientists to deploy ML models (transformers, neural rankers, gradient boosting algorithms) trained on billions of queries with millisecond latency at scale, combining ML innovation with C++ performance. The system supports real-time indexing, retrieval, ranking, and experimentation, with features like privacy controls, multi-language support, and accessibility. The TurboDSL engine achieved a 48% speedup in ranking feature computation. Performance visibility on every PR includes detailed component-level timings and statistical significance testing.
All Shopify trails