# How Convex Works

DevFeed: [How Convex Works](<https://devfeed.tech/articles/how-convex-works-81372.md>)

Original publisher: [Read original article](<https://stack.convex.dev/how-convex-works>)

Author: Stack

Published: 2024-04-02T18:00:00Z

Content type: article

Language: en

Sources: [Stack](<https://devfeed.tech/sources/stack.md>)

Topics: [Transactions](<https://devfeed.tech/topics/transactions.md>), [strict-serializability](<https://devfeed.tech/topics/strict-serializability.md>), [Realtime Database](<https://devfeed.tech/topics/realtime-database.md>), [developer-productivity](<https://devfeed.tech/topics/developer-productivity.md>)

Tags: [convex](<https://devfeed.tech/tags/convex.md>), [database](<https://devfeed.tech/tags/database.md>), [deep-dive](<https://devfeed.tech/tags/deep-dive.md>), [perspectives](<https://devfeed.tech/tags/perspectives.md>), [reactive](<https://devfeed.tech/tags/reactive.md>)

## AI overview

The article explains Convex's backend architecture, including its transaction log, indexes, serializable transactions, optimistic concurrency control, and realtime query subscriptions. It describes how the sync worker, function runner, and database coordinate client requests, and how sandboxing and deterministic execution support retries and subscriptions.

## Source excerpt

A deep dive on how Convex's reactive database works internally.