Bright ideas and techniques for building with Convex.
Featured articles
All articles
A full exploration of the definition of caching, when you should care about it, and the philosophy of owning it yourself.
the definition of cache invalidation: a cache is a non-authoritative representation of data maintained for performance
Compare push-based load balancing with pull-based work stealing as scalable strategies for distributing resource-intensive workloads, such as running LLM models for AI apps.
I want to share my mental model of databases: - Databases are just big spreadsheets - An index is just a view of the spreadsheet sorted by one or more columns - Binary search over a sorted list is faster than a linear scan (for large lists)
The full, unabridged story on how the Convex internals work.
Which to choose, the expressive power of code, or the robustness of built-in database features? With Convex, you can have both. By eliminating the boundary between the application and the database, Convex provides a uniform and powerful way to model your entire backend data flow and security using plain ol' code.
Featured videos
All videos
On the left, a distributed server icon, on the right a folder icon with a pirate's hook in it
Compare push-based load balancing with pull-based work stealing as scalable strategies for distributing resource-intensive workloads, such as running LLM models for AI apps.
Ian Macartney's Profile image
Ian Macartney
9 days ago
Retry your actions: use the power of convex scheduling
Learn how to automatically retry actions in Convex while also learning a little about scheduling, system tables, and function references.
James Cowling's Profile image
James Cowling
3 months ago
Icon of rate limiting and then an icon of a bucket, representing token bucketing
Implementing application rate limiting when you have fast access to a database with strong ACID guarantees. Token bucket and fixed window, with fairness, burst accommodation and fire-and-forget support.
Ian Macartney's Profile image
Ian Macartney
2 days ago
Implementing "work stealing" - a workload distribution strategy - using Convex's reactive database.
Ian Macartney's Profile image
Ian Macartney
9 days ago
Online migrations in Convex using mutations. Including a helper to track migration state!
Ian Macartney's Profile image
Ian Macartney
a month ago
This post will cover various aspects of operational maturity, and steps to take as your app grows up.
Ian Macartney's Profile image
Ian Macartney
a month ago
Learn about best practices for testing your full-stack apps - running on Convex or elsewhere!
Ian Macartney's Profile image
Ian Macartney
a month ago
By setting up dedicated tools, you can get actionable data to help understanding errors, performance, user behavior and allow you respond quickly when things change.
Ian Macartney's Profile image
Ian Macartney
2 months ago
Before you burden yourself with “best practices” for large-scale companies, focus on what will reduce your feedback cycles and help you ship early and often. Think about your use case, not your toolbox.
Ian Macartney's Profile image
Ian Macartney
2 months ago
A full exploration of the definition of caching, when you should care about it, and the philosophy of owning it yourself.
the definition of cache invalidation: a cache is a non-authoritative representation of data maintained for performance
Compare push-based load balancing with pull-based work stealing as scalable strategies for distributing resource-intensive workloads, such as running LLM models for AI apps.
On the left, a distributed server icon, on the right a folder icon with a pirate's hook in it
I want to share my mental model of databases: - Databases are just big spreadsheets - An index is just a view of the spreadsheet sorted by one or more columns - Binary search over a sorted list is faster than a linear scan (for large lists)
a database icon, an equals icon, followed by a spreadsheet icon
Check this video out for an in-depth 6 hour tutorial on building your own version of Fiverr using Convex.
freeCodeCamp's Profile image
freeCodeCamp
22 days ago
Cover image for the video
6:02:01
Our CTO James gave a talk at Developer Week 2024 about how backends have been letting down product developers by not providing clean abstractions that empower development without introducing unnecessary complexity. James outlines four major failures of the status quo: * Bad ideas in query models * Bad ideas in type systems * Bad ideas in caching and performance * Bad ideas in data sync He explains why these exist, how they are holding back developers, and discusses recent innovations at Convex that address these four areas.
James Cowling's Profile image
James Cowling
3 months ago
Cover image for the video
22:05
Web Dev Cody guides viewers in creating a comprehensive full stack file storage application on YouTube. The tutorial covers features like organizations, file upload, management, role-based authorization, authentication, cron deletes, favorites, trash functionality, and various UI components such as dialogs, modals, toasts, dropdowns, and more.
Web Dev Cody's Profile image
Web Dev Cody
3 months ago
Cover image for the video
4:37:21
Hi all 👋 In this 8 hour tutorial you will learn how to create an end-to-end fullstack notion clone, all with proper notion-style editor, cover images, nested documents, publishing documents to public, real-time database and more.
Code With Antonio's Profile image
Code With Antonio
7 months ago
Cover image for the video
7:53:12
Learn how to use Auth.js with your Next.js server and Convex backend to build a full-featured authentication system.
Michal Srb's Profile image
Michal Srb
16 days ago
Convex with Auth.js
A tutorial on how to create a clone of WhatsApp with OpenAI built with React.js, TypeScript, TailwindCSS Convex, Clerk and ZegoCloud.
As a Programmer's Profile image
As a Programmer
2 months ago
Cover image for the video
5:20:45
Read this article to learn how you can develop against our open-source backend using our packaged binaries.
Nipunn Koorapati's Profile image
Nipunn Koorapati
2 months ago
Developing with the convex open-source binaries
A tutorial on how to create a fully functional clone of Eraser.io with Convex using Next.js, React, TypeScript, and Tailwind CSS.
TubeGuruji's Profile image
TubeGuruji
3 months ago
Cover image for the video
4:58:29
A distributed server on the left and a folder icon with a pirate's hook in it
Implementing "work stealing" - a workload distribution strategy - using Convex's reactive database.
Ian Macartney's Profile image
Ian Macartney
9 days ago
AI-Powered Voice Note Taking
I recently built a full-stack app called notesGPT. It allows you to record a voice note, transcribes it, and extract action items and display them as action items. It’s fully open source and comes equipped with authentication, storage, vector search, action items, and is fully responsive on mobile for ease of use.
Hassan El Mghari's Profile image
Hassan El Mghari
3 months ago
Cover image for the video
20:45
Using Convex, 4 web devs built their own fullstack app based on this prompt: > Build a way to show real-time updates on the website for a Dungeons and Dragons-themed small business! See what they built, learn how they did it, and watch their reactions to each other's work in this installment of the "4 Web Devs, 1 App Idea" video series.
Jason Lengstorf's Profile image
Jason Lengstorf
4 months ago
This year vector databases have sprung up like mushrooms to enable applications to retrieve context based on semantic search. A large portion of these applications have used the retrieved context to augment the ability of large language models (LLMs) in a pattern known as RAG. On November 7th OpenAI released its Assistants API, enabling the implementation of AI chat interfaces with context retrieval without needing a separate message store or vector database. Does this new API make vector databases obsolete?
Michal Srb's Profile image
Michal Srb
6 months ago
Convex is a full-stack development platform and cloud database, including built-in vector search. In this third post in our [series](https://stack.convex.dev/ai-chat-using-openai-assistants-api), we’ll build an AI-powered chat interface using Convex, with our own message storage and context retrieval.
Michal Srb's Profile image
Michal Srb
6 months ago
In this second post in our series, we’ll build an AI-powered chat interface using LangChain and its new Convex integration.
Michal Srb's Profile image
Michal Srb
6 months ago
On November 7th OpenAI released its Assistants API, enabling chat bot with context retrieval implementations without needing a messages or vector database. In this post, we’ll cover how to leverage this API to build a fully functioning AI chat interface.
Michal Srb's Profile image
Michal Srb
6 months ago
It's never been a better time to make your own town of AIs.
Ian Macartney's Profile image
Ian Macartney
7 months ago
Stream GPT responses without brittle browser-based HTTP streaming. Multiplayer reactivity, persistence, reactivity via Convex. Using OpenAI’s Node SDK server-side, and Convex's useQuery hook client-side.
Ian Macartney's Profile image
Ian Macartney
7 months ago
Build in minutes, scale forever.

Convex is the backend application platform with everything you need to build your project. Cloud functions, a database, file storage, scheduling, search, and realtime updates fit together seamlessly.

Get started