You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sqlite-cloud/index.mdx
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,25 +5,24 @@ category: getting-started
5
5
status: publish
6
6
---
7
7
8
-
## Overview
9
8
**SQLite Cloud** is a managed, distributed relational database system built on top of the SQLite database engine. It is written in ANSI C and GO, and it works on most POSIX systems like Linux, *BSD, and Mac OS X (Windows is supported too). You can use SQLite Cloud from the most popular programming languages or its REST API.
10
9
11
-
###Multi-node Architecture
10
+
## Multi-node Architecture
12
11
Every SQLite Cloud project is powered by a multi-node cluster, where each node is running the official SQLite database engine. The cluster uses the [Raft](https://raft.github.io) consensus algorithm to keep your underlying database files in sync across nodes. All of this happens in the background, so you can interact with your database as if it were a single, local database.
13
12
14
13
SQLite Cloud supports both strong and eventual consistency, and comes with a multi-region load balancer to ensure optimal performance.
15
14
16
-
###The Official SQLite
15
+
## The Official SQLite
17
16
When you interact with a SQLite Cloud database, you are interacting with the official open source SQLite engine. This means SQLite Cloud supports all the same features as SQLite. It is fully ACID compliant, supports non-deterministic SQL statements, and is compatible with the SQLite extension ecosystem.\
18
17
19
18
It also means that you can have as many or as few databases as you want - each database is a file. This means SQLite Cloud can be used for both multi-tenant applications (single-user database), and as a multi-tenant database (one database, many users).
20
19
21
-
###CloudSync and Row-level Security (in alpha)
20
+
## CloudSync and Row-level Security (in alpha)
22
21
We are currently in the process of building a local-first SQLite extension called "CloudSync". Once installed, you can use any driver you'd like - simply execute a custom SQL function passing in your cloud connection string, and any changes to your local database are automatically synchronized with the cloud and across devices. Offline-first comes "out of the box", and CRDTs are used to ensure merges are conflict-free.
23
22
24
23
CloudSync will also bring row-level security to SQLite for the first time, giving you control over what data is synced to a given user's device.
25
24
26
-
###A Complete Toolbox
25
+
## A Complete Toolbox
27
26
SQLite Cloud also provides a comprehensive suite of tools for building realtime, local-first applications.
28
27
***[Webhooks](/docs/webhooks)**: Trigger edge functions or send change payloads via HTTP, Websockets, or on database events like INSERT, UPDATE, and DELETE.
29
28
***[Edge Functions](/docs/edge-functions)**: Run serverless functions on the same nodes that store your data for lightning-fast data access.
0 commit comments