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

How We Horizontally Scaled Function Execution

Blog post from Convex

Post Details
Company
Date Published
Author
Emma Forman Ling
Word Count
1,232
Company Posts That Month
9
Language
English
Hacker News Points
-
Post removed?
No
Summary

Convex has developed a horizontally scalable function execution system designed to streamline backend engineering by allowing developers to focus on writing core business logic rather than managing databases and cloud services. The platform enables developers to write transactional queries and mutations in JavaScript or TypeScript that read and write data atomically from a custom database using optimistic concurrency control. To address scalability challenges, Convex introduced Funrun, a new multi-tenant service that executes functions from any Convex deployment, overcoming the limitations of running functions within a single backend process using V8, which could handle only 128 concurrent threads. Funrun operates as a read-only gRPC service that efficiently manages data snapshots and function execution, minimizing latency through caching strategies and consistent request routing. This innovation allows Convex to handle significantly more concurrent functions without a performance trade-off, thereby supporting the scalability needs of modern full-stack AI projects.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 4 980 177 77 +39%
Real-time 1 2,334 631 194 -8%
Vector Search 1 2,613 257 91 +44%
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.