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-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,22 +10,22 @@ status: publish
10
10
11
11
---
12
12
13
-
## Multi-node Architecture
13
+
###Multi-node Architecture
14
14
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.
15
15
16
16
SQLite Cloud supports both strong and eventual consistency, and comes with a multi-region load balancer to ensure optimal performance.
17
17
18
-
## The Official SQLite
18
+
###The Official SQLite
19
19
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.\
20
20
21
21
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).
22
22
23
-
## CloudSync and Row-level Security (in alpha)
23
+
###CloudSync and Row-level Security (in alpha)
24
24
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.
25
25
26
26
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.
27
27
28
-
## A Complete Toolbox
28
+
###A Complete Toolbox
29
29
SQLite Cloud also provides a comprehensive suite of tools for building realtime, local-first applications.
30
30
***[Webhooks](/docs/webhooks)**: Trigger edge functions or send change payloads via HTTP, Websockets, or on database events like INSERT, UPDATE, and DELETE.
31
31
***[Edge Functions](/docs/edge-functions)**: Run serverless functions on the same nodes that store your data for lightning-fast data access.
0 commit comments