Home / Companies / Baseten / Blog / Post Details
Content Deep Dive

Your client code matters: 12x higher embedding throughput with Python and Rust

Blog post from Baseten

Post Details
Company
Date Published
Author
Michael Feil
Word Count
1,280
Company Posts That Month
4
Language
English
Hacker News Points
-
Post removed?
No
Summary

The Baseten Performance Client is an open-source Python library that improves throughput for high-volume embedding tasks by releasing the Global Interpreter Lock (GIL) during network-bound tasks, allowing true parallel request execution. This results in lower latencies under heavy loads, with a 12x speedup compared to the standard AsyncOpenAI client at extreme scale. The client is compatible with OpenAI and other inference providers, and its architecture utilizes multi-core CPUs to maximize throughput. It can be easily integrated into existing codebases and supports both synchronous and asynchronous usage, making it suitable for various use cases such as embedding large datasets or serving thousands of embedding queries in parallel.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Vector Search 29 1,525 253 110 -6%
RAG 1 1,169 175 79 +30%
Real-time 1 4,075 1,042 211 +22%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.