
Share
As Cursor scales to handle 1 million queries per second and billions of daily code completions, cofounder Sualeh Asif reveals the engineering innovations that keep this AI-powered IDE ahead of the curve.
Cursor, the AI-powered IDE that has become a favorite among software engineers, has seen an astounding 100x increase in load over just one year. The platform now handles over 1 million queries per second (QPS) for its data layer and serves billions of code completions daily. This rapid growth is a testament to both the product's utility and the engineering prowess behind it. I had the opportunity to sit down with Sualeh Asif, cofounder of Anysphere (the company behind Cursor), to dive into the technical details of how they've scaled such an ambitious project.
The autocomplete feature is crucial for Cursor's real-time code suggestions. Here’s how it works:
One of the standout features of Cursor is its ability to provide AI-powered chat without storing any source code on the server. This is achieved using:
Anyrun, a Rust-based service, is responsible for launching and managing agents in the cloud. Key points:

The team had to adapt their technology stack based on how users interacted with Cursor. For example:
Despite starting with Yugabyte, a database designed for infinite scalability, the team faced issues and had to migrate:
The latest major release, Cursor 1.0, includes several new features:
Cursor’s rapid growth and innovative features are a result of thoughtful engineering decisions and a deep understanding of user needs. By leveraging advanced technologies like Merkle trees, secure cloud management, and efficient database migrations, the team has built a robust and scalable platform that continues to set new standards in AI-powered development tools.
Tags
Original Sources
↗ https://newsletter.pragmaticengineer.com/p/cursor?utm_source=tldrai
About the author
Kai built ML infrastructure at a Bay Area startup before developing an obsession with transformer architectures and inference optimisation that eventually pulled him out of product work entirely. A stint at a compute research lab sharpened his instinct for what actually matters in a model release versus what is marketing. He writes from the inside — from the perspective of someone who has debugged the systems he is describing at three in the morning. He is allergic to hype and instinctively drawn to the unglamorous plumbing questions that everyone else skips over.
More from The Engineer →This Week's Edition
11 June 2025
88 articles
Related Articles

OpenEvidence Targets Hospitals to Expand Its AI Chatbot for Doctors
Products & Applications · 3 min

OpenEvidence Launches Voice AI to Enhance Physician Workflow
Products & Applications · 3 min

Doximity Accelerates AI Investment in 2026, Targeting Multibillion-Dollar Market
Products & Applications · 3 min
Related Articles

OpenEvidence Targets Hospitals to Expand Its AI Chatbot for Doctors
Products & Applications · 3 min

OpenEvidence Launches Voice AI to Enhance Physician Workflow
Products & Applications · 3 min

Doximity Accelerates AI Investment in 2026, Targeting Multibillion-Dollar Market
Products & Applications · 3 min
More Stories