Video: Supercharge Your Full-stack App with a Reactive Database

From Author:

If you suffer from: Writing SQL to express your product logic, trying to remember esoteric authorization DSLs, fighting your frontend cache, fighting your backend cache, slow backend deployments, inconsistent or stale UI state, lack of end-to-end type safety, lack of transactional guarantees, low database write throughput, database cold starts or unpredictable database read performance - then tune in to this talk and let me show you the light at the end of the tunnel.

This talk has been presented at React Summit US 2024, check out the latest edition of this React Conference.

Rate this content
Bookmark
Video summary
My name is Tom, the head of developer experience at Convex. Convex is a sync engine written in Rust that includes database, file storage, and full text search. It can be self-hosted and allows you to write Convex code alongside your other code. It runs in a V8 isolate on the same machine as your data, making it fast. Convex uses web sockets for interaction and offers optimizations like optimistic updates. It is widely used and can handle real-time data. Convex aims to remove development burdens and focuses on scalability. It offers smooth concurrency and reduces friction in development. Convex for Startups is a program that offers perks like free access and aims to attract interesting applications.

FAQ

Convex is a sync engine that includes a database, file storage, vector embeddings, full text search, and more. It is written in Rust and can be hosted on the Convex platform or self-hosted as it is open source.

Convex simplifies the development process by allowing developers to write code that gets automatically compiled and deployed. It manages caching and state synchronization via WebSockets, reducing the need for manual infrastructure management and decision-making.

Convex is built from the ground up with 200,000 lines of Rust and operates using V8 isolates for running code alongside data. It integrates seamlessly with React, TypeScript, and other languages through its clients.

Convex uses WebSockets to sync data in real-time. When underlying data changes, all clients subscribed to the data receive instant updates, ensuring seamless real-time data synchronization.

Convex provides three main functions to interact with: Actions (arbitrary code execution), Queries (data retrieval), and Mutations (data writing). These functions allow developers to efficiently manage and interact with their data.

Convex manages scalability through dynamic resource allocation and load balancing across multiple instances, allowing it to handle thousands of concurrent WebSocket connections efficiently.

Convex for Startups offers perks like free access to Convex, founder Q&As, and code walkthroughs. It is designed to support innovative and novel startup projects using Convex.

Yes, developers can enforce schema validation in Convex to ensure data integrity. Convex supports complex queries, indexes, and relationships between tables, providing flexibility and performance.

Yes, Convex is designed to be effortlessly scalable, handling large-scale applications and complex distributed systems challenges, though it's currently more suited for scaling up existing projects rather than onboarding large enterprises immediately.

Convex's database is custom-built in Rust, not reliant on traditional systems like Postgres or MySQL. It is designed specifically to handle distributed systems efficiently, leveraging the expertise of its founders who previously built Dropbox Sync.

Tom Redman
Tom Redman
28 min
19 Nov, 2024

Comments

Sign in or register to post your comment.
Video transcription
Sign in to access video transcription and chapter summary.